ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 213 of file UtfNormalTest.php.
References $result, $verbose, $x, and verbosify().
Referenced by testNormals().
testInvariant | ( | & | $u, |
$char, | |||
$desc, | |||
$reportFailure = false |
|||
) |
Definition at line 258 of file UtfNormalTest.php.
References $result, $verbose, and verbosify().
testNFC | ( | & | $u, |
$c, | |||
$comment, | |||
$verbose | |||
) |
Definition at line 203 of file UtfNormalTest.php.
References $result, $verbose, and verbosify().
Referenced by testNormals().
testNFD | ( | & | $u, |
$c, | |||
$comment, | |||
$verbose | |||
) |
Definition at line 228 of file UtfNormalTest.php.
References $result, $verbose, and verbosify().
Referenced by testNormals().
testNFKC | ( | & | $u, |
$c, | |||
$comment, | |||
$verbose | |||
) |
Definition at line 238 of file UtfNormalTest.php.
References $result, $verbose, and verbosify().
Referenced by testNormals().
testNFKD | ( | & | $u, |
$c, | |||
$comment, | |||
$verbose | |||
) |
Definition at line 248 of file UtfNormalTest.php.
References $result, $verbose, and verbosify().
Referenced by testNormals().
testNormals | ( | & | $u, |
$c, | |||
$comment, | |||
$reportFailure = false |
|||
) |
Definition at line 173 of file UtfNormalTest.php.
References $comment, $result, $verbose, testCleanUp(), testNFC(), testNFD(), testNFKC(), and testNFKD().
verbosify | ( | $a, | |
$b, | |||
$col, | |||
$form, | |||
$verbose | |||
) |
Definition at line 189 of file UtfNormalTest.php.
References $ok, $result, and $verbose.
Referenced by testCleanUp(), testInvariant(), testNFC(), testNFD(), testNFKC(), and testNFKD().
$failure = 0 |
Definition at line 79 of file UtfNormalTest.php.
Referenced by CAS_AuthenticationException\__construct(), CAS_Client\_authError(), ilIndividualAssessmentMembersGUI\addUsers(), sspmod_cas_Auth_Source_CAS\casServiceValidate(), ilRestFileStorage\createFile(), Gettext\Translator\fixTerseIfs(), ilRestFileStorage\getFile(), ilCtrl\getPathNew(), reportResults(), and ilStartUpGUI\showLogin().
$in = fopen("NormalizationTest.txt", "rt") |
Definition at line 67 of file UtfNormalTest.php.
Definition at line 75 of file UtfNormalTest.php.
$ok = true |
Definition at line 80 of file UtfNormalTest.php.
Referenced by ilBookmarkImportExport\__parseNetscape(), HTMLPurifier_Injector_AutoParagraph\_pLookAhead(), ilLTIToolProvider\authenticate(), OAuthSignatureMethod_RSA_SHA1\build_signature(), ilDBGenerator\buildDBGenerationScript(), ilShibbolethRoleAssignmentRules\callPlugin(), ilLDAPRoleAssignmentRules\callPlugin(), OAuthSignatureMethod_RSA_SHA1\check_signature(), ilPCMediaObjectGUI\checkFixSize(), ilLTIToolProvider\checkForShare(), ilMailQuickFilterInputGUI\checkInput(), ilLuceneQueryInputGUI\checkInput(), ilRadioGroupInputGUI\checkInput(), ilCheckboxGroupInputGUI\checkInput(), ilCheckboxInputGUI\checkInput(), ilPropertyFormGUI\checkInput(), ilSubEnabledFormPropertyGUI\checkSubItemsInput(), ilLTIToolProvider\checkValue(), IMSGlobal\LTI\ToolProvider\ResourceLink\checkValueType(), IMSGlobal\LTI\ToolProvider\User\delete(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_pdo_sqlite\deleteContext(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_mysql\deleteContext(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_pdo\deleteContext(), ilLTIDataConnector\deleteContext(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_mysql\deleteResourceLink(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_pdo\deleteResourceLink(), ilLTIDataConnector\deleteResourceLink(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_mysql\deleteResourceLinkShareKey(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_pdo\deleteResourceLinkShareKey(), ilLTIDataConnector\deleteResourceLinkShareKey(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_pdo_sqlite\deleteToolConsumer(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_mysql\deleteToolConsumer(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_pdo\deleteToolConsumer(), ilLTIDataConnector\deleteToolConsumer(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_mysql\deleteUser(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_pdo\deleteUser(), ilLTIDataConnector\deleteUser(), ilSoapUtils\distributeMails(), IMSGlobal\LTI\ToolProvider\ResourceLink\doLTI11Service(), IMSGlobal\LTI\ToolProvider\ResourceLink\doMembershipsService(), IMSGlobal\LTI\ToolProvider\ResourceLink\doService(), HTMLPurifier_Strategy_RemoveForeignElements\execute(), HTMLPurifier_Strategy_MakeWellFormed\execute(), ilUtil\extractParameterString(), ilLDAPRoleAssignmentRules\getAdditionalPluginAttributes(), SeqTreeBuilder\getAuxResources(), IMSGlobal\LTI\ToolProvider\ToolConsumer\getIsAvailable(), SeqTreeBuilder\getObjectives(), SeqTreeBuilder\getRollupRules(), assLongMenuGUI\getSelectGapTemplate(), SeqTreeBuilder\getSequencingRules(), assSingleChoiceGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assLongMenuGUI\getTextGapTemplate(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_pdo\getToolConsumers(), ilLTIToolProvider\handleRequest(), IMSGlobal\LTI\ToolProvider\ToolProxy\load(), IMSGlobal\LTI\ToolProvider\ToolConsumer\load(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_mysql\loadConsumerNonce(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_pdo\loadConsumerNonce(), ilLTIDataConnector\loadConsumerNonce(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_mysql\loadContext(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_pdo\loadContext(), ilLTIDataConnector\loadContext(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_mysql\loadResourceLink(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_pdo\loadResourceLink(), ilLTIDataConnector\loadResourceLink(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_mysql\loadResourceLinkShareKey(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_pdo\loadResourceLinkShareKey(), ilLTIDataConnector\loadResourceLinkShareKey(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_mysql\loadToolConsumer(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_pdo\loadToolConsumer(), ilLTIDataConnector\loadToolConsumer(), ilLTIDataConnector\loadToolConsumerILIAS(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_mysql\loadUser(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_pdo\loadUser(), ilLTIDataConnector\loadUser(), IMSGlobal\LTI\ToolProvider\OAuthDataStore\lookup_nonce(), ilLTIToolProvider\onError(), ilObjectListGUI\parseConditions(), HTMLPurifier_HTMLModuleManager\registerModule(), reportResults(), ilLTIToolProvider\result(), IMSGlobal\LTI\ToolProvider\Context\save(), IMSGlobal\LTI\ToolProvider\User\save(), IMSGlobal\LTI\ToolProvider\ToolConsumer\save(), IMSGlobal\LTI\ToolProvider\ResourceLink\save(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_mysql\saveConsumerNonce(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_pdo\saveConsumerNonce(), ilLTIDataConnector\saveConsumerNonce(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_mysql\saveContext(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_pdo\saveContext(), ilLTIDataConnector\saveContext(), ilObjContentObjectGUI\saveExportIds(), ilLTIToolConsumer\saveLTI(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_mysql\saveResourceLink(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_pdo\saveResourceLink(), ilLTIDataConnector\saveResourceLink(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_mysql\saveResourceLinkShareKey(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_pdo\saveResourceLinkShareKey(), ilLTIDataConnector\saveResourceLinkShareKey(), IMSGlobal\LTI\ToolProvider\Context\saveSettings(), IMSGlobal\LTI\ToolProvider\ToolConsumer\saveSettings(), IMSGlobal\LTI\ToolProvider\ResourceLink\saveSettings(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_mysql\saveToolConsumer(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_pdo\saveToolConsumer(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_mysql\saveUser(), IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector_pdo\saveUser(), ilLTIDataConnector\saveUser(), ilPCDataTable\setData(), ilPCParagraph\setText(), grammarTest\testGrammar(), testLine(), IntConstraintsTest\testRestrict(), ValidationConstraintsCustomTest\testRestrict(), NotTest\testRestrict(), SequentialTest\testRestrict(), ParallelTest\testRestrict(), 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 78 of file UtfNormalTest.php.
Referenced by reportResults().
$testedChars = array() |
Definition at line 81 of file UtfNormalTest.php.
$total = 0 |
Definition at line 77 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 41 of file UtfNormalTest.php.
if (! $in) print Now testing invariants n |
Definition at line 116 of file UtfNormalTest.php.