Dijit TextBox Globalization Test

Natural Language Casing Mapping

Test DescriptionTestExpectedResultComment
Upper casing: Basic LatinABCDEFGHIJKLMNOPQRSTUVWXYZ Compare (Escaped)
Upper casing: Latin with accentsÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ Compare (Escaped)
Upper casing: TurkishII Compare (Escaped)See #1.
Upper casing: RussianАБВГДЕЖЗ Compare (Escaped)
Upper casing: GermanSee #1.
Lower casing: TurkishSee #1.
Title/Proper casing: LatinSee #1.

White-space Detecting

Test DescriptionTestExpectedResultComment
Normal space & tab
NO-BREAK SPACEFailed in IE. See #2.
EN QUADFailed in IE. See #2.
IDEOGRAPHIC SPACEFailed in IE. See #2.

Issues & Comments

Issue #1 Not fixed. Avoid using this function of TextBox.

Strictly speaking, all casing manipulation must use ICU case mapping rules (routine). However, the default JavaScript routines used by Dojo do not support ICU case mapping rules in all browsers.

Issue #2 Not fixed. Avoid using this function of TextBox.

Trimming must get rid of all Unicode characters with the white space property. However, the default JavaScript routines used by Dojo do not support get character properties in some browsers like IE. Other browsers like Firefox might support trimming more white space characters.

11 tests to run in 1 groups
------------------------------------------------------------
GROUP "t" has 11 tests to run
PASSED test: format-0 0 ms
PASSED test: format-1 0 ms
_AssertFailure: doh._AssertFailure: assertEqual() failed: expected Iİ but got II : assertEqual() failed: expected Iİ but got II
ERROR IN: {anonymous}
FAILED test: format-2 0 ms