public function ConfigurationWebTestCase::setUp in Configuration Management 7.2
Same name and namespace in other branches
- 7 tests/configuration.test \ConfigurationWebTestCase::setUp()
Implementation of DrupalWebTestCase::setUp().
Overrides DrupalWebTestCase::setUp
7 calls to ConfigurationWebTestCase::setUp()
- ConfigurationApiTest::setUp in tests/configuration.test 
- Set up test.
- ConfigurationDiscoverModulesTestCase::setUp in tests/configuration.test 
- Implementation of DrupalWebTestCase::setUp().
- ConfigurationHandlerBaseTestCase::setUp in tests/handlers/ ConfigurationHandlerBaseTestCase.test 
- Implementation of DrupalWebTestCase::setUp().
- ConfigurationHandlerMenuLinksTestCase::setUp in tests/handlers/ menu_links.test 
- Implementation of DrupalWebTestCase::setUp().
- ConfigurationHandlerPageManagerTestCase::setUp in tests/handlers/ page_manager.test 
- Implementation of DrupalWebTestCase::setUp().
7 methods override ConfigurationWebTestCase::setUp()
- ConfigurationApiTest::setUp in tests/configuration.test 
- Set up test.
- ConfigurationDiscoverModulesTestCase::setUp in tests/configuration.test 
- Implementation of DrupalWebTestCase::setUp().
- ConfigurationHandlerBaseTestCase::setUp in tests/handlers/ ConfigurationHandlerBaseTestCase.test 
- Implementation of DrupalWebTestCase::setUp().
- ConfigurationHandlerMenuLinksTestCase::setUp in tests/handlers/ menu_links.test 
- Implementation of DrupalWebTestCase::setUp().
- ConfigurationHandlerPageManagerTestCase::setUp in tests/handlers/ page_manager.test 
- Implementation of DrupalWebTestCase::setUp().
File
- tests/configuration.test, line 18 
- Tests for Configuration Management
Class
- ConfigurationWebTestCase
- Base class for functional tests for configuration management.
Code
public function setUp($modules = array()) {
  parent::setUp($modules);
  // Generate an unique path for this test based on the database prefix.
  $this->datastore_path = file_directory_temp();
  variable_set('configuration_config_path', $this->datastore_path);
  $config_path = variable_get('configuration_config_path', $this->datastore_path);
  file_prepare_directory($config_path);
}