| EMMA Coverage Report (generated Fri Feb 13 16:33:40 BRST 2009) |
|---|
| [all classes][br.org.agilcoop.cursos.testes.unidade.timer.eventos] |
| name | class, % | method, % | block, % | line, % |
|---|---|---|---|---|
| UbuntuNotifyEvent.java | 0% (0/1) | 0% (0/3) | 0% (0/21) | 0% (0/5) |
| name | class, % | method, % | block, % | line, % |
|---|---|---|---|---|
| class UbuntuNotifyEvent | 0% (0/1) | 0% (0/3) | 0% (0/21) | 0% (0/5) |
| UbuntuNotifyEvent (): void | 0% (0/1) | 0% (0/3) | 0% (0/1) | |
| executa (Timer): void | 0% (0/1) | 0% (0/9) | 0% (0/3) | |
| getCommand (Timer): String | 0% (0/1) | 0% (0/9) | 0% (0/1) |
| 1 | package br.org.agilcoop.cursos.testes.unidade.timer.eventos; |
| 2 | |
| 3 | import br.org.agilcoop.cursos.testes.unidade.timer.Timer; |
| 4 | |
| 5 | public class UbuntuNotifyEvent extends SOCommandLineEvent { |
| 6 | |
| 7 | @Override |
| 8 | public void executa(Timer timer) { |
| 9 | System.out.println(getCommand(timer)); |
| 10 | super.executa(timer); |
| 11 | } |
| 12 | |
| 13 | @Override |
| 14 | public String getCommand(Timer timer) { |
| 15 | return "notify-send Finished! " + timer.totalFormatted() + ""; |
| 16 | } |
| 17 | |
| 18 | } |
| [all classes][br.org.agilcoop.cursos.testes.unidade.timer.eventos] |
| EMMA 2.0.5312 (C) Vladimir Roubtsov |