test262/test/intl402/PluralRules
Frank Yung-Fong Tang b5fd799fa0
Add Tests for ECMA402 PR811 (#3911)
* Add Tests for ECMA402 PR811

Add tests to check the order of option readings and output
keys in resolvedOptions of Intl.NumberFormat and PluralRules.

* Address reveiw feedback

Hard code the list of property to be inspect for GetOption
Use compareArray

* Update test/intl402/NumberFormat/constructor-option-read-order.js

Co-authored-by: Richard Gibson <richard.gibson@gmail.com>

* Update test/intl402/NumberFormat/constructor-option-read-order.js

Co-authored-by: Richard Gibson <richard.gibson@gmail.com>

* Update test/intl402/NumberFormat/prototype/resolvedOptions/return-keys-order-default.js

Co-authored-by: Richard Gibson <richard.gibson@gmail.com>

* Update test/intl402/PluralRules/constructor-option-read-order.js

Co-authored-by: Richard Gibson <richard.gibson@gmail.com>

* Update test/intl402/PluralRules/constructor-option-read-order.js

Co-authored-by: Richard Gibson <richard.gibson@gmail.com>

* Fix intl402/PluralRules/prototype/resolvedOptions/return-keys-order-default.js

To test all options

* Add more tests

---------

Co-authored-by: Richard Gibson <richard.gibson@gmail.com>
2023-09-26 08:58:27 -07:00
..
prototype Add Tests for ECMA402 PR811 (#3911) 2023-09-26 08:58:27 -07:00
supportedLocalesOf Use verifyProperty in test/intl402/PluralRules tests 2023-09-13 16:05:40 +02:00
builtin.js No longer use testBuiltInObject for built-in constructors 2017-12-21 16:46:56 -05:00
can-be-subclassed.js Remove unused includes in Intl test files 2017-12-21 16:46:56 -05:00
constructor-option-read-order.js Add Tests for ECMA402 PR811 (#3911) 2023-09-26 08:58:27 -07:00
constructor-options-throwing-getters.js Intl: Add tests for throwing getters in options objects. 2018-09-18 11:39:47 -04:00
default-options-object-prototype.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
internals.js Use assert-lib: intl402/PluralRules 2017-05-04 21:25:02 +02:00
length.js Intl: PluralRules, NumberFormat, Number & getCanonicalLocales to use verifyProperty 2018-05-18 12:35:06 -04:00
name.js Intl: PluralRules, NumberFormat, Number & getCanonicalLocales to use verifyProperty 2018-05-18 12:35:06 -04:00
prop-desc.js Intl: PluralRules, NumberFormat, Number & getCanonicalLocales to use verifyProperty 2018-05-18 12:35:06 -04:00
proto-from-ctor-realm.js Add "proto-from-ctor-realm" tests for Intl constructors (#2334) 2019-09-11 17:22:21 -03:00
undefined-newtarget-throws.js Remove unused return value from testWithIntlConstructors 2017-12-21 16:46:55 -05:00