저자: Phergie Development Team (team@phergie.org)
상속: extends PHPUnit_Framework_TestCase
예제 #1
0
 /**
  * Checks for the pspell extension.
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     if (!extension_loaded('pspell')) {
         $this->markTestSkipped('pspell extension not available');
     }
 }
예제 #2
0
 /**
  * Skips tests if the SQLite PDO driver is not available.
  *
  * @return void
  */
 public function setUp()
 {
     if (!extension_loaded('PDO') || !extension_loaded('pdo_sqlite')) {
         $this->markTestSkipped('PDO or pdo_sqlite extension is required');
     }
     parent::setUp();
 }