You are here

public function ConfigurationHandlerBaseTestCase::setUp in Configuration Management 7.2

Implementation of DrupalWebTestCase::setUp().

Overrides ConfigurationWebTestCase::setUp

6 calls to ConfigurationHandlerBaseTestCase::setUp()
FieldConfiguration::setUp in tests/handlers/TestFieldConfiguration.test
Implementation of DrupalWebTestCase::setUp().
TestImageStyleConfiguration::setUp in tests/handlers/TestImageStyleConfiguration.test
Implementation of DrupalWebTestCase::setUp().
TestMenuConfiguration::setUp in tests/handlers/TestMenuConfiguration.test
Implementation of DrupalWebTestCase::setUp().
TestRoleConfiguration::setUp in tests/handlers/TestRoleConfiguration.test
Implementation of DrupalWebTestCase::setUp().
TestviewConfiguration::setUp in tests/handlers/TestViewConfiguration.test
Implementation of DrupalWebTestCase::setUp().

... See full list

6 methods override ConfigurationHandlerBaseTestCase::setUp()
FieldConfiguration::setUp in tests/handlers/TestFieldConfiguration.test
Implementation of DrupalWebTestCase::setUp().
TestImageStyleConfiguration::setUp in tests/handlers/TestImageStyleConfiguration.test
Implementation of DrupalWebTestCase::setUp().
TestMenuConfiguration::setUp in tests/handlers/TestMenuConfiguration.test
Implementation of DrupalWebTestCase::setUp().
TestRoleConfiguration::setUp in tests/handlers/TestRoleConfiguration.test
Implementation of DrupalWebTestCase::setUp().
TestviewConfiguration::setUp in tests/handlers/TestViewConfiguration.test
Implementation of DrupalWebTestCase::setUp().

... See full list

File

tests/handlers/ConfigurationHandlerBaseTestCase.test, line 21
Tests for Configuration Management: Base Class

Class

ConfigurationHandlerBaseTestCase
Base class for functional tests for configuration management.

Code

public function setUp($modules = array()) {
  global $base_url;
  if (empty($modules)) {
    $modules = array(
      'configuration',
    );
  }
  $extra_modules = $this
    ->addModules();
  if ($extra_modules) {
    $modules = array_merge($modules, $extra_modules);
  }
  parent::setUp($modules);
}