Dijit TextBox Globalization Test for Number

Before start this test, make sure the dojo/cldr/nls contains the data for "ar-eg" and "hi-in". If not, convert these CLDR data and put them there.

Number Format

Test DescriptionTestExpectedResultComment
Locale: ar_EG12,345.067 Compare (Escaped)
Locale: ar_EG
Locale: ar_EGSee #2 (currency.html).
Locale: ar_EGSee #2 (currency.html).
Locale: hi_INSee #2 (currency.html).
Locale: hi_INSee #2 (currency.html).

Number Validate

Test DescriptionTestInputParsed ValueExpectedResultComment
Locale: ar_EGCorrect
Locale: ar_EGCorrect
Locale: ar_EGCorrectSee #2 (currency.html).
Locale: ar_EGCorrectSee #2 (currency.html).
Locale: hi_INCorrectSee #2 (currency.html).
Locale: hi_INCorrectSee #2 (currency.html).

Currency Format

Test DescriptionTestExpectedResultComment
Locale: ar_EG Currency: EGP
Locale: ar_EG Currency: EGP
Locale: ar_EG Currency: EGPSee #3. Failed in Firefox. See #2.
Locale: ar_EG Currency: EGPSee #3. Failed in Firefox. See #2.

Currency Validate

Test DescriptionTestInputParsed ValueExpectedResultComment
Locale: ar_EG Currency: EGPCorrectFailed in Firefox. See #2.
Locale: ar_EG Currency: EGPCorrectFailed in Firefox. See #2.
Locale: ar_EG Currency: EGPCorrectSee #3. Failed in Firefox. See #2.
Locale: ar_EG Currency: EGPCorrectSee #3. Failed in Firefox. See #2.

Date Format

Test DescriptionTestExpectedResultComment
Locale: ar_EG Format: Short
Locale: ar_EG Format: Medium
Locale: ar_EG Format: Long
Locale: ar_EG Format: Full
Locale: hi_IN Format: ShortSee #3 (currency.html).
Locale: hi_IN Format: MediumSee #3 (currency.html).
Locale: hi_IN Format: LongSee #3 (currency.html).
Locale: hi_IN Format: FullSee #3 (currency.html).

Date Validate

Test DescriptionTestInputParsed ValueExpectedResultComment
Locale: ar_EG Format: ShortCorrect
Locale: ar_EG Format: MediumCorrect
Locale: ar_EG Format: LongCorrect
Locale: ar_EG Format: FullCorrect
Locale: hi_IN Format: ShortCorrectSee #3 (currency.html).
Locale: hi_IN Format: MediumCorrectSee #3 (currency.html).
Locale: hi_IN Format: LongCorrectSee #3 (currency.html).
Locale: hi_IN Format: FullCorrectSee #3 (currency.html).
Clear Close
36 tests to run in 1 groups
------------------------------------------------------------
GROUP "t" has 36 tests to run