Commit Graph

2505 Commits

Author SHA1 Message Date
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 d249979bc9 Update language tag mapping data 2017-12-21 16:46:55 -05:00
André Bargull 2bf5a3ce26 Add numbering system digits for 'bali' and 'limb' 2017-12-21 16:46:55 -05:00
André Bargull 2efacfe368 Update list of numbering systems to match CLDR 32 2017-12-21 16:46:55 -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 064ce66a5b Remove unused return value for testOption 2017-12-21 16:46:55 -05:00
André Bargull 52980ef496 Move test data for getLocaleSupportInfo into getLocaleSupportInfo 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 f87aeab893 Canada/East-Saskatchewan is no longer a valid time zone identifier (tzdata2017c) 2017-12-21 16:46:55 -05:00
Josh Wolfe 5730f10114 generate some type coercion tests 2017-12-21 16:40:18 -05:00
Ivan Vyshnevskyi 77b60b191c Correct path to helper files directory in "contributing" docs 2017-12-21 16:40:03 -05:00
Rick Waldron 06aaef8ecd Restore & update existing static class field cases/templates 2017-12-21 16:38:08 -05:00
Rick Waldron 53f847b1bc Remove static private/public fields unsupported tests. 2017-12-21 16:37:14 -05:00
Daniel Ehrenberg dc4db968f2 Add tests that public and private static fields are unsupported 2017-12-21 15:21:04 -05:00
Daniel Ehrenberg 2e042d9f9d Regenerate tests 2017-12-21 15:21:04 -05:00
Daniel Ehrenberg d50c33a5b3 Remove static fields tests
Static fields were broken up from instance fields and demoted to
Stage 2 in the November 2017 TC39 meeting. This patch removes the
test262 tests which test static class fields.
2017-12-21 15:21:04 -05:00
Daniel Ehrenberg cb84893f93 Add a test that BigInt does not have a parseInt function 2017-12-21 15:16:22 -05:00
Daniel Ehrenberg 422f91e8fd Remove BigInt.parseInt tests
BigInt.parseInt will be removed in
https://github.com/tc39/proposal-bigint/pull/101

This patch removes the associated test262 tests.
2017-12-21 15:16:22 -05:00
Mathias Bynens 7446e885e9 [regexp-named-groups] Expand tests for `groups` property
The `groups` property must be created unconditionally. https://github.com/tc39/proposal-regexp-named-groups/pull/40
2017-12-20 15:33:37 -05:00
Aakash Patel 4fdbb34914 Remove unnecessary uses of let in harness.
The use of `let` is unnecessary here, particularly in a
file that is needed to run any of the tests, even the ES5 tests.
Removing it allows older engines to run older tests.
2017-12-19 15:50:19 -05:00
Rick Waldron 642d88377f
Merge pull request #1375 from jugglinmike/refactor-for-parsers-assignment
Refactor AssignmentExpression tests for parsers
2017-12-19 15:46:31 -05:00
Rick Waldron dc2596e80d
Merge pull request #1374 from jugglinmike/contributing-typo
Correct metadata reference in "contributing" docs
2017-12-19 15:44:18 -05:00
Rick Waldron a801bdf786 Fix frontmatter 2017-12-19 15:42:57 -05:00
André Bargull 204afb7ba6 Add tests when continue triggers IteratorClose 2017-12-19 15:42:57 -05:00
André Bargull df1e5e7d44 Add more completion value tests for try-statements 2017-12-19 15:42:56 -05:00
André Bargull 7f96cb10c1 Add tests for accessing Infinity on detached typed arrays 2017-12-19 15:42:56 -05:00
André Bargull 6b8bd307d2 Test other-id-start/continue and vertical tilde in identifiers 2017-12-19 15:42:56 -05:00
André Bargull 5a4c067831 Test expression at the rhs of dot-MemberExpression is an IdentifierName 2017-12-19 15:42:56 -05:00
André Bargull f4151fdbc0 Add tests for TCO with eval and cross-realm cases 2017-12-19 15:42:56 -05:00
André Bargull d231b90ea8 Add tests for direct-eval calls with spread expressions 2017-12-19 15:42:56 -05:00
André Bargull 3ce00cf5e3 Add tests for uninitialized bindings when accessed through Object methods and for-in 2017-12-19 15:42:56 -05:00
André Bargull 9f39d988e1 Unicode extension subtags correctly detected in Intl.Collator 2017-12-19 15:42:56 -05:00
André Bargull 1abd6c6593 Extend coverage for Intl.getCanonicalLocales 2017-12-19 15:42:56 -05:00
André Bargull 9b54779018 Add tests for recompilation in @@split 2017-12-19 15:42:56 -05:00
André Bargull eecf0fd06b Add tests for html-comments in Function constructor call 2017-12-19 15:42:56 -05:00
Rick Waldron b4a146ec8f
Merge pull request #1371 from littledan/remove-blank-lines
Remove some spurious blank lines
2017-12-19 14:50:04 -05:00
Rick Waldron fee6c1dfac
Merge pull request #1363 from jugglinmike/extend-install
Formalize installation procedure
2017-12-19 14:36:02 -05:00
Mike Pennisi 025b44f38c Refactor AssignmentExpression tests for parsers
A number of tests for the parsing of the AssignmentExpression production
were expressed using `eval`. This made the tests more complex than
necessary, and also prevented the tests from providing value to
ECMAScript parsers.

Remove the use of `eval` in the relevant tests and instead express the
expectations with literal source text. Remove superfluous "onlyStrict"
restriction from tests by declaring the probe binding prior to
assignment.
2017-12-10 15:59:11 -05:00