You are here

function CacheActionsTestCase::setUp in Cache Actions 6.2

Same name and namespace in other branches
  1. 7.2 cache_actions.test \CacheActionsTestCase::setUp()
  2. 7 cache_actions.test \CacheActionsTestCase::setUp()

Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix. A temporary files directory is created with the same name as the database prefix.

Parameters

...: List of modules to enable for the duration of the test. This can be either a single array or a variable number of string arguments.

Overrides DrupalWebTestCase::setUp

1 call to CacheActionsTestCase::setUp()
CacheActionsCssJsTestCase::setUp in ./cache_actions.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
1 method overrides CacheActionsTestCase::setUp()
CacheActionsCssJsTestCase::setUp in ./cache_actions.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…

File

./cache_actions.test, line 14
This file contains the tests for Cache Actions. All tests depend on the panels, views and rules that are defined by the cache actions test module.

Class

CacheActionsTestCase
A class containing shared information about the cache actions tests.

Code

function setUp() {
  module_list(TRUE);
  parent::setUp('ctools', 'panels', 'page_manager', 'views_content', 'rules', 'cache_actions_test', 'panels_mini', 'views', 'cache_actions', 'cache_actions_test');
}