Ejemplo n.º 1
0
 public function setUp()
 {
     $this->method = new Method\Command\GnuGzip();
     if (false === $this->method->isSupported()) {
         $this->markTestSkipped('The GNU gzip command is not installed');
     }
     parent::setUp();
 }
Ejemplo n.º 2
0
 public function setUp()
 {
     $this->method = new Method\Command\Cabextract();
     if (false === $this->method->isSupported()) {
         $this->markTestSkipped('The cabextract command is not installed');
     }
     parent::setUp();
 }
 public function setUp()
 {
     $this->method = new Method\Native\GzipExtractor();
     if (false === $this->method->isSupported()) {
         $this->markTestSkipped('The Native\\GzipExtractor method is not available');
     }
     parent::setUp();
 }
Ejemplo n.º 4
0
 public function setUp()
 {
     $this->method = new Method\Extension\Rar();
     if (false === $this->method->isSupported()) {
         $this->markTestSkipped('The rar extension method is not available');
     }
     parent::setUp();
 }
Ejemplo n.º 5
0
 public function setUp()
 {
     if (!class_exists('\\ArchiveTar')) {
         $this->markTestSkipped('Archive_Tar not installed');
     }
     $this->method = new Method\Extension\Pear\ArchiveTar();
     parent::setUp();
 }