You are here

function XAutoloadUnitTestCase::setUp in X Autoload 7.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

./xautoload.test, line 18

Class

XAutoloadUnitTestCase

Code

function setUp() {
  drupal_load('module', 'xautoload');

  // _xautoload_register();
  parent::setUp();
}