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

wmixvideo / nfe / #7133

15 Jan 2016 07:08PM UTC coverage: 80.525% (-0.4%) from 80.934%
#7133

push

travis-ci

jefperito
Corrigido testes

Corrigido testes (eclipse cacheou os xsd e houve um problema de testes)

4445 of 5520 relevant lines covered (80.53%)

50.77 hits per line

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

94.74
/src/main/java/com/fincatto/nfe310/classes/nota/NFViaTransporteInternacional.java
1
package com.fincatto.nfe310.classes.nota;
2

3
public enum NFViaTransporteInternacional {
5✔
4

5
    MARITIMA("1"),
1✔
6
    FLUVIAL("2"),
1✔
7
    LACUSTRE("3"),
1✔
8
    AEREA("4"),
1✔
9
    POSTAL("5"),
1✔
10
    FERROVIARIA("6"),
1✔
11
    RODOVIARIA("7"),
1✔
12
    CONDUTO_REDE_TRANSMISSAO("8"),
1✔
13
    MEIOS_PROPRIOS("9"),
1✔
14
    ENTRADA_SAIDA("10");
1✔
15

16
    private String codigo;
17

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

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

26
    public static NFViaTransporteInternacional valueOfCodigo(final String codigo) {
27
        for (final NFViaTransporteInternacional via : NFViaTransporteInternacional.values()) {
16✔
28
            if (via.getCodigo().equals(codigo)) {
16✔
29
                return via;
4✔
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