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

wmixvideo / nfe / #6985

02 Jun 2016 11:49PM UTC coverage: 79.364% (+3.7%) from 75.706%
#6985

push

travis-ci

fincatto
Atualizado xsd de validacao de envio de lote, que valida as notas com assinatura.
Atualizado para versão 2.0.0-SNAPSHOT, pois o codigo quebrou a compatibilidade.

0 of 1 new or added line in 1 file covered. (0.0%)

349 existing lines in 68 files now uncovered.

4742 of 5975 relevant lines covered (79.36%)

50.29 hits per line

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

88.24
/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", "Microempresa municipal"),
1✔
6
    ESTIMATIVA("2", "Estimativa"),
1✔
7
    SOCIEDADE_PROFISSIONAIS("3", "Sociedade profissionais"),
1✔
8
    COOPERATIVA("4", "Cooperativa"),
1✔
9
    MICROEMPRESARIO_INDIVIDUAL_MEI("5", "Microempres\u00e1rio individual MEI"),
1✔
10
    MICROEMPRESARIO_E_EMPRESA_PEQUENOPORTE("6", "Microempres\u00e1rio e empresa de pequeno porte");
1✔
11

12
    private final String codigo;
13
    private final String descricao;
14

15
    NFNotaInfoRegimeEspecialTributacao(final String codigo, final String descricao) {
6✔
16
        this.codigo = codigo;
6✔
17
        this.descricao = descricao;
6✔
18
    }
6✔
19

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

24
    public static NFNotaInfoRegimeEspecialTributacao valueOfCodigo(final String codigo) {
25
        for (final NFNotaInfoRegimeEspecialTributacao tributacao : NFNotaInfoRegimeEspecialTributacao.values()) {
12✔
26
            if (tributacao.getCodigo().equals(codigo)) {
12✔
27
                return tributacao;
4✔
28
            }
29
        }
UNCOV
30
        return null;
×
31
    }
32

33
    @Override
34
    public String toString() {
UNCOV
35
        return codigo + " - " + descricao;
×
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