function ContentCrudTestCase::setUp in Content Construction Kit (CCK) 6.2
Same name and namespace in other branches
- 6.3 tests/content.crud.test \ContentCrudTestCase::setUp()
Enable CCK, Text, and Schema modules.
Overrides DrupalWebTestCase::setUp
5 calls to ContentCrudTestCase::setUp()
- ContentCrudBasicTest::setUp in tests/
content.crud.test - Enable CCK, Text, and Schema modules.
- ContentCrudMultipleToSingleTest::setUp in tests/
content.crud.test - Enable CCK, Text, and Schema modules.
- ContentCrudSingleToMultipleTest::setUp in tests/
content.crud.test - Enable CCK, Text, and Schema modules.
- ContentOptionWidgetTest::setUp in tests/
content.crud.test - Enable CCK, Text, and Schema modules.
- ContentUICrud::setUp in tests/
content.crud.test - Enable CCK, Text, and Schema modules.
5 methods override ContentCrudTestCase::setUp()
- ContentCrudBasicTest::setUp in tests/
content.crud.test - Enable CCK, Text, and Schema modules.
- ContentCrudMultipleToSingleTest::setUp in tests/
content.crud.test - Enable CCK, Text, and Schema modules.
- ContentCrudSingleToMultipleTest::setUp in tests/
content.crud.test - Enable CCK, Text, and Schema modules.
- ContentOptionWidgetTest::setUp in tests/
content.crud.test - Enable CCK, Text, and Schema modules.
- ContentUICrud::setUp in tests/
content.crud.test - Enable CCK, Text, and Schema modules.
File
- tests/
content.crud.test, line 21
Class
- ContentCrudTestCase
- Base class for CCK CRUD tests. Defines many helper functions useful for writing CCK CRUD tests.
Code
function setUp() {
$args = func_get_args();
$modules = array_merge(array(
'content_test',
'content',
'schema',
'text',
), $args);
call_user_func_array(array(
'parent',
'setUp',
), $modules);
module_load_include('inc', 'content', 'includes/content.crud');
}