MediaWiki
REL1_21
|
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
Definition at line 34 of file CleanUpTest.php.
CleanUpTest::doTestBytes | ( | $ | head, |
$ | tail | ||
) |
Definition at line 112 of file CleanUpTest.php.
References UtfNormal\cleanUp().
Referenced by testAllBytes().
CleanUpTest::doTestDoubleBytes | ( | $ | head, |
$ | tail | ||
) |
Definition at line 154 of file CleanUpTest.php.
References UtfNormal\cleanUp(), and UtfNormal\NFC().
Referenced by testDoubleBytes().
CleanUpTest::doTestTripleBytes | ( | $ | head, |
$ | tail | ||
) |
Definition at line 205 of file CleanUpTest.php.
References UtfNormal\cleanUp(), and UtfNormal\NFC().
Referenced by testTripleBytes().
Definition at line 397 of file CleanUpTest.php.
References change, and UtfNormal\cleanUp().
This test is *very* expensive!
Definition at line 67 of file CleanUpTest.php.
References UtfNormal\$utfCanonicalComp, UtfNormal\$utfCanonicalDecomp, UtfNormal\cleanUp(), codepointToUtf8(), echo, and UtfNormal\NFC().