• 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

42.11
/src/main/java/com/fincatto/documentofiscal/nfe400/classes/nota/NFNotaInfoTotal.java
1
package com.fincatto.documentofiscal.nfe400.classes.nota;
2

3
import com.fincatto.documentofiscal.DFBase;
4
import com.fincatto.documentofiscal.validadores.DFBigDecimalValidador;
5
import java.math.BigDecimal;
6
import org.simpleframework.xml.Element;
7

8
/**
9
 * W01
10
 */
11
public class NFNotaInfoTotal extends DFBase {
1✔
12
    private static final long serialVersionUID = 4579495471129802055L;
13
    
14
    @Element(name = "ICMSTot")
15
    private NFNotaInfoICMSTotal icmsTotal;
16

17
    @Element(name = "ISSQNtot", required = false)
18
    private NFNotaInfoISSQNTotal issqnTotal;
19

20
    @Element(name = "retTrib", required = false)
21
    private NFNotaInfoRetencoesTributos retencoesTributos;
22
    
23
    @Element(name = "ISTot", required = false)
24
    private NFNotaInfoISTot isTot; // W31
25
    
26
    @Element(name = "IBSCBSTot", required = false)
27
    private NFNotaInfoIBSCBSTot ibscbsTot; // W34
28
    
29
    @Element(name = "vNFTot", required = false)
30
    private String vNFTot; // W60
31

32
    public void setIcmsTotal(final NFNotaInfoICMSTotal icmsTotal) {
33
        this.icmsTotal = icmsTotal;
1✔
34
    }
1✔
35

36
    public void setIssqnTotal(final NFNotaInfoISSQNTotal issqnTotal) {
37
        this.issqnTotal = issqnTotal;
1✔
38
    }
1✔
39

40
    public void setRetencoesTributos(final NFNotaInfoRetencoesTributos retencoesTributos) {
41
        this.retencoesTributos = retencoesTributos;
1✔
42
    }
1✔
43

44
    public NFNotaInfoICMSTotal getIcmsTotal() {
45
        return this.icmsTotal;
1✔
46
    }
47

48
    public NFNotaInfoISSQNTotal getIssqnTotal() {
UNCOV
49
        return this.issqnTotal;
×
50
    }
51

52
    public NFNotaInfoRetencoesTributos getRetencoesTributos() {
UNCOV
53
        return this.retencoesTributos;
×
54
    }
55

56
    public NFNotaInfoISTot getIsTot() {
UNCOV
57
        return isTot;
×
58
    }
59

60
    public void setIsTot(NFNotaInfoISTot isTot) {
UNCOV
61
        this.isTot = isTot;
×
UNCOV
62
    }
×
63

64
    public NFNotaInfoIBSCBSTot getIbscbsTot() {
UNCOV
65
        return ibscbsTot;
×
66
    }
67

68
    public void setIbscbsTot(NFNotaInfoIBSCBSTot ibscbsTot) {
UNCOV
69
        this.ibscbsTot = ibscbsTot;
×
UNCOV
70
    }
×
71

72
    public String getVNFTot() {
UNCOV
73
        return vNFTot;
×
74
    }
75

76
    public void setVNFTot(BigDecimal vNFTot) {
UNCOV
77
        this.vNFTot = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vNFTot, "Valor total da NF-e com IBS / CBS / IS");
×
UNCOV
78
    }
×
79
    
80
}
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