MediaWiki
REL1_19
|
Public Member Functions | |
provideFormatBitrate () | |
provideFormatSizes () | |
provideFormattableTimes () | |
provideHTMLTruncateData () | |
Array format is ($len, $ellipsis, $input, $expected) | |
provideLanguageCodes () | |
provideSprintfDateSamples () | |
setUp () | |
tearDown () | |
testBuiltInCodeValidation ($code, $message= '') | |
Test Language::isValidBuiltInCode() provideLanguageCodes. | |
testBuiltInCodeValidationRejectUnderscore () | |
testFormatBitrate ($bps, $expected, $msg) | |
provideFormatBitrate | |
testFormatSize ($size, $expected, $msg) | |
provideFormatSizes | |
testFormatTimePeriod ($seconds, $format, $expected, $desc) | |
provideFormattableTimes | |
testLanguageConvertDoubleWidthToSingleWidth () | |
testSprintfDate ($format, $ts, $expected, $msg) | |
provideSprintfDateSamples | |
testSprintfDateTZ ($format, $ts, $expected, $msg) | |
bug 33454. | |
testTruncate () | |
testTruncateHtml ($len, $ellipsis, $input, $expected) | |
provideHTMLTruncateData() | |
Private Attributes | |
$lang |
Definition at line 3 of file LanguageTest.php.
Definition at line 598 of file LanguageTest.php.
Definition at line 536 of file LanguageTest.php.
Definition at line 32 of file LanguageTest.php.
Array format is ($len, $ellipsis, $input, $expected)
Definition at line 114 of file LanguageTest.php.
Definition at line 188 of file LanguageTest.php.
Definition at line 230 of file LanguageTest.php.
Definition at line 10 of file LanguageTest.php.
References Language\factory().
Definition at line 13 of file LanguageTest.php.
LanguageTest::testBuiltInCodeValidation | ( | $ | code, |
$ | message = '' |
||
) |
Test Language::isValidBuiltInCode() provideLanguageCodes.
Definition at line 174 of file LanguageTest.php.
References Language\isValidBuiltInCode().
Definition at line 181 of file LanguageTest.php.
References Language\isValidBuiltInCode().
LanguageTest::testFormatBitrate | ( | $ | bps, |
$ | expected, | ||
$ | msg | ||
) |
provideFormatBitrate
Definition at line 590 of file LanguageTest.php.
LanguageTest::testFormatSize | ( | $ | size, |
$ | expected, | ||
$ | msg | ||
) |
LanguageTest::testFormatTimePeriod | ( | $ | seconds, |
$ | format, | ||
$ | expected, | ||
$ | desc | ||
) |
provideFormattableTimes
Definition at line 28 of file LanguageTest.php.
Definition at line 17 of file LanguageTest.php.
LanguageTest::testSprintfDate | ( | $ | format, |
$ | ts, | ||
$ | expected, | ||
$ | msg | ||
) |
provideSprintfDateSamples
Definition at line 203 of file LanguageTest.php.
LanguageTest::testSprintfDateTZ | ( | $ | format, |
$ | ts, | ||
$ | expected, | ||
$ | msg | ||
) |
bug 33454.
sprintfDate should always use UTC. provideSprintfDateSamples
Definition at line 214 of file LanguageTest.php.
References $res.
Definition at line 68 of file LanguageTest.php.
LanguageTest::testTruncateHtml | ( | $ | len, |
$ | ellipsis, | ||
$ | input, | ||
$ | expected | ||
) |
LanguageTest::$lang [private] |
Definition at line 8 of file LanguageTest.php.