417 Commits

Author SHA1 Message Date
jungshik
fb45ed9772 Test that getCanonicalLocales() returns a mutable object. (#746)
Will fix #745

Besides, add additional checks to make sure that getCanonicalLocales()
returns an array.
2016-08-22 14:25:00 -07:00
Zibi Braniecki
cac55f2999 NumberFormat.prototype.formatToParts tests, part 1 (#744) 2016-08-15 15:23:34 -07:00
Zibi Braniecki
1bf44eb349 Add DateTimeFormat.prototype.formatToParts tests (#734) 2016-07-28 10:22:09 -07:00
Zibi Braniecki
aeb88953f0 Add tests for Intl.getCanonicalLocales 2016-06-07 14:52:04 -04:00
Mike Pennisi
eb644bb2da Reduce reliance on fnGlobalObject.js
This harness function is not necessary in the majority of cases in which
it is used. Remove its usage to simplify tests and decrease the amount
of domain-specific knowledge necessary to contribute to the test suite.

Persist the harness function itself for use by future tests for ES2015
modules (such a helper is necessary for tests that are interpreted as
module code).
2016-04-25 11:09:21 -07:00
Leonardo Balter
bf782c8421 s/id/esid
Fixes #477
2016-02-22 09:47:42 -05:00
André Bargull
31a9036e9b Add coverage for 'name' property of Intl built-in functions 2016-02-12 18:58:57 +01:00
André Bargull
3a30a72269 Add tests for special case mappings 2015-09-07 18:22:07 +02:00
André Bargull
932bd1a12c Move intl tests to sub-folders 2015-07-31 17:12:08 +02:00
André Bargull
d5075819e9 Check resolved time zone is valid 2015-07-08 19:13:55 +02:00
André Bargull
438b87b5b6 Intl sub-classing is now restricted to class syntax. 2015-07-08 19:13:31 +02:00
André Bargull
888524ff1d Intl constructors are no longer able to initialize arbitrary objects as Intl objects. Update tests accordingly. 2015-07-08 19:13:06 +02:00
André Bargull
b5efa1dd83 Update comments to match correct ES2015 chapter 2015-07-08 19:12:39 +02:00
Brian Terlson
6311f00ce9 Remove enochian-enochian (fixes gh-227) 2015-04-21 15:08:19 -07:00
André Bargull
6aa73b5a2b Changes for currency data
- Update minor unit for CLF
- Remove withdrawn currencies (LVL, LTL, USS)
- Update link to new location

Fixes #98
2015-03-23 18:45:35 +01:00
André Bargull
0dbafac5a6 Add 'var' declarations for strict mode
This change adds 'var' declarations for global variables to allow the tests to run in strict mode (see issue #35).
Extra care was taken to ensure the changes do not alter the test behavior, for example when implicit creation of global variables are part of the test.
Note: The change does not fix all strict mode errors due to missing 'var' declarations.
2014-12-10 16:37:05 -08:00
Brian Terlson
2a74f0ec1b Reorganize ./test 2014-12-07 15:33:09 -08:00