MediaWiki
REL1_20
|
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.
Definition at line 33 of file CleanUpTest.php.
CleanUpTest::doTestBytes | ( | $ | head, |
$ | tail | ||
) |
Definition at line 106 of file CleanUpTest.php.
References UtfNormal\cleanUp().
Referenced by testAllBytes().
CleanUpTest::doTestDoubleBytes | ( | $ | head, |
$ | tail | ||
) |
Definition at line 142 of file CleanUpTest.php.
References UtfNormal\cleanUp(), and UtfNormal\NFC().
Referenced by testDoubleBytes().
CleanUpTest::doTestTripleBytes | ( | $ | head, |
$ | tail | ||
) |
Definition at line 186 of file CleanUpTest.php.
References UtfNormal\cleanUp(), and UtfNormal\NFC().
Referenced by testTripleBytes().
This test is *very* expensive!
Definition at line 66 of file CleanUpTest.php.
References UtfNormal\$utfCanonicalComp, UtfNormal\$utfCanonicalDecomp, UtfNormal\cleanUp(), codepointToUtf8(), echo, and UtfNormal\NFC().