Tests the transliteration class.

Hierarchy

Expanded class hierarchy of TransliterationTest

File

core/modules/simpletest/tests/transliteration.test, line 5

Members

Contains filters are case sensitive
Namesort ascending Modifiers Type Description
TransliterationTest::testTransliteration public function Tests transliteration API.
TransliterationTest::testMachineNameTransliteration public function Tests machine name transliteration provided by System module.
BackdropUnitTestCase::__construct function Constructor for BackdropUnitTestCase. Overrides BackdropTestCase::__construct
BackdropUnitTestCase::tearDown protected function Clean up any database tables, configuration, or files after each test run. Overrides BackdropTestCase::tearDown
BackdropUnitTestCase::setUp protected function Sets up unit test environment. Overrides BackdropTestCase::setUp
BackdropUnitTestCase::$originalModuleList protected property The list of enabled modules prior to changing for testing.
BackdropUnitTestCase::$originalLanguage protected property
BackdropTestCase::verbose protected function Logs a verbose message in a text file.
BackdropTestCase::run public function Run all tests in this class.
BackdropTestCase::randomString public static function Generates a random string of ASCII characters of codes 32 to 126.
BackdropTestCase::randomName public static function Generates a random string containing letters and numbers.
BackdropTestCase::prepareDatabasePrefix protected function Generates a database prefix for running tests.
BackdropTestCase::pass protected function Fire an assertion that is always positive.
BackdropTestCase::insertAssert public static function Store an assertion from outside the testing context.
BackdropTestCase::getDatabaseConnection public static function Returns the database connection to the site running Simpletest.
BackdropTestCase::getAssertionCall protected function Cycles through backtrace until the first non-assertion method is found.
BackdropTestCase::generatePermutations public static function Converts a list of possible parameters into a stack of permutations.
BackdropTestCase::fail protected function Fire an assertion that is always negative.
BackdropTestCase::exceptionHandler protected function Handle exceptions.
BackdropTestCase::errorHandler public function Handle errors during test runs.
BackdropTestCase::error protected function Fire an error assertion.
BackdropTestCase::deleteAssert public static function Delete an assertion record by message ID.
BackdropTestCase::checkRequirements protected function Checks the matching requirements for BackdropTestCase.
BackdropTestCase::assertTrue protected function Check to see if a value is not false (not an empty string, 0, NULL, or FALSE).
BackdropTestCase::assertNull protected function Check to see if a value is NULL.
BackdropTestCase::assertNotNull protected function Check to see if a value is not NULL.
BackdropTestCase::assertNotIdentical protected function Check to see if two values are not identical.
BackdropTestCase::assertNotEqual protected function Check to see if two values are not equal.
BackdropTestCase::assertIdentical protected function Check to see if two values are identical.
BackdropTestCase::assertFalse protected function Check to see if a value is false (an empty string, 0, NULL, or FALSE).
BackdropTestCase::assertEqual protected function Check to see if two values are equal.
BackdropTestCase::assert protected function Internal helper: stores the assert.
BackdropTestCase::$verboseDirectoryUrl protected property URL to the verbose output file directory.
BackdropTestCase::$timeLimit protected property Time limit for the test.
BackdropTestCase::$testId protected property The test run ID.
BackdropTestCase::$skipClasses protected property This class is skipped when looking for the source of an assertion.
BackdropTestCase::$setupEnvironment protected property
BackdropTestCase::$setupDatabasePrefix protected property
BackdropTestCase::$setup protected property Flag to indicate whether the test has been set up.
BackdropTestCase::$results public property Current results of this test case.
BackdropTestCase::$originalFileDirectory protected property The original file directory, before it was changed for testing purposes.
BackdropTestCase::$originalConfigDirectories protected property The original config directory array, before changing for testing purposes.
BackdropTestCase::$httpauth_method protected property HTTP authentication method
BackdropTestCase::$httpauth_credentials protected property HTTP authentication credentials (<username>:<password>).
BackdropTestCase::$fileDirectoryName protected property The file directory for this test's files. Usually matches $databasePrefix.
BackdropTestCase::$databasePrefix protected property The database prefix of this test run.
BackdropTestCase::$assertions protected property Assertions thrown in that test case.