You are here

function TaxonomyEdgeTreeUnitTestCase::setUp in Taxonomy Edge 6

Same name and namespace in other branches
  1. 8 tests/unit.test \TaxonomyEdgeTreeUnitTestCase::setUp()
  2. 7 tests/unit.test \TaxonomyEdgeTreeUnitTestCase::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/unit.test, line 7

Class

TaxonomyEdgeTreeUnitTestCase
@file

Code

function setUp() {
  parent::setUp(array(
    'taxonomy_edge',
  ));
  module_load_include('module', 'taxonomy_edge');
}