| 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, % |
|---|---|---|---|---|
| ShellUtils.java | 0% (0/1) | 0% (0/2) | 0% (0/10) | 0% (0/3) |
| name | class, % | method, % | block, % | line, % |
|---|---|---|---|---|
| class ShellUtils | 0% (0/1) | 0% (0/2) | 0% (0/10) | 0% (0/3) |
| ShellUtils (): void | 0% (0/1) | 0% (0/3) | 0% (0/1) | |
| executaUmComando (String): int | 0% (0/1) | 0% (0/7) | 0% (0/2) |
| 1 | package br.org.agilcoop.cursos.testes.unidade; |
| 2 | |
| 3 | import java.io.IOException; |
| 4 | |
| 5 | public class ShellUtils { |
| 6 | |
| 7 | public static int executaUmComando(String comando) throws IOException { |
| 8 | Process exec = Runtime.getRuntime().exec(comando); |
| 9 | return exec.exitValue(); |
| 10 | } |
| 11 | |
| 12 | } |
| [all classes][br.org.agilcoop.cursos.testes.unidade] |
| EMMA 2.0.5312 (C) Vladimir Roubtsov |