You are here

protected function CoderUpgradeUnitTestCase2::setUp in Coder 7.2

Same name and namespace in other branches
  1. 7 coder_upgrade/coder_upgrade.test \CoderUpgradeUnitTestCase2::setUp()

Sets up unit test environment.

Unlike DrupalWebTestCase::setUp(), DrupalUnitTestCase::setUp() does not install modules because tests are performed without accessing the database. Any required files must be explicitly included by the child class setUp() method.

Overrides CoderUpgradeUnitTestCase::setUp

File

coder_upgrade/coder_upgrade.test, line 229

Class

CoderUpgradeUnitTestCase2
Unit tests on a sample module in files/coder_upgrade/old/samples.

Code

protected function setUp() {
  parent::setUp();
  $this->test_directory = 'samples';
}