• 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

69.23
/src/main/java/com/fincatto/documentofiscal/nfe400/classes/nota/NFNotaInfoItemImpostoICMSSN101.java
1
package com.fincatto.documentofiscal.nfe400.classes.nota;
2

3
import com.fincatto.documentofiscal.DFBase;
4
import com.fincatto.documentofiscal.nfe400.classes.NFNotaSituacaoOperacionalSimplesNacional;
5
import com.fincatto.documentofiscal.nfe400.classes.NFOrigem;
6
import com.fincatto.documentofiscal.validadores.DFBigDecimalValidador;
7
import org.simpleframework.xml.Element;
8

9
import java.math.BigDecimal;
10

11
public class NFNotaInfoItemImpostoICMSSN101 extends DFBase {
1✔
12
    private static final long serialVersionUID = -3123413337026509697L;
13
    
14
    @Element(name = "orig")
15
    private NFOrigem origem;
16
    
17
    @Element(name = "CSOSN")
18
    private NFNotaSituacaoOperacionalSimplesNacional situacaoOperacaoSN;
19
    
20
    @Element(name = "pCredSN")
21
    private String percentualAliquotaAplicavelCalculoCreditoSN;
22
    
23
    @Element(name = "vCredICMSSN")
24
    private String valorCreditoICMSSN;
25

26
    public void setOrigem(final NFOrigem origem) {
27
        this.origem = origem;
1✔
28
    }
1✔
29

30
    public void setSituacaoOperacaoSN(final NFNotaSituacaoOperacionalSimplesNacional situacaoOperacaoSN) {
31
        this.situacaoOperacaoSN = situacaoOperacaoSN;
1✔
32
    }
1✔
33

34
    public void setPercentualAliquotaAplicavelCalculoCreditoSN(final BigDecimal percentualAliquotaAplicavelCalculoCreditoSN) {
35
        this.percentualAliquotaAplicavelCalculoCreditoSN = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualAliquotaAplicavelCalculoCreditoSN, "Percentual Aliquota Aplicavel Calculo Credito SN ICMSSN101");
1✔
36
    }
1✔
37

38
    public void setValorCreditoICMSSN(final BigDecimal valorCreditoICMSSN) {
39
        this.valorCreditoICMSSN = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorCreditoICMSSN, "Valor Credito ICMSSN101");
1✔
40
    }
1✔
41

42
    public NFOrigem getOrigem() {
UNCOV
43
        return this.origem;
×
44
    }
45

46
    public NFNotaSituacaoOperacionalSimplesNacional getSituacaoOperacaoSN() {
UNCOV
47
        return this.situacaoOperacaoSN;
×
48
    }
49

50
    public String getPercentualAliquotaAplicavelCalculoCreditoSN() {
UNCOV
51
        return this.percentualAliquotaAplicavelCalculoCreditoSN;
×
52
    }
53

54
    public String getValorCreditoICMSSN() {
UNCOV
55
        return this.valorCreditoICMSSN;
×
56
    }
57
}
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