示例#1
0
 protected function setUp()
 {
     parent::setUp();
     if (!class_exists('Imagick')) {
         $this->markTestSkipped('Imagick is not installed');
     }
 }
示例#2
0
 protected function setUp()
 {
     parent::setUp();
     if (!function_exists('gd_info')) {
         $this->markTestSkipped('Gd not installed');
     }
 }