You are here

public function GMapMacroTest::setUp in GMap Module 7

Same name and namespace in other branches
  1. 7.2 tests/gmap.test \GMapMacroTest::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/gmap.test, line 59
Unit tests for gmap.module.

Class

GMapMacroTest

Code

public function setUp() {
  parent::setUp();
  require_once dirname(__FILE__) . '/../gmap.module';
}