function GraphUnitTest::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

modules/simpletest/tests/graph.test, line 20

Class

GraphUnitTest
Unit tests for the graph handling features.

Code

function setUp() {
    require_once DRUPAL_ROOT . '/includes/graph.inc';
    parent::setUp();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.