protected function CtoolsContextUnitTestCase::setUp in Chaos Tool Suite (ctools) 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/
context.test, line 356  - Test the keyword substitution functionality.
 
Class
- CtoolsContextUnitTestCase
 - Test the context classes.
 
Code
protected function setUp() {
  parent::setUp();
  require_once __DIR__ . '/../includes/context.inc';
}