/**
  * 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');
     }
 }
Esempio n. 2
0
 /**
  * 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.');
     }
 }
Esempio n. 3
0
 protected function setUp()
 {
     @session_start();
     $this->controller = new \Bh\Lib\Controller();
     parent::setUp();
 }
Esempio n. 4
0
 protected function setUp()
 {
     parent::setUp();
     $this->entity = new EntityTestClass();
 }