Coverage Report - br.org.agilcoop.cursos.testes.unidade.pacotes.TarGzPacote
 
Classes in this File Line Coverage Branch Coverage Complexity
TarGzPacote
0%
0/9
N/A
0
 
 1  
 package br.org.agilcoop.cursos.testes.unidade.pacotes;
 2  
 
 3  
 import java.io.File;
 4  
 import java.io.IOException;
 5  
 
 6  0
 public class TarGzPacote extends Pacote {
 7  
 
 8  
         @Override
 9  
         public void desempacotar(File diretorio) throws PacoteRuntimeException {
 10  
                 try {
 11  0
                         Runtime.getRuntime().exec("tar");
 12  0
                 } catch (IOException e) {
 13  0
                         throw new PacoteRuntimeException("", e);
 14  
                 }
 15  0
         }
 16  
 
 17  
         @Override
 18  
         public void listar() throws PacoteRuntimeException {
 19  
                 try {
 20  0
                         Runtime.getRuntime().exec("tar");
 21  0
                 } catch (IOException e) {
 22  0
                         throw new PacoteRuntimeException("", e);
 23  
                 }        
 24  0
         }
 25  
 
 26  
 }