コード例 #1
0
ファイル: ImageTest.php プロジェクト: luoshulin/falcon
 protected function setUp()
 {
     parent::setUp();
     if (!function_exists('gd_info')) {
         $this->markTestSkipped('Gd not installed');
     }
 }
コード例 #2
0
ファイル: ImageTest.php プロジェクト: noorafree/makmakan
 protected function setUp()
 {
     parent::setUp();
     if (!class_exists('Gmagick')) {
         $this->markTestSkipped('Gmagick is not installed');
     }
 }
コード例 #3
0
ファイル: ImageTest.php プロジェクト: Danack/Imagine
 protected function setUp()
 {
     parent::setUp();
     // disable GC while https://bugs.php.net/bug.php?id=63677 is still open
     // If GC enabled, Gmagick unit tests fail
     gc_disable();
     if (!class_exists('Gmagick')) {
         $this->markTestSkipped('Gmagick is not installed');
     }
 }