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

wmixvideo / nfe / #6290

19 Apr 2016 08:37PM UTC coverage: 80.934% (+2.4%) from 78.549%
#6290

push

travis-ci

fincatto
Corrigido testes.

4470 of 5523 relevant lines covered (80.93%)

52.06 hits per line

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

93.33
/src/main/java/com/fincatto/nfe310/classes/nota/NFNotaInfoRegimeEspecialTributacao.java
1
package com.fincatto.nfe310.classes.nota;
2

3
public enum NFNotaInfoRegimeEspecialTributacao {
5✔
4

5
    MICROEMPRESA_MUNICIPAL("1"),
1✔
6
    ESTIMATIVA("2"),
1✔
7
    SOCIEDADE_PROFISSIONAIS("3"),
1✔
8
    COOPERATIVA("4"),
1✔
9
    MICROEMPRESARIO_INDIVIDUAL_MEI("5"),
1✔
10
    MICROEMPRESARIO_E_EMPRESA_PEQUENOPORTE("6");
1✔
11

12
    private String codigo;
13

14
    private NFNotaInfoRegimeEspecialTributacao(final String codigo) {
6✔
15
        this.codigo = codigo;
6✔
16
    }
6✔
17

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

22
    public static NFNotaInfoRegimeEspecialTributacao valueOfCodigo(final String codigo) {
23
        for (final NFNotaInfoRegimeEspecialTributacao tributacao : NFNotaInfoRegimeEspecialTributacao.values()) {
12✔
24
            if (tributacao.getCodigo().equals(codigo)) {
12✔
25
                return tributacao;
4✔
26
            }
27
        }
28
        return null;
×
29
    }
30
}
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