public function GMapSimpleAPITest::setUp in GMap Module 7
Same name and namespace in other branches
- 6.2 tests/gmap.test \GMapSimpleAPITest::setUp()
- 7.2 tests/gmap.test \GMapSimpleAPITest::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 18 - Unit tests for gmap.module.
Class
- GMapSimpleAPITest
- @file Unit tests for gmap.module.
Code
public function setUp() {
drupal_load('module', 'gmap');
parent::setUp();
}