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

wmixvideo / nfe / #6280

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

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

78.95
/src/main/java/com/fincatto/nfe310/classes/nota/NFFormaPagamentoMoeda.java
1
package com.fincatto.nfe310.classes.nota;
2

3
public enum NFFormaPagamentoMoeda {
1✔
4

5
    DINHEIRO("01"),
1✔
6
    CHEQUE("02"),
1✔
7
    CARTAO_CREDITO("03"),
1✔
8
    CARTAO_DEBITO("04"),
1✔
9
    CARTAO_LOJA("05"),
1✔
10
    VALE_ALIMENTACAO("10"),
1✔
11
    VALE_REFEICAO("11"),
1✔
12
    VALE_PRESENTE("12"),
1✔
13
    VALE_COMBUSTIVEL("13"),
1✔
14
    OUTRO("99");
1✔
15

16
    private String codigo;
17

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

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

26
    public static NFFormaPagamentoMoeda valueOfCodigo(final String codigo) {
27
        for (final NFFormaPagamentoMoeda formaPagamentoMoeda : NFFormaPagamentoMoeda.values()) {
×
28
            if (formaPagamentoMoeda.getCodigo().equals(codigo)) {
×
29
                return formaPagamentoMoeda;
×
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