111 Commits

Author SHA1 Message Date
Frank Yung-Fong Tang
0213936e95 remove test for abandon ecma402/pull/345 (#2368)
https://github.com/tc39/ecma402/pull/345
2019-09-26 14:23:24 -04:00
Mike Pennisi
f26c2a11bd Remove unnecessary "includes" directives
The values defined by the referenced files are not used by these tests.
This makes their inclusion superfluous, which needlessly increases the
time to execute the tests and may confuse some readers.
2019-09-25 13:59:24 -04:00
Alexey Shvayka
ef7fd2bc27 Add "proto-from-ctor-realm" tests for Intl constructors (#2334)
* Rename "Object/proto-from-ctor.js" test

* Add missing "Symbol" features

* Add Intl.Collator test

* Add Intl.DateTimeFormat test

* Add Intl.NumberFormat test

* Add Intl.PluralRules test
2019-09-11 17:22:21 -03:00
André Bargull
59a1a016b7 Assign "name" property to all anonymous functions (#2299)
Implements the changes from <https://github.com/tc39/ecma262/pull/1490>.
2019-08-15 10:58:40 -04:00
Frank Yung-Fong Tang
76eca53cb8 add fractionalSecondDigits.js for formatRange (#2242) 2019-07-22 08:54:24 -04:00
Leo Balter
cd79eada15 Update test files to follow lint rule 2019-07-15 14:03:25 -04:00
Frank Yung-Fong Tang
f7e6656c13 Remove tests for "quarter" option of Intl.DateTimeFormat (#2232) 2019-07-15 13:51:22 -04:00
Frank Yung-Fong Tang
53d14f56bb Add tests for format/formatToParts of fractionalSecondDigits option (#2234)
* Add more tests for fractionalSecondDigits

* + test of fractionalSecondDigits formatToParts
2019-07-15 13:50:25 -04:00
Frank Yung-Fong Tang
281c7ff5d0 Correct features to Intl.DateTimeFormat-dayPeriod (#2222) 2019-07-03 18:09:45 -04:00
Leo Balter
b41b0577a0 Add tests for DateTimeFormat using dayPeriod 2019-07-02 10:04:43 -04:00
Leo Balter
ab046dc1ea Cleanups for tests
Ref https://github.com/tc39/test262/pull/2194
2019-06-12 14:06:22 -04:00
Frank Yung-Fong Tang
49eee8bf9d Initial tests for Intl.DateTimeFormat quarter/dayPeriod/fractionalSecondDigits (#2194) 2019-06-12 11:55:53 -04:00
Ross Kirsling
a919d53019 Fix invalid YAML in formatRange* tests. (#2157) 2019-05-16 13:46:55 -04:00
Daniel Ehrenberg
80af423aca intl tests for proposed additional options in options bag (#1225)
This patch implements tests for the ECMA 402 PR at
https://github.com/tc39/ecma402/pull/175

It is based on the test test/intl402/Collator/10.1.1_19_c.js
2019-05-16 13:46:08 -04:00
Ms2ger
0e8d1a29be Add tests for Intl.DateTimeFormat formatRange and formatRangeToParts (#2139) 2019-05-08 11:40:33 -04:00
Frank Yung-Fong Tang
d47749e84d Use verifyProperty and remove dup check (#2146) 2019-05-02 19:49:40 -04:00
Frank Yung-Fong Tang
4b25f6fae8 Add initial tests for Intl.DateTimeFormat formatRange and formatRangeToParts (#2134) 2019-05-01 15:20:29 -04:00
Ms2ger
94c498a792 Test the interaction of timeStyle and u-hc locale tags. (#2144) 2019-05-01 13:13:50 -04:00
Ms2ger
c03e14263e Add tests for the datetime-style proposal. (#2125) 2019-04-10 11:09:40 -04:00
Rick Waldron
c4cca0b769
Merge pull request #1937 from ryzokuken/dtf-constructor-options-toobject
intl: increase coverage for DateTimeFormat
2018-11-08 09:25:28 -05:00
Ujjwal Sharma
0fc80cffc5
intl: increase coverage for DateTimeFormat
Increase coverage for the Intl.DateTimeFormat constructor by adding a
test that confirms that ToObject(...) is appropriately called inside the
implementation.
2018-11-08 11:55:52 +05:30
Ujjwal Sharma
46515dcb19
intl: increase coverage for DateTimeFormat
Increase coverage for the Intl.DateTimeFormat constructor by adding a
test that checks for the default values.
2018-11-08 11:37:02 +05:30
Ms2ger
fa16d7df3f Intl: Add tests for table iteration order.
The order was defined in <https://github.com/tc39/ecma402/pull/279>.
2018-10-17 12:59:38 -04:00
André Bargull
d3e5b818d9 Revert "remove "invalid" from invalid date of "cu" and "nu""
This reverts commit a1c3929c3580103acf593b4390d3ad7a77697fba.
2018-10-17 07:46:46 -07:00
Frank Tang
a1c3929c35 remove "invalid" from invalid date of "cu" and "nu" 2018-10-03 13:22:29 -04:00
Ms2ger
9271068a83 Intl: Add tests for throwing getters in options objects. 2018-09-18 11:39:47 -04:00
Rick Waldron
b893503aa8 Intl.DateTimeFormat: formatToParts nitpicking 2018-08-10 15:35:04 -04:00
PhistucK
2afcf1d3d9
Added a legal part types test 2018-07-20 11:12:10 +03: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
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
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
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
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
Zibi Braniecki
a042cd68f7 Intl.DateTimeFormat hourCycle tests (#1265) 2017-10-06 12:23:57 -04:00
Daniel Ehrenberg
765f273ac4 intl: Tests for default options tweak proposal (#1220)
Tests for ECMA 402 PR https://github.com/tc39/ecma402/pull/170
The tests on Date/DateTimeFormat are valid without the PR.
2017-09-12 12:12:55 -04:00