function CtoolsContextUnitTestCase::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 DrupalUnitTestCase::setUp

File

tests/context.test, line 356

Class

CtoolsContextUnitTestCase
Test the context classes.

Code

protected function setUp() {
  parent::setUp();
  require_once __DIR__ . '/../includes/context.inc';
}