/**
  * Will skip this test for PHP versions >= 5.3
  *
  * @return void
  */
 protected function setUp()
 {
     if (version_compare(phpversion(), '5.3.0') >= 0) {
         $this->markTestSkipped('This test is related to php versions < 5.3.0');
     }
     parent::setUp();
 }
コード例 #2
0
 /**
  * Resets the execution time to -1.
  *
  * @return void
  */
 protected function tearDown()
 {
     set_time_limit(-1);
     parent::tearDown();
 }