| EMMA Coverage Report (generated Fri Feb 13 16:33:40 BRST 2009) |
|---|
| [all classes][br.org.agilcoop.cursos.testes.unidade] |
| name | class, % | method, % | block, % | line, % |
|---|---|---|---|---|
| DateHelper.java | 0% (0/1) | 0% (0/2) | 0% (0/14) | 0% (0/3) |
| name | class, % | method, % | block, % | line, % |
|---|---|---|---|---|
| class DateHelper | 0% (0/1) | 0% (0/2) | 0% (0/14) | 0% (0/3) |
| DateHelper (): void | 0% (0/1) | 0% (0/3) | 0% (0/1) | |
| getDataFormatadaParaInscricao (): String | 0% (0/1) | 0% (0/11) | 0% (0/2) |
| 1 | package br.org.agilcoop.cursos.testes.unidade; |
| 2 | |
| 3 | import java.text.SimpleDateFormat; |
| 4 | import java.util.Date; |
| 5 | |
| 6 | public class DateHelper { |
| 7 | |
| 8 | public static String getDataFormatadaParaInscricao() { |
| 9 | Date data = new Date(); |
| 10 | return new SimpleDateFormat("dd/MM/yyyy").format(data); |
| 11 | } |
| 12 | |
| 13 | } |
| [all classes][br.org.agilcoop.cursos.testes.unidade] |
| EMMA 2.0.5312 (C) Vladimir Roubtsov |