MediaWiki  REL1_22
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
 $in = fopen("NormalizationTest.txt", "rt")
if(!$in$normalizer = new UtfNormal
 $ok = true
 $success = 0
 $testedChars = array()
 $total = 0
if(PHP_SAPI!= 'cli') $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 69 of file UtfNormalTest.php.

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

Definition at line 57 of file UtfNormalTest.php.

if (!$in) $normalizer = new UtfNormal

Definition at line 65 of file UtfNormalTest.php.

$success = 0

Definition at line 68 of file UtfNormalTest.php.

$testedChars = array()

Definition at line 71 of file UtfNormalTest.php.

$total = 0

Definition at line 67 of file UtfNormalTest.php.

if (PHP_SAPI!= 'cli') $verbose = true

Definition at line 32 of file UtfNormalTest.php.

if (!$in) print Now testing invariants n

Definition at line 102 of file UtfNormalTest.php.