ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Go to the source code of this file.
Functions | |
reportResults (&$total, &$success, &$failure) | |
testNormals (&$u, $c, $comment, $reportFailure=false) | |
verbosify ( $a, $b, $col, $form, $verbose) | |
testNFC (&$u, $c, $comment, $verbose) | |
testCleanUp (&$u, $c, $comment, $verbose) | |
testNFD (&$u, $c, $comment, $verbose) | |
testNFKC (&$u, $c, $comment, $verbose) | |
testNFKD (&$u, $c, $comment, $verbose) | |
testInvariant (&$u, $char, $desc, $reportFailure=false) | |
Variables | |
$verbose = true | |
if(defined( 'PRETTY_UTF8')) | else |
if(php_sapi_name() !='cli') | $in = fopen("NormalizationTest.txt", "rt") |
if(! $in) | $normalizer = new UtfNormal |
$total = 0 | |
$success = 0 | |
$failure = 0 | |
$ok = true | |
$testedChars = array() | |
if(! $in) print Now testing invariants | n |
reportResults | ( | & | $total, |
& | $success, | ||
& | $failure | ||
) |
testCleanUp | ( | & | $u, |
$c, | |||
$comment, | |||
$verbose | |||
) |
Definition at line 201 of file UtfNormalTest.php.
References $result, $verbose, $x, and verbosify().
Referenced by testNormals().
testInvariant | ( | & | $u, |
$char, | |||
$desc, | |||
$reportFailure = false |
|||
) |
Definition at line 242 of file UtfNormalTest.php.
References $result, $verbose, and verbosify().
testNFC | ( | & | $u, |
$c, | |||
$comment, | |||
$verbose | |||
) |
Definition at line 192 of file UtfNormalTest.php.
References $result, $verbose, and verbosify().
Referenced by testNormals().
testNFD | ( | & | $u, |
$c, | |||
$comment, | |||
$verbose | |||
) |
Definition at line 215 of file UtfNormalTest.php.
References $result, $verbose, and verbosify().
Referenced by testNormals().
testNFKC | ( | & | $u, |
$c, | |||
$comment, | |||
$verbose | |||
) |
Definition at line 224 of file UtfNormalTest.php.
References $result, $verbose, and verbosify().
Referenced by testNormals().
testNFKD | ( | & | $u, |
$c, | |||
$comment, | |||
$verbose | |||
) |
Definition at line 233 of file UtfNormalTest.php.
References $result, $verbose, and verbosify().
Referenced by testNormals().
testNormals | ( | & | $u, |
$c, | |||
$comment, | |||
$reportFailure = false |
|||
) |
Definition at line 164 of file UtfNormalTest.php.
References $comment, $result, $verbose, testCleanUp(), testNFC(), testNFD(), testNFKC(), and testNFKD().
verbosify | ( | $a, | |
$b, | |||
$col, | |||
$form, | |||
$verbose | |||
) |
Definition at line 179 of file UtfNormalTest.php.
References $ok, $result, and $verbose.
Referenced by testCleanUp(), testInvariant(), testNFC(), testNFD(), testNFKC(), and testNFKD().
$failure = 0 |
Definition at line 77 of file UtfNormalTest.php.
Referenced by CAS_AuthenticationException\__construct(), CAS_Client\_authError(), ilIndividualAssessmentMembersGUI\addUsers(), ilCtrl\getPathNew(), reportResults(), and ilStartUpGUI\showLogin().
$in = fopen("NormalizationTest.txt", "rt") |
Definition at line 65 of file UtfNormalTest.php.
Definition at line 73 of file UtfNormalTest.php.
$ok = true |
Definition at line 78 of file UtfNormalTest.php.
Referenced by ilBookmarkImportExport\__parseNetscape(), HTMLPurifier_Injector_AutoParagraph\_pLookAhead(), ilDBGenerator\buildDBGenerationScript(), ilShibbolethRoleAssignmentRules\callPlugin(), ilLDAPRoleAssignmentRules\callPlugin(), ilMailQuickFilterInputGUI\checkInput(), ilLuceneQueryInputGUI\checkInput(), ilRadioGroupInputGUI\checkInput(), ilCheckboxInputGUI\checkInput(), ilCheckboxGroupInputGUI\checkInput(), ilPropertyFormGUI\checkInput(), ilSubEnabledFormPropertyGUI\checkSubItemsInput(), ilSoapUtils\distributeMails(), Symfony\Component\Process\Process\doSignal(), HTMLPurifier_Strategy_RemoveForeignElements\execute(), HTMLPurifier_Strategy_MakeWellFormed\execute(), ilUtil\extractParameterString(), ilLDAPRoleAssignmentRules\getAdditionalPluginAttributes(), SeqTreeBuilder\getAuxResources(), ilPDSelectedItemsBlockGUI\getMembershipItemsBlockHTML(), SeqTreeBuilder\getObjectives(), SeqTreeBuilder\getRollupRules(), ilPDSelectedItemsBlockGUI\getSelectedItemsBlockHTML(), assLongMenuGUI\getSelectGapTemplate(), SeqTreeBuilder\getSequencingRules(), assSingleChoiceGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assLongMenuGUI\getTextGapTemplate(), ilObjectListGUI\parseConditions(), HTMLPurifier_HTMLModuleManager\registerModule(), reportResults(), ilObjContentObjectGUI\saveExportIds(), ilPCDataTable\setData(), ilPCParagraph\setText(), testLine(), HTMLPurifier_AttrDef_CSS\validate(), HTMLPurifier_AttrDef_URI\validate(), php4DOMDocument\validate(), ilRadiusSettings\validateRequired(), Monolog\Handler\SocketHandler\validateTimeout(), HTMLPurifier_AttrValidator\validateToken(), and verbosify().
$success = 0 |
Definition at line 76 of file UtfNormalTest.php.
Referenced by reportResults().
$testedChars = array() |
Definition at line 79 of file UtfNormalTest.php.
$total = 0 |
Definition at line 75 of file UtfNormalTest.php.
Referenced by reportResults().
$verbose = true |
Definition at line 27 of file UtfNormalTest.php.
Referenced by phpCAS\setVerbose(), testCleanUp(), testInvariant(), testLine(), testNFC(), testNFD(), testNFKC(), testNFKD(), testNormals(), and verbosify().
if ($ok) else |
Definition at line 40 of file UtfNormalTest.php.
if (! $in) print Now testing invariants n |
Definition at line 110 of file UtfNormalTest.php.