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