function AJAXTestCase::setUp

Overrides DrupalWebTestCase::setUp

3 calls to AJAXTestCase::setUp()
AJAXFormPageCacheTestCase::setUp in modules/simpletest/tests/ajax.test
Sets up a Drupal site for running functional and integration tests.
AJAXFormValuesTestCase::setUp in modules/simpletest/tests/ajax.test
Sets up a Drupal site for running functional and integration tests.
AJAXMultiFormTestCase::setUp in modules/simpletest/tests/ajax.test
Sets up a Drupal site for running functional and integration tests.
3 methods override AJAXTestCase::setUp()
AJAXFormPageCacheTestCase::setUp in modules/simpletest/tests/ajax.test
Sets up a Drupal site for running functional and integration tests.
AJAXFormValuesTestCase::setUp in modules/simpletest/tests/ajax.test
Sets up a Drupal site for running functional and integration tests.
AJAXMultiFormTestCase::setUp in modules/simpletest/tests/ajax.test
Sets up a Drupal site for running functional and integration tests.

File

modules/simpletest/tests/ajax.test, line 4

Class

AJAXTestCase

Code

function setUp() {
    $modules = func_get_args();
    if (isset($modules[0]) && is_array($modules[0])) {
        $modules = $modules[0];
    }
    parent::setUp(array_unique(array_merge(array(
        'ajax_test',
        'ajax_forms_test',
    ), $modules)));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.