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

wmixvideo / nfe / #7148

04 Dec 2025 02:00PM UTC coverage: 52.281% (+25.3%) from 26.996%
#7148

push

web-flow
Ajuste conforme CTe_Nota_Tecnica_2025_001_RTC_v1.10 (#1126)

* Merge from master

* Revert "Merge from master"

This reverts commit e2ed141c3.

* Revert "Revert "Merge from master""

This reverts commit 05781623b.

* Adição do campo indDoacao e grupo de informações de estorno de crédito. Exclusão do grupo de informações do crédito presumido por não se aplicar aos cClassTrib associados ao CTe. Conforme CTe_Nota_Tecnica_2025_001_RTC_v1.10.

103 of 276 new or added lines in 17 files covered. (37.32%)

2968 existing lines in 404 files now uncovered.

14761 of 28234 relevant lines covered (52.28%)

0.52 hits per line

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

60.0
/src/main/java/com/fincatto/documentofiscal/nfe310/classes/evento/NFEvento.java
1
package com.fincatto.documentofiscal.nfe310.classes.evento;
2

3
import com.fincatto.documentofiscal.DFBase;
4
import com.fincatto.documentofiscal.nfe310.classes.nota.assinatura.NFSignature;
5
import com.fincatto.documentofiscal.validadores.DFBigDecimalValidador;
6
import org.simpleframework.xml.Attribute;
7
import org.simpleframework.xml.Element;
8

9
import java.math.BigDecimal;
10

11
public class NFEvento extends DFBase {
1✔
12
    private static final long serialVersionUID = 8494204773888020693L;
13
    
14
    @Attribute(name = "versao")
15
    private String versao;
16
    
17
    @Element(name = "infEvento")
18
    private NFInfoEvento infoEvento;
19

20
    @Element(name = "Signature", required = false)
21
    private NFSignature assinatura;
22

23
    public void setVersao(final BigDecimal versao) {
24
        this.versao = DFBigDecimalValidador.tamanho5Com2CasasDecimais(versao, "Versao");
1✔
25
    }
1✔
26

27
    public NFInfoEvento getInfoEvento() {
UNCOV
28
        return this.infoEvento;
×
29
    }
30

31
    public String getVersao() {
32
        return this.versao;
1✔
33
    }
34

35
    public void setInfoEvento(final NFInfoEvento infoEvento) {
36
        this.infoEvento = infoEvento;
1✔
37
    }
1✔
38

39
    public void setAssinatura(final NFSignature assinatura) {
UNCOV
40
        this.assinatura = assinatura;
×
41
    }
×
42

43
    public NFSignature getAssinatura() {
UNCOV
44
        return this.assinatura;
×
45
    }
46
}
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

© 2025 Coveralls, Inc