2310 Commits

Author SHA1 Message Date
Michael Ficarra
041da54c02 add flatten/flatMap to features.txt and mark appropriate tests 2018-01-05 16:59:34 -05:00
Michael Ficarra
d8233624aa add missing compareArray function 2018-01-05 16:59:34 -05:00
Michael Ficarra
6bd7b21a2b add myself to flatten/flatMap copyrights 2018-01-05 16:59:34 -05:00
Michael Ficarra
33b6c31331 use onlyStrict flag instead of "use strict" directive 2018-01-05 16:59:34 -05:00
Michael Ficarra
02ceb62400 flatMap/flatten test improvements 2018-01-05 16:59:34 -05:00
shilpi
1547e49c95 flatten and flatMap tests 2018-01-05 16:59:34 -05:00
Rick Waldron
e9e928babe Resolving conflicts in class-fields src templates 2018-01-05 15:31:17 -05:00
Mike Pennisi
e6d674ef7a Rename negative test "phase" for module resolution 2018-01-05 15:17:51 -05:00
Mike Pennisi
136110378b Rename negative test "phase" for parsing
Early errors may result from parsing the source text of a test file, but
they may also result from parsing some other source text as referenced
through the ES2015 module syntax. The latter form of early error is not
necessarily detectable by ECMAScript parsers, however. Because of this,
the label "early" is not sufficiently precise for all Test262 consumers
to correctly interpret all tests.

Update the "phase" name of "early" to "parse" for all those negative
tests that describe errors resulting from parsing of the file's source
text directly. A forthcoming commit will update the remaining tests to
use a "phase" name that is more specific to module resolution.
2018-01-05 15:17:50 -05:00
Rick Waldron
66df349af3 Assert that promise callbacks were actually called. Closes #1328
Originally reported here: https://github.com/tc39/test262/pull/1328, OP passed on revising.
2018-01-05 13:23:35 -05:00
Rick Waldron
02f1a0b630 Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:50:00 -05:00
Ivan Vyshnevskyi
7b868091a7 Add ToNumber tests for invalid HexIntegralLiterals 2018-01-05 12:48:57 -05:00
Ivan Vyshnevskyi
d540256163 Add more ToNumber tests for invalid binary and octal literals 2018-01-05 12:48:57 -05:00
Josh Wolfe
4f06f98771 Infix operator ToNumeric coercion tests for BigInt operands 2018-01-05 12:46:27 -05:00
Rick Waldron
89ac510488 Frontmatter: fixup "description: |" to "description: >" 2018-01-05 12:29:17 -05:00
Rick Waldron
92a2621901 Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
Josh Wolfe
e10344acf2 generate type coercion tests for DataView tests 2018-01-05 12:09:17 -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
48c3240580 Add test/harness file for isConstructor.js 2017-12-21 16:46:56 -05:00
André Bargull
266e0ffb66 Remove harness/testBuiltInObject.js file 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
Josh Wolfe
5730f10114 generate some type coercion tests 2017-12-21 16:40:18 -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
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
a801bdf786 Fix frontmatter 2017-12-19 15:42:57 -05:00