Commit Graph

104 Commits

Author SHA1 Message Date
Ms2ger 650adc13bf Intl.Locale: Update expectation for empty values for collation and numberingSystem.
The spec changed in https://github.com/tc39/proposal-intl-locale/pull/47.

The tests for calendar were already correct.
2018-06-13 09:43:08 +02:00
Rick Waldron acf6de15ec intl402/NumberFormat/length.js: remove calls to verifyNotEnumerable, verifyNotWritable, verifyConfigurable. Fixes gh-1591 2018-06-07 22:14:33 -04:00
Rick Waldron 11f476cdbb
Merge pull request #1586 from Ms2ger/getCanonicalLocales-Locale
Add a test for passing Intl.Locale objects to Intl.getCanonicalLocales().
2018-06-04 17:01:51 -04:00
Rick Waldron f71ce6d29a
Merge pull request #1585 from Ms2ger/Locale-branding
Add tests for branding checks in Intl.Locale.prototype members.
2018-06-04 17:01:15 -04:00
Rick Waldron b0aff0d2e3
Merge pull request #1574 from Ms2ger/Locale-getter-name
Add tests for the names of getters on Intl.Locale.prototype.
2018-06-04 16:13:47 -04:00
Ms2ger 11e3c5fc00 Add a test for passing Intl.Locale objects to Intl.getCanonicalLocales(). 2018-06-04 18:03:19 +02:00
Ms2ger 326fe2b8ac Add tests for branding checks in Intl.Locale.prototype members. 2018-06-04 17:38:52 +02:00
Rick Waldron 1fbe20290d
Merge pull request #1583 from Ms2ger/Locale-various
Various additions to the Intl.Locale test coverage.
2018-06-04 11:33:03 -04:00
Ms2ger 501a9a674f Various additions to the Intl.Locale test coverage. 2018-06-04 14:08:28 +02:00
Ms2ger 8ce24bb837 Add a test for Locale#{minimize,maximize}. 2018-06-04 11:27:42 +02:00
Rick Waldron 92003a3e52
Merge pull request #1576 from Ms2ger/pluralCategories
Add a test for pluralrules.resolvedOptions().pluralCategories.
2018-05-29 14:08:41 -04:00
Rick Waldron c1c60447f3 Intl.Locale: fix typo in assertion message (#1575) 2018-05-29 14:02:28 -04:00
Ms2ger cd6198b69c Add a test for pluralrules.resolvedOptions().pluralCategories. 2018-05-29 17:34:34 +02:00
Ms2ger 4dbd18197e Add tests for the names of getters on Intl.Locale.prototype. 2018-05-29 15:34:58 +02:00
Rick Waldron fbccd8eeff Intl: PluralRules, NumberFormat, Number & getCanonicalLocales to use verifyProperty
There's a lot of work like this to do, but not enough time in the day to reach it all.
2018-05-18 12:35:06 -04:00
Rick Waldron 50de5f98ab Intl.Locale: ensure that the expect value is correctly printed in the assertion message 2018-05-17 17:30:48 -04:00
Rick Waldron a33ccf6bf1
Merge pull request #1558 from Ms2ger/Locale-constructor-options
Improve and extend the tests for ApplyOptionsToTag.
2018-05-17 17:16:57 -04:00
Rick Waldron bd7b77c17d Intl.Locale: relocate test files 2018-05-17 17:14:01 -04:00
Ms2ger ce8d0520b8 Add some more Locale tests. 2018-05-15 17:27:57 +02:00
Ms2ger 9300187c75 Improve and extend the tests for ApplyOptionsToTag. 2018-05-15 14:37:31 +02:00
Rick Waldron e845e21bf5 Intl.Locale: minor fixups (#1554)
- fix mixed up test & info
- add Symbol feature
- maximize length is 0
- maximize configurability is true
2018-05-11 16:37:52 -03:00
Rick Waldron 83d815328f Intl.Locale: follow up tasks, set 1. Ref gh-1538 (#1540) 2018-05-04 14:49:37 -03:00
Ms2ger eecf4d46ad Submit some Intl.Locale() tests.
Some of these are based on work by André Bargull in
<https://bugzilla.mozilla.org/show_bug.cgi?id=1433303>.
2018-05-03 14:21:10 -04:00
Ms2ger 190cf5c730 Extract list of structurally invalid tags from invalid-tags.js. 2018-05-03 14:20:39 -04:00
André Bargull b552dad5cb Various test cases for cross-browser compliance bugs 2018-05-03 09:27:27 -07:00
André Bargull 40a7bd2401 Add test cases for tc39/ecma402#194 2018-01-25 14:04:44 -05:00
André Bargull 0ec5b02ac6 Add test case for tc39/ecma402#204 2018-01-25 13:59:15 -05:00
Rick Waldron d7b5715e6c Fix: various lint fixes 2018-01-11 10:21:08 -05:00
Rick Waldron 92a2621901 Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
Rick Waldron 5155397373 Add missing features 2017-12-21 16:46:57 -05:00
André Bargull 91460f90de Update property-descriptor tests to use verifyProperty 2017-12-21 16:46:56 -05:00
André Bargull c9ef958d01 Update currency digits data 2017-12-21 16:46:56 -05:00
André Bargull b6e9f9425f Remove unused includes in Intl test files 2017-12-21 16:46:56 -05:00
André Bargull a380c6b000 Use more descriptive names for Intl test files 2017-12-21 16:46:56 -05:00
André Bargull 60692bb6e0 Move remaining testBuiltInObject callers to use normal assert calls 2017-12-21 16:46:56 -05:00
André Bargull c81370348d No longer use testBuiltInObject for built-in objects 2017-12-21 16:46:56 -05:00
André Bargull ecf814bb4c No longer use testBuiltInObject for built-in constructors 2017-12-21 16:46:56 -05:00
André Bargull 4337b396bd Add separate test files for property attributes of Intl properties 2017-12-21 16:46:56 -05:00
André Bargull 513a3056fb Add separate test files to test the length property of Intl functions 2017-12-21 16:46:56 -05:00
André Bargull c2c274fe8a Update collations and calendar data in test files to CLDR 32 2017-12-21 16:46:56 -05:00
André Bargull f65bd7af7a Require correct hour-cycle setting instead of either h11 or h12 resp. h23 or h24 2017-12-21 16:46:56 -05:00
André Bargull 72db5f1ec1 Replace mustHaveProperty with verifyProperty 2017-12-21 16:46:56 -05:00
André Bargull ce3c3d7dbd Replace mustNotHaveProperty with verifyProperty 2017-12-21 16:46:56 -05:00
André Bargull 20ea611db7 Replace mayHaveProperty with verifyProperty 2017-12-21 16:46:56 -05:00
André Bargull 56323fe2dd Also test Intl.PluralRules if available 2017-12-21 16:46:55 -05:00
André Bargull 48173672f2 Inline testValidDateTimeComponentValue into single test using this function 2017-12-21 16:46:55 -05:00
André Bargull 017fa6d55f Remove caching of getLocaleSupportInfo() return value 2017-12-21 16:46:55 -05:00
André Bargull 123259733b Replace testArraysAreSame with assert.compareArray 2017-12-21 16:46:55 -05:00
André Bargull e65c65c293 Remove unused return value from testWithIntlConstructors 2017-12-21 16:46:55 -05:00
André Bargull 9f39d988e1 Unicode extension subtags correctly detected in Intl.Collator 2017-12-19 15:42:56 -05:00