| EMMA Coverage Report (generated Fri Feb 13 16:33:40 BRST 2009) |
|---|
| [all classes][br.org.agilcoop.cursos.testes.unidade.pacotes] |
| name | class, % | method, % | block, % | line, % |
|---|---|---|---|---|
| TarGzPacote.java | 0% (0/1) | 0% (0/3) | 0% (0/29) | 0% (0/9) |
| name | class, % | method, % | block, % | line, % |
|---|---|---|---|---|
| class TarGzPacote | 0% (0/1) | 0% (0/3) | 0% (0/29) | 0% (0/9) |
| TarGzPacote (): void | 0% (0/1) | 0% (0/3) | 0% (0/1) | |
| desempacotar (File): void | 0% (0/1) | 0% (0/13) | 0% (0/4) | |
| listar (): void | 0% (0/1) | 0% (0/13) | 0% (0/4) |
| 1 | package br.org.agilcoop.cursos.testes.unidade.pacotes; |
| 2 | |
| 3 | import java.io.File; |
| 4 | import java.io.IOException; |
| 5 | |
| 6 | public class TarGzPacote extends Pacote { |
| 7 | |
| 8 | @Override |
| 9 | public void desempacotar(File diretorio) throws PacoteRuntimeException { |
| 10 | try { |
| 11 | Runtime.getRuntime().exec("tar"); |
| 12 | } catch (IOException e) { |
| 13 | throw new PacoteRuntimeException("", e); |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | @Override |
| 18 | public void listar() throws PacoteRuntimeException { |
| 19 | try { |
| 20 | Runtime.getRuntime().exec("tar"); |
| 21 | } catch (IOException e) { |
| 22 | throw new PacoteRuntimeException("", e); |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | } |
| [all classes][br.org.agilcoop.cursos.testes.unidade.pacotes] |
| EMMA 2.0.5312 (C) Vladimir Roubtsov |