You are here

function Drupali18nTestCase::setUpContentTranslation in Internationalization 7

Set up translation for content type (default: page).

6 calls to Drupali18nTestCase::setUpContentTranslation()
i18nForumTestCase::setUp in i18n_forum/i18n_forum.test
Sets up a Drupal site for running functional and integration tests.
i18nMenuTestCase::testNodeMenuItems in i18n_menu/i18n_menu.test
Test menu items for nodes.
I18nNodeTestCase::setUp in i18n_node/i18n_node.test
Sets up a Drupal site for running functional and integration tests.
I18NSelectAdminViewsAjax::setUp in i18n_select/i18n_select.test
Sets up a Drupal site for running functional and integration tests.
i18nSelectTestCase::setUp in i18n_select/i18n_select.test
Sets up a Drupal site for running functional and integration tests.

... See full list

1 method overrides Drupali18nTestCase::setUpContentTranslation()
i18nVariableTestCase::setUpContentTranslation in i18n_variable/i18n_variable.test
Set up translation for content type (page)

File

./i18n.test, line 80
Base class for Internationalization tests

Class

Drupali18nTestCase
@file Base class for Internationalization tests

Code

function setUpContentTranslation($settings = array()) {
  $settings += array(
    'mode' => TRANSLATION_ENABLED,
  );
  $this
    ->setUpContentType($settings);
}