| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| UbuntuNotifyEvent |
|
| 0.0;0 |
| 1 | package br.org.agilcoop.cursos.testes.unidade.timer.eventos; | |
| 2 | ||
| 3 | import br.org.agilcoop.cursos.testes.unidade.timer.Timer; | |
| 4 | ||
| 5 | 0 | public class UbuntuNotifyEvent extends SOCommandLineEvent { |
| 6 | ||
| 7 | @Override | |
| 8 | public void executa(Timer timer) { | |
| 9 | 0 | System.out.println(getCommand(timer)); |
| 10 | 0 | super.executa(timer); |
| 11 | 0 | } |
| 12 | ||
| 13 | @Override | |
| 14 | public String getCommand(Timer timer) { | |
| 15 | 0 | return "notify-send Finished! " + timer.totalFormatted() + ""; |
| 16 | } | |
| 17 | ||
| 18 | } |