You are here

protected function TimeEfficientImplementationTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/sebastian/diff/tests/LCS/TimeEfficientImplementationTest.php \SebastianBergmann\Diff\LCS\TimeEfficientImplementationTest::setUp()

Sets up the fixture, for example, open a network connection. This method is called before a test is executed.

Overrides PHPUnit_Framework_TestCase::setUp

File

vendor/sebastian/diff/tests/LCS/TimeEfficientImplementationTest.php, line 24

Class

TimeEfficientImplementationTest
Some of these tests are volontary stressfull, in order to give some approximative benchmark hints.

Namespace

SebastianBergmann\Diff\LCS

Code

protected function setUp() {
  $this->memory_limit = ini_get('memory_limit');
  ini_set('memory_limit', '256M');
  $this->implementation = new TimeEfficientImplementation();
}