MediaWiki
REL1_22
|
Additional tests for UtfNormal::cleanUp() function, inclusion regression checks for known problems. More...
Public Member Functions | |
doTestBytes ($head, $tail) | |
doTestDoubleBytes ($head, $tail) | |
doTestTripleBytes ($head, $tail) | |
testAllBytes () | |
testAscii () | |
testBomRegression () | |
testChunkRegression () | |
testDoubleBytes () | |
testForbiddenRegression () | |
testHangulRegression () | |
testInterposeRegression () | |
testLatin () | |
testLatinNormal () | |
testNull () | |
testOverlongRegression () | |
testSurrogateRegression () | |
testTripleBytes () | |
XtestAllChars () | |
This test is *very* expensive! |
Additional tests for UtfNormal::cleanUp() function, inclusion regression checks for known problems.
Requires PHPUnit.
Large
We ignore code coverage for this test suite until they are rewritten to use data providers (bug 46561).
Definition at line 38 of file CleanUpTest.php.
CleanUpTest::doTestBytes | ( | $ | head, |
$ | tail | ||
) |
Definition at line 116 of file CleanUpTest.php.
References UtfNormal\cleanUp().
Referenced by testAllBytes().
CleanUpTest::doTestDoubleBytes | ( | $ | head, |
$ | tail | ||
) |
Definition at line 158 of file CleanUpTest.php.
References UtfNormal\cleanUp(), and UtfNormal\NFC().
Referenced by testDoubleBytes().
CleanUpTest::doTestTripleBytes | ( | $ | head, |
$ | tail | ||
) |
Definition at line 209 of file CleanUpTest.php.
References UtfNormal\cleanUp(), and UtfNormal\NFC().
Referenced by testTripleBytes().
Definition at line 401 of file CleanUpTest.php.
References change, and UtfNormal\cleanUp().
This test is *very* expensive!
Definition at line 71 of file CleanUpTest.php.
References UtfNormal\$utfCanonicalComp, UtfNormal\$utfCanonicalDecomp, UtfNormal\cleanUp(), codepointToUtf8(), and UtfNormal\NFC().