コード例 #1
0
ファイル: GnuGzipTest.php プロジェクト: anthonyhowell/distill
 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();
 }
コード例 #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();
 }
コード例 #3
0
 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();
 }
コード例 #4
0
ファイル: RarTest.php プロジェクト: anthonyhowell/distill
 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();
 }
コード例 #5
0
 public function setUp()
 {
     if (!class_exists('\\ArchiveTar')) {
         $this->markTestSkipped('Archive_Tar not installed');
     }
     $this->method = new Method\Extension\Pear\ArchiveTar();
     parent::setUp();
 }