You are here

function ContentCrudTestCase::setUp in Content Construction Kit (CCK) 6.3

Same name and namespace in other branches
  1. 6.2 tests/content.crud.test \ContentCrudTestCase::setUp()

Enable CCK, Text, and Schema modules.

Overrides DrupalWebTestCase::setUp

6 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.
ContentEmptyDeltaTest::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.

... See full list

7 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.
ContentEmptyDeltaTest::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.

... See full list

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');
}