/** * Skips the test unless the current system has a 64bit architecture. * * @param \PhpUnit_Framework_TestCase $testCase */ public static function require64Bit(\PhpUnit_Framework_TestCase $testCase) { if (8 !== PHP_INT_SIZE) { $testCase->markTestSkipped('PHP must be compiled in 64 bit mode to run this test'); } }
/** * Skips the test unless the current system has a 64bit architecture. * * @param \PhpUnit_Framework_TestCase $testCase */ public static function require64Bit(\PhpUnit_Framework_TestCase $testCase) { if (8 !== PHP_INT_SIZE) { $testCase->markTestSkipped('PHP 64 bit is required.'); } }
protected function setUp() { @session_start(); $this->controller = new \Bh\Lib\Controller(); parent::setUp(); }
protected function setUp() { parent::setUp(); $this->entity = new EntityTestClass(); }