/**
  * 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');
     }
 }
예제 #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.');
     }
 }
예제 #3
0
파일: PageTest.php 프로젝트: uglybob/bh.net
 protected function setUp()
 {
     @session_start();
     $this->controller = new \Bh\Lib\Controller();
     parent::setUp();
 }
예제 #4
0
 protected function setUp()
 {
     parent::setUp();
     $this->entity = new EntityTestClass();
 }