• 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

96.0
/src/main/java/com/fincatto/nfe310/classes/NFNotaInfoVeiculoCor.java
1
package com.fincatto.nfe310.classes;
2

3
public enum NFNotaInfoVeiculoCor {
3✔
4

5
    AMARELA("01"),
1✔
6
    AZUL("02"),
1✔
7
    BEGE("03"),
1✔
8
    BRANCA("04"),
1✔
9
    CINZA("05"),
1✔
10
    DOURADA("06"),
1✔
11
    GRENA("07"),
1✔
12
    LARANJA("08"),
1✔
13
    MARROM("09"),
1✔
14
    PRATA("10"),
1✔
15
    PRETA("11"),
1✔
16
    ROSA("12"),
1✔
17
    ROXA("13"),
1✔
18
    VERDE("14"),
1✔
19
    VERMELHA("15"),
1✔
20
    FANTASIA("16");
1✔
21

22
    private String codigo;
23

24
    private NFNotaInfoVeiculoCor(final String codigo) {
16✔
25
        this.codigo = codigo;
16✔
26
    }
16✔
27

28
    public String getCodigo() {
29
        return this.codigo;
54✔
30
    }
31

32
    public static NFNotaInfoVeiculoCor valueOfCodigo(final String codigo) {
33
        for (final NFNotaInfoVeiculoCor veiculoCor : NFNotaInfoVeiculoCor.values()) {
32✔
34
            if (veiculoCor.getCodigo().equals(codigo)) {
32✔
35
                return veiculoCor;
2✔
36
            }
37
        }
38
        return null;
×
39
    }
40
}
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