• 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

93.75
/src/main/java/com/fincatto/documentofiscal/nfe400/classes/NFRegimeTributario.java
1
package com.fincatto.documentofiscal.nfe400.classes;
2

3
public enum NFRegimeTributario {
1✔
4

5
    SIMPLES_NACIONAL("1", "Simples nacional"),
1✔
6
    SIMPLES_NACIONAL_EXCESSO_RECEITA("2", "Simples nacional com excesso de sublimite da receita bruta"),
1✔
7
    NORMAL("3", "Regime normal"),
1✔
8
    MEI("4", "Simples Nacional - Microempreendedor Individual - MEI");
1✔
9

10
    private final String codigo;
11
    private final String descricao;
12

13
    NFRegimeTributario(final String codigo, final String descricao) {
1✔
14
        this.codigo = codigo;
1✔
15
        this.descricao = descricao;
1✔
16
    }
1✔
17

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

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

26
    public static NFRegimeTributario valueOfCodigo(final String codigo) {
27
        for (final NFRegimeTributario regimeTributario : NFRegimeTributario.values()) {
1✔
28
            if (regimeTributario.getCodigo().equals(codigo)) {
1✔
29
                return regimeTributario;
1✔
30
            }
31
        }
32
        return null;
1✔
33
    }
34

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