Search for test

  1. Search 9.5.x for test
  2. Search 8.9.x for test
  3. Search 10.3.x for test
  4. Search 11.x for test
  5. Other projects
Title Object type File name Summary
LocaleTranslationFunctionalTest::testStringValidation function modules/locale/locale.test Tests the validation of the translation input.
LocaleUILanguageNegotiationTest class modules/locale/locale.test Test UI language negotiation
1. URL (PATH) > DEFAULT
UI Language base on URL prefix, browser language preference has no
influence:
admin/config
UI in site default language
zh-hans/admin/config
UI in Chinese
blah-blah/admin/config
404
2. URL (PATH)…
LocaleUILanguageNegotiationTest::getInfo function modules/locale/locale.test
LocaleUILanguageNegotiationTest::runTest function modules/locale/locale.test
LocaleUILanguageNegotiationTest::setUp function modules/locale/locale.test Sets up a Drupal site for running functional and integration tests.
LocaleUILanguageNegotiationTest::testLanguageDomain function modules/locale/locale.test Tests url() when separate domains are used for multiple languages.
LocaleUILanguageNegotiationTest::testUILanguageNegotiation function modules/locale/locale.test Tests for language switching by URL path.
LocaleUILanguageNegotiationTest::testUrlLanguageFallback function modules/locale/locale.test Test URL language detection when the requested URL has no language.
LocaleUninstallFrenchFunctionalTest class modules/locale/locale.test Locale uninstall with French UI functional test.
LocaleUninstallFrenchFunctionalTest::getInfo function modules/locale/locale.test
LocaleUninstallFrenchFunctionalTest::setUp function modules/locale/locale.test Sets up a Drupal site for running functional and integration tests.
LocaleUninstallFunctionalTest class modules/locale/locale.test Locale uninstall with English UI functional test.
LocaleUninstallFunctionalTest::$language property modules/locale/locale.test The default language set for the UI before uninstall.
LocaleUninstallFunctionalTest::getInfo function modules/locale/locale.test
LocaleUninstallFunctionalTest::setUp function modules/locale/locale.test Sets up a Drupal site for running functional and integration tests.
LocaleUninstallFunctionalTest::testUninstallProcess function modules/locale/locale.test Check if the values of the Locale variables are correct after uninstall.
LocaleUpgradePathTestCase class modules/simpletest/tests/upgrade/upgrade.locale.test Upgrade test for locale.module.
LocaleUpgradePathTestCase::assertPageInLanguage function modules/simpletest/tests/upgrade/upgrade.locale.test Asserts that a page exists and is in the specified language.
LocaleUpgradePathTestCase::getInfo function modules/simpletest/tests/upgrade/upgrade.locale.test
LocaleUpgradePathTestCase::setUp function modules/simpletest/tests/upgrade/upgrade.locale.test Overrides DrupalWebTestCase::setUp() for upgrade testing.
LocaleUpgradePathTestCase::testLocaleUpgrade function modules/simpletest/tests/upgrade/upgrade.locale.test Test a successful upgrade (no negotiation).
LocaleUpgradePathTestCase::testLocaleUpgradeDomain function modules/simpletest/tests/upgrade/upgrade.locale.test Test an upgrade with domain-based negotiation.
LocaleUpgradePathTestCase::testLocaleUpgradePathDefault function modules/simpletest/tests/upgrade/upgrade.locale.test Test an upgrade with path-based negotiation.
LocaleUpgradePathTestCase::testLocaleUpgradePathFallback function modules/simpletest/tests/upgrade/upgrade.locale.test Test an upgrade with path-based (with fallback) negotiation.
LocaleUrlRewritingTest class modules/locale/locale.test Test that URL rewriting works as expected.
LocaleUrlRewritingTest::$web_user property modules/locale/locale.test
LocaleUrlRewritingTest::checkUrl function modules/locale/locale.test Check URL rewriting for the given language.
LocaleUrlRewritingTest::getInfo function modules/locale/locale.test
LocaleUrlRewritingTest::setUp function modules/locale/locale.test Sets up a Drupal site for running functional and integration tests.
LocaleUrlRewritingTest::testDomainNameNegotiationPort function modules/locale/locale.test Check URL rewriting when using a domain name and a non-standard port.
LocaleUrlRewritingTest::testUrlRewritingEdgeCases function modules/locale/locale.test Check that disabled or non-installed languages are not considered.
LocaleUserCreationTest class modules/locale/locale.test Functional test for language handling during user creation.
LocaleUserCreationTest::getInfo function modules/locale/locale.test
LocaleUserCreationTest::setUp function modules/locale/locale.test Sets up a Drupal site for running functional and integration tests.
LocaleUserCreationTest::testLocalUserCreation function modules/locale/locale.test Functional test for language handling during user creation.
LocaleUserLanguageFunctionalTest class modules/locale/locale.test Functional tests for a user's ability to change their default language.
LocaleUserLanguageFunctionalTest::getInfo function modules/locale/locale.test
LocaleUserLanguageFunctionalTest::setUp function modules/locale/locale.test Sets up a Drupal site for running functional and integration tests.
LocaleUserLanguageFunctionalTest::testUserLanguageConfiguration function modules/locale/locale.test Test if user can change their default language.
locale_test.info file modules/locale/tests/locale_test.info name = "Locale Test"
description = "Support module for the locale layer tests."
core = 7.x
package = Testing
version = VERSION
hidden = TRUE
locale_test.module file modules/locale/tests/locale_test.module Mock module for locale layer tests.
locale_test_boot function modules/locale/tests/locale_test.module Implements hook_boot().
locale_test_init function modules/locale/tests/locale_test.module Implements hook_init().
locale_test_language_negotiation_info function modules/locale/tests/locale_test.module Implements hook_language_negotiation_info().
locale_test_language_negotiation_info_alter function modules/locale/tests/locale_test.module Implements hook_language_negotiation_info_alter().
locale_test_language_provider function modules/locale/tests/locale_test.module Test language provider.
locale_test_language_types_info function modules/locale/tests/locale_test.module Implements hook_language_types_info().
locale_test_language_types_info_alter function modules/locale/tests/locale_test.module Implements hook_language_types_info_alter().
locale_test_locale function modules/locale/tests/locale_test.module Implements hook_locale().
locale_test_menu function modules/locale/tests/locale_test.module Implements hook_menu().

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