예제 #1
0
파일: ImageTest.php 프로젝트: haoyanfei/zf2
 public function setUp()
 {
     if (!extension_loaded('gd')) {
         $this->markTestSkipped('\\ZendTest\\Barcode\\Renderer\\ImageTest requires the GD extension');
     }
     parent::setUp();
 }
예제 #2
0
 public function setUp()
 {
     if (!constant('TESTS_ZEND_BARCODE_PDF_SUPPORT')) {
         $this->markTestSkipped('Enable TESTS_ZEND_BARCODE_PDF_SUPPORT to test PDF render');
     }
     parent::setUp();
 }