MediaWiki
REL1_23
|
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
covers tags, will be UtfNormal::cleanUp once the below is resolved
split me into test methods and providers per the below comment
We ignore code coverage for this test suite until they are rewritten to use data providers (bug 46561).
Definition at line 41 of file CleanUpTest.php.
CleanUpTest::doTestBytes | ( | $ | head, |
$ | tail | ||
) |
Definition at line 119 of file CleanUpTest.php.
References UtfNormal\cleanUp().
Referenced by testAllBytes().
CleanUpTest::doTestDoubleBytes | ( | $ | head, |
$ | tail | ||
) |
Definition at line 161 of file CleanUpTest.php.
References UtfNormal\cleanUp(), and UtfNormal\NFC().
Referenced by testDoubleBytes().
CleanUpTest::doTestTripleBytes | ( | $ | head, |
$ | tail | ||
) |
Definition at line 212 of file CleanUpTest.php.
References UtfNormal\cleanUp(), and UtfNormal\NFC().
Referenced by testTripleBytes().
Definition at line 404 of file CleanUpTest.php.
References change, and UtfNormal\cleanUp().
This test is *very* expensive!
Definition at line 74 of file CleanUpTest.php.
References UtfNormal\$utfCanonicalComp, UtfNormal\$utfCanonicalDecomp, UtfNormal\cleanUp(), codepointToUtf8(), and UtfNormal\NFC().