protected function CoderUpgradeUnitTestCase1::setUp in Coder 7
Same name and namespace in other branches
- 7.2 coder_upgrade/coder_upgrade.test \CoderUpgradeUnitTestCase1::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 214
Class
- CoderUpgradeUnitTestCase1
- Unit tests on a single file in files/coder_upgrade/old/test.
Code
protected function setUp() {
parent::setUp();
$this->test_directory = 'test';
}