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

wmixvideo / nfe / #6539

20 Nov 2015 08:23PM UTC coverage: 79.804% (+0.4%) from 79.364%
#6539

push

travis-ci

fincatto
Corrigido teste atrelado a classe de info de partilha de icms

4394 of 5506 relevant lines covered (79.8%)

50.76 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/NFIndicadorPresencaComprador.java
1
package com.fincatto.nfe310.classes.nota;
2

3
public enum NFIndicadorPresencaComprador {
5✔
4
    NAO_APLICA("0"),
1✔
5
    OPERACAO_PRESENCIAL("1"),
1✔
6
    OPERACAO_NAO_PRESENCIAL_INTERNET("2"),
1✔
7
    OPERACAO_NAO_PRESENCIAL_TELEATENDIMENTO("3"),
1✔
8
    NFCE_EM_OPERACAO_COM_ENTREGA_DOMICILIO("4"),
1✔
9
    OPERACAO_NAO_PRESENCIAL_OUTROS("9");
1✔
10

11
    private String codigo;
12

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

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

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