function TranslationTestCase::resetCaches

Resets static caches to make the test code match the client-side behavior.

4 calls to TranslationTestCase::resetCaches()
TranslationTestCase::setUp in drupal-7.x/modules/translation/translation.test
Sets up a Drupal site for running functional and integration tests.
TranslationTestCase::setUp in drupal-7.x/modules/translation/translation.test
Sets up a Drupal site for running functional and integration tests.
TranslationTestCase::testLanguageSwitchLinks in drupal-7.x/modules/translation/translation.test
Checks that the language switch links behave properly.
TranslationTestCase::testLanguageSwitchLinks in drupal-7.x/modules/translation/translation.test
Checks that the language switch links behave properly.

Archivo

drupal-7.x/modules/translation/translation.test, line 261
Tests for the Translation module.

Class

TranslationTestCase
Functional tests for the Translation module.

Código

function resetCaches() {
  drupal_static_reset('locale_url_outbound_alter');
}