test262/test/intl402/NumberFormat
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
supportedLocalesOf
builtin.js
casing-numbering-system-options.js
constructor-compactDisplay-compact.js
constructor-compactDisplay-no-compact.js
constructor-default-value.js
constructor-locales-arraylike.js
constructor-locales-get-tostring.js
constructor-locales-hasproperty.js
constructor-locales-string.js
constructor-locales-toobject.js
constructor-no-instanceof.js
constructor-notation.js
constructor-numberingSystem-order.js
constructor-option-read-order.js
constructor-options-numberingSystem-invalid.js
constructor-options-roundingMode-invalid.js
constructor-options-throwing-getters-rounding-increment.js
constructor-options-throwing-getters-rounding-mode.js
constructor-options-throwing-getters-rounding-priority.js
constructor-options-throwing-getters-trailing-zero-display.js
constructor-options-throwing-getters.js
constructor-options-toobject.js
constructor-order.js
constructor-roundingIncrement-invalid.js
constructor-roundingIncrement.js
constructor-signDisplay-negative.js
constructor-signDisplay.js
constructor-trailingZeroDisplay-invalid.js
constructor-trailingZeroDisplay.js
constructor-unit.js
constructor-unitDisplay.js
currency-code-invalid.js
currency-code-well-formed.js
currency-digits.js
currencyDisplay-unit.js
default-minimum-singificant-digits.js
default-options-object-prototype.js
dft-currency-mnfd-range-check-mxfd.js
fraction-digit-options-read-once.js
ignore-invalid-unicode-ext-values.js
instance-proto-and-extensible.js
intl-legacy-constructed-symbol-on-unwrap.js
intl-legacy-constructed-symbol.js
legacy-regexp-statics-not-modified.js
length.js
name.js
numbering-system-options.js
prop-desc.js
proto-from-ctor-realm.js
significant-digits-options-get-sequence.js
style-unit.js
subclassing.js
taint-Object-prototype.js
test-option-currency.js
test-option-currencyDisplay.js
test-option-localeMatcher.js
test-option-roundingPriority-mixed-options.js
test-option-roundingPriority.js
test-option-style.js
test-option-useGrouping-extended.js
test-option-useGrouping.js
this-value-ignored.js
throws-for-currency-style-without-currency-option.js
throws-for-maximumFractionDigits-over-limit.js
throws-for-maximumFractionDigits-under-limit.js
throws-for-minimumFractionDigits-over-limit.js
throws-for-minimumFractionDigits-under-limit.js