• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wmixvideo / nfe / #7947

10 Mar 2026 08:42PM UTC coverage: 50.346% (+23.4%) from 26.996%
#7947

push

web-flow
Mantendo compatibilidade com java 1.8 e tratamento erro Connection or outbound has closed (#1151)

* Removendo ; duplicado e warn serial version

* Mantendo compatibilidade com java 1.8

* Removendo ; duplicado e warn serial version

* Mantendo compatibilidade com java 1.8

* Remove unused import statement

Removed unused import for LocalDate.

* Remove deprecated CST_210 and CST_510 entries

* Remove obsolete CST code assertions from tests

Removed assertions for CST codes 210001, 210002, and 210003 from tests.

* Enhance fromOM method to handle operation response

Resolvendo expection org.apache.axis2.databinding.ADBException: Unexpected subelement {http://www.portalfiscal.inf.br/nfe/wsdl/NFeAutorizacao4}nfeResultMsg

* Enhance fromOM method for better XML parsing

Resolvendo exception org.apache.axis2.databinding.ADBException: Unexpected subelement

Refactor fromOM method to handle child elements for NfeDadosMsg and NfeResultMsg parsing.

* Refactor fromOM method to handle child elements

Resolvendo exception org.apache.axis2.databinding.ADBException: Unexpected subelement

* Mantendo compatibilidade versão java 1.8

* Removendo CST obsoletos

* Removendo tratamento erro ADBException

* Removendo tratamento erro ADBException

* Removendo tratamento erro ADBException

* Desabilitando o uso de transferências chunked nas requisições HTTP
(NFeAutorizacao4Stub ja tem) Resolvendo erro intermitente manifesto
destinatário HTTPSenderImpl:215 - Unable to sendViaPost to
url[https://www.nfe.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx]
org.apache.axis2.AxisFault: Connection or outbound has closed

---------

Co-authored-by: tecnosofti <tecnosofti@amdryzen>
Co-authored-by: Diego Fincatto <58352+fincatto@users.noreply.github.com>

1 of 1 new or added line in 1 file covered. (100.0%)

2969 existing lines in 403 files now uncovered.

14775 of 29347 relevant lines covered (50.35%)

0.5 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/com/fincatto/documentofiscal/cte200/classes/cte/CTProtocoloInfo.java
1
package com.fincatto.documentofiscal.cte200.classes.cte;
2

3
import com.fincatto.documentofiscal.DFAmbiente;
4
import com.fincatto.documentofiscal.DFBase;
5
import org.simpleframework.xml.Attribute;
6
import org.simpleframework.xml.Element;
7

UNCOV
8
public class CTProtocoloInfo extends DFBase {
×
9
    private static final long serialVersionUID = -5981619863877878118L;
10

11
    @Attribute(name = "Id", required = false)
12
    private String identificador;
13
    
14
    @Element(name = "tpAmb")
15
    private DFAmbiente ambiente;
16
    
17
    @Element(name = "verAplic")
18
    private String versaoAplicacao;
19
    
20
    @Element(name = "chCTe")
21
    private String chave;
22
    
23
    @Element(name = "dhRecbto")
24
    private String dataRecebimento;
25

26
    @Element(name = "nProt", required = false)
27
    private String numeroProtocolo;
28

29
    @Element(name = "digVal", required = false)
30
    private String validador;
31
    
32
    @Element(name = "cStat")
33
    private String status;
34
    
35
    @Element(name = "xMotivo")
36
    private String motivo;
37

38
    public String getIdentificador() {
UNCOV
39
        return this.identificador;
×
40
    }
41

42
    public void setIdentificador(final String identificador) {
UNCOV
43
        this.identificador = identificador;
×
44
    }
×
45

46
    public DFAmbiente getAmbiente() {
UNCOV
47
        return this.ambiente;
×
48
    }
49

50
    public void setAmbiente(final DFAmbiente ambiente) {
UNCOV
51
        this.ambiente = ambiente;
×
52
    }
×
53

54
    public String getVersaoAplicacao() {
UNCOV
55
        return this.versaoAplicacao;
×
56
    }
57

58
    public void setVersaoAplicacao(final String versaoAplicacao) {
UNCOV
59
        this.versaoAplicacao = versaoAplicacao;
×
60
    }
×
61

62
    public String getChave() {
UNCOV
63
        return this.chave;
×
64
    }
65

66
    public void setChave(final String chave) {
UNCOV
67
        this.chave = chave;
×
68
    }
×
69

70
    public String getDataRecebimento() {
UNCOV
71
        return this.dataRecebimento;
×
72
    }
73

74
    public void setDataRecebimento(final String dataRecebimento) {
UNCOV
75
        this.dataRecebimento = dataRecebimento;
×
76
    }
×
77

78
    public String getNumeroProtocolo() {
UNCOV
79
        return this.numeroProtocolo;
×
80
    }
81

82
    public void setNumeroProtocolo(final String numeroProtocolo) {
UNCOV
83
        this.numeroProtocolo = numeroProtocolo;
×
84
    }
×
85

86
    public String getValidador() {
UNCOV
87
        return this.validador;
×
88
    }
89

90
    public void setValidador(final String validador) {
UNCOV
91
        this.validador = validador;
×
92
    }
×
93

94
    public String getStatus() {
UNCOV
95
        return this.status;
×
96
    }
97

98
    public void setStatus(final String status) {
UNCOV
99
        this.status = status;
×
100
    }
×
101

102
    public String getMotivo() {
UNCOV
103
        return this.motivo;
×
104
    }
105

106
    public void setMotivo(final String motivo) {
UNCOV
107
        this.motivo = motivo;
×
108
    }
×
109

110
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc