setUp() public method

Initializes instance properties.
public setUp ( ) : void
return void
Esempio n. 1
0
 /**
  * Checks for the pspell extension.
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     if (!extension_loaded('pspell')) {
         $this->markTestSkipped('pspell extension not available');
     }
 }
Esempio n. 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();
 }