Class I18N_Punycode_Test

Description

Testcases-class

Located in /tests/encoding-decoding.php (line 40)

PHPUnit_TestCase
   |
   --I18N_Punycode_Test
Method Summary
 I18N_Punycode_Test I18N_Punycode_Test (mixed $name)
 void setUp ()
 void tearDown ()
 void testAsciiDecode ()
 void testAsciiEncode ()
Methods
Constructor I18N_Punycode_Test (line 41)
I18N_Punycode_Test I18N_Punycode_Test (mixed $name)
setUp (line 46)
void setUp ()
tearDown (line 47)
void tearDown ()
testAsciiDecode (line 93)

Perform decoding-tests using I18N_Punycode_ASCII

!! Note that the ASCII-handling only supports a limited set of the Punycode-implementation. If possible it's generally better to use Unicode.

  • access: public
void testAsciiDecode ()
testAsciiEncode (line 57)

Perform encoding-tests using I18N_Punycode_ASCII

!! Note that the ASCII-handling only supports a limited set of the Punycode-implementation. If possible it's generally better to use Unicode.

  • access: public
void testAsciiEncode ()
testUnicodeDecode_ISO_8859_1 (line 110)

Perform decoding-tests using I18N_Punycode_Unicode

Here we use strings in ISO-8859-1 format. But internally they are converted and processed as Unicode.

  • access: public
void testUnicodeDecode_ISO_8859_1 ()
testUnicodeEncode_ISO_8859_1 (line 75)

Perform encoding-tests using I18N_Punycode_Unicode

Here we use strings in ISO-8859-1 format. But internally they are converted and processed as Unicode.

  • access: public
void testUnicodeEncode_ISO_8859_1 ()
testUnicodeEncode_RFC3492_UCS4 (line 144)

Perform encoding-tests using I18N_Punycode_Unicode; tests taken from RFC3492

The test-strings are in various languages, including e.g. Chinese or Cyrillic. They function as tests for "exotic" input-strings, and seem to be a very wide range of tests.

  • access: public
void testUnicodeEncode_RFC3492_UCS4 ()

Documentation generated on Sun, 9 May 2004 19:35:30 +0200 by phpDocumentor 1.3.0RC2