• 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/CTInfoCarga.java
1
package com.fincatto.documentofiscal.cte200.classes.cte;
2

3
import com.fincatto.documentofiscal.DFBase;
4
import org.simpleframework.xml.Element;
5
import org.simpleframework.xml.ElementList;
6

7
import java.util.List;
8

UNCOV
9
public class CTInfoCarga extends DFBase {
×
10
    private static final long serialVersionUID = -3650773992643903547L;
11
    
12
    @Element(name = "vCarga")
13
    private String valorTotalCarga;
14

15
    @Element(name = "proPred")
16
    private String descricaoProdutoPredominante;
17

18
    @Element(name = "xOutCat", required = false)
19
    private String descricaoOutrasCaracteristicas;
20

21
    @ElementList(name = "infQ", inline = true)
22
    private List<CTInfoCargaQuantidade> informacoesQuantidade;
23

24
    public String getValorTotalCarga() {
UNCOV
25
        return this.valorTotalCarga;
×
26
    }
27

28
    public void setValorTotalCarga(final String valorTotalCarga) {
UNCOV
29
        this.valorTotalCarga = valorTotalCarga;
×
30
    }
×
31

32
    public String getDescricaoProdutoPredominante() {
UNCOV
33
        return this.descricaoProdutoPredominante;
×
34
    }
35

36
    public void setDescricaoProdutoPredominante(final String descricaoProdutoPredominante) {
UNCOV
37
        this.descricaoProdutoPredominante = descricaoProdutoPredominante;
×
38
    }
×
39

40
    public String getDescricaoOutrasCaracteristicas() {
UNCOV
41
        return this.descricaoOutrasCaracteristicas;
×
42
    }
43

44
    public void setDescricaoOutrasCaracteristicas(final String descricaoOutrasCaracteristicas) {
UNCOV
45
        this.descricaoOutrasCaracteristicas = descricaoOutrasCaracteristicas;
×
46
    }
×
47

48
    public List<CTInfoCargaQuantidade> getInformacoesQuantidade() {
UNCOV
49
        return this.informacoesQuantidade;
×
50
    }
51

52
    public void setInformacoesQuantidade(final List<CTInfoCargaQuantidade> informacoesQuantidade) {
UNCOV
53
        this.informacoesQuantidade = informacoesQuantidade;
×
54
    }
×
55

56
}
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