• 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

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

3
public enum NFNotaInfoImpostoTributacaoISSQN {
3✔
4

5
    NORMAL("N", "Normal"),
1✔
6
    RETIDA("R", "Retida"),
1✔
7
    SUBSTITUTA("S", "Substituta"),
1✔
8
    ISENTA("I", "Isenta");
1✔
9

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

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

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

22
    public static NFNotaInfoImpostoTributacaoISSQN valueOfCodigo(final String codigo) {
23
        for (final NFNotaInfoImpostoTributacaoISSQN impostoTributacaoISSQN : NFNotaInfoImpostoTributacaoISSQN.values()) {
8✔
24
            if (impostoTributacaoISSQN.getCodigo().equals(codigo)) {
7✔
25
                return impostoTributacaoISSQN;
1✔
26
            }
27
        }
28
        return null;
1✔
29
    }
30

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