function RangeUnitTestCase::setUp in Range 7
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 DrupalUnitTestCase::setUp
File
- tests/
range.unit.test, line 27 - Unit tests for Range module.
Class
- RangeUnitTestCase
- Unit tests for Range.
Code
function setUp() {
drupal_load('module', 'range');
parent::setUp();
}