function LinkValidateUrlLight::setUp in Link 6.2
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/
link.validate.test, line 368 - Tests that exercise the validation functions in the link module.
Class
- LinkValidateUrlLight
- A series of tests of links, only going against the link_validate_url function in link.module.
Code
function setUp() {
// do we need to include something here?
module_load_include('module', 'link');
module_load_include('inc', 'link');
}