MediaWiki  REL1_19
UtfNormalTest.php File Reference

Implements the conformance test at: http://www.unicode.org/Public/UNIDATA/NormalizationTest.txt. More...

Go to the source code of this file.

Variables

 $failure = 0
if(php_sapi_name()!= 'cli') $in = fopen("NormalizationTest.txt", "rt")
if(!$in) $normalizer = new UtfNormal
 $ok = true
 $success = 0
 $testedChars = array()
 $total = 0
 $verbose = true
if(!$in) print Now testing
invariants 
n

Detailed Description

Implements the conformance test at: http://www.unicode.org/Public/UNIDATA/NormalizationTest.txt.

Copyright © 2004 Brion Vibber <[email protected]> http://www.mediawiki.org/

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Definition in file UtfNormalTest.php.


Variable Documentation

$failure = 0

Definition at line 72 of file UtfNormalTest.php.

$in = fopen("NormalizationTest.txt", "rt")

Definition at line 60 of file UtfNormalTest.php.

if (!$in) $normalizer = new UtfNormal

Definition at line 68 of file UtfNormalTest.php.

$success = 0

Definition at line 71 of file UtfNormalTest.php.

$testedChars = array()

Definition at line 74 of file UtfNormalTest.php.

$total = 0

Definition at line 70 of file UtfNormalTest.php.

$verbose = true

Definition at line 28 of file UtfNormalTest.php.

if (!$in) print Now testing invariants n

Definition at line 105 of file UtfNormalTest.php.