• 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

92.86
/src/main/java/com/fincatto/documentofiscal/DFAmbiente.java
1
package com.fincatto.documentofiscal;
2

3
public enum DFAmbiente {
1✔
4

5
    PRODUCAO("1", "Produ\u00e7\u00e3o"),
1✔
6
    HOMOLOGACAO("2", "Homologa\u00e7\u00e3o");
1✔
7

8
    private final String codigo;
9
    private final String descricao;
10

11
    DFAmbiente(final String codigo, final String descricao) {
1✔
12
        this.codigo = codigo;
1✔
13
        this.descricao = descricao;
1✔
14
    }
1✔
15

16
    public String getCodigo() {
17
        return this.codigo;
1✔
18
    }
19

20
    public String getDescricao() {
UNCOV
21
        return this.descricao;
×
22
    }
23

24
    public static DFAmbiente valueOfCodigo(final String codigo) {
25
        for (final DFAmbiente ambiente : DFAmbiente.values()) {
1✔
26
            if (ambiente.getCodigo().equalsIgnoreCase(codigo)) {
1✔
27
                return ambiente;
1✔
28
            }
29
        }
30
        return null;
1✔
31
    }
32

33
    @Override
34
    public String toString() {
35
        return this.codigo + " - " + this.descricao;
1✔
36
    }
37
}
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