You are here

function NodeConvertTestCase::setUp in Node Convert 6

Same name and namespace in other branches
  1. 7 node_convert.test \NodeConvertTestCase::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

File

./node_convert.test, line 22
Node convert Simpletest Unit

Class

NodeConvertTestCase
@file Node convert Simpletest Unit

Code

function setUp() {

  // The first thing a setUp() method should always do is call its parent setUp() method.
  // If you need to enable any modules (including the one being tested),
  // add them as function parameters.
  parent::setUp('content', 'node_convert');

  // Next, perform any required steps for the test methods within this test grouping.
}