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

wmixvideo / nfe / #6669

09 May 2016 12:13PM UTC coverage: 79.328% (-0.04%) from 79.364%
#6669

push

travis-ci

jefperito
Ajustado javadoc para HTML Strict

4651 of 5863 relevant lines covered (79.33%)

50.85 hits per line

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

95.0
/src/main/java/com/fincatto/nfe310/classes/NFNotaInfoImpostoTributacaoICMS.java
1
package com.fincatto.nfe310.classes;
2

3
public enum NFNotaInfoImpostoTributacaoICMS {
3✔
4
    TRIBUTACAO_INTEGRALMENTE("00"),
1✔
5
    TRIBUTADA_COM_COBRANCA_ICMS_POR_SUBSTITUICAO_TRIBUTARIA("10"),
1✔
6
    COM_REDUCAO_BASE_CALCULO("20"),
1✔
7
    ISENTA_OU_NAO_TRIBUTADA_COM_COBRANCA_ICMS_POR_SUBSTITUICAO_TRIBUTARIA("30"),
1✔
8
    ISENTA("40"),
1✔
9
    NAO_TRIBUTADO("41"),
1✔
10
    SUSPENSAO("50"),
1✔
11
    DIFERIMENTO("51"),
1✔
12
    ICMS_COBRADO_ANTERIORMENTE_POR_SUBSTITUICAO_TRIBUTARIA("60"),
1✔
13
    COM_REDUCAO_BASE_CALCULO_COBRANCA_ICMS_POR_SUBSTITUICAO_TRIBUTARIA_ICMS_SUBSTITUICAO_TRIBUTARIA("70"),
1✔
14
    OUTROS("90");
1✔
15

16
    String codigo;
17

18
    private NFNotaInfoImpostoTributacaoICMS(final String codigo) {
11✔
19
        this.codigo = codigo;
11✔
20
    }
11✔
21

22
    public String getCodigo() {
23
        return this.codigo;
136✔
24
    }
25

26
    public static NFNotaInfoImpostoTributacaoICMS valueOfCodigo(final String codigoICMS) {
27
        for (final NFNotaInfoImpostoTributacaoICMS icms : NFNotaInfoImpostoTributacaoICMS.values()) {
2✔
28
            if (icms.getCodigo().equals(codigoICMS)) {
2✔
29
                return icms;
2✔
30
            }
31
        }
32
        return null;
×
33
    }
34
}
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