36 Commits

Author SHA1 Message Date
jmdyck
11624af8d0
Update "info" field (#2941)
The quoted spec wording changed in ecma262#1694.
2021-01-28 16:03:01 -08:00
Leo Balter
4d40dd5ade Generate tests 2018-12-21 15:47:01 -05:00
Leo Balter
d73548b027 Generate tests 2018-12-21 15:47:01 -05:00
Leo Balter
3703d2bad1 Generate tests 2018-12-20 12:49:50 -05:00
Leo Balter
7be4e99f80 Generate tests 2018-11-28 10:26:13 -05:00
Leo Balter
238c88d4a0 Generate tests 2018-11-13 20:21:32 -05:00
Leo Balter
10dc6ff75a Generate tests 2018-11-13 20:21:32 -05:00
Leo Balter
50601e7aad Generate tests 2018-11-13 20:21:32 -05:00
Mathias Bynens
8869799c6d Rebase, regenerate, and update tests 2018-10-23 13:51:17 +02:00
Mathias Bynens
b9daa57dcb Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
Mathias Bynens
e3feffb01e Move throw "…" for negative parsing errors to a helper function
Closes #1634.
2018-10-23 13:51:16 +02:00
Rick Waldron
3bcb28e918 Generate tests 2018-10-15 12:43:16 -04:00
Kubilay Kahveci
395adc3a7c Generate tests 2018-09-18 14:16:20 -04:00
Rick Waldron
6bedd8f1c6
Merge pull request #1717 from leobalter/1711-fixes
Apply fixes on recent class element tests
2018-09-11 11:22:43 -04:00
Leo Balter
a17484e230 Generate Tests 2018-09-10 17:13:06 -04:00
Leo Balter
5cdbf084a7 Generate tests 2018-09-10 14:13:39 -04:00
Leo Balter
a9837df144 Generate tests 2018-09-10 11:20:40 -04:00
Leo Balter
7766d0fb66 Generate tests 2018-09-10 11:20:40 -04:00
Leo Balter
94a40cb474 Generate tests 2018-09-10 11:20:40 -04:00
Leo Balter
8524805f25 Final cases to move to tests generation 2018-09-10 11:20:40 -04:00
Leo Balter
bcfc576af4 Generate tests 2018-09-10 11:20:40 -04:00
Leo Balter
daea4efc57 Generate tests 2018-09-10 11:20:40 -04:00
Leo Balter
20217a7eeb add cases for static method names named prototype 2018-09-10 11:20:40 -04:00
Leo Balter
ef591384d8 Remove old duplicate tests 2018-09-10 11:20:40 -04:00
Leo Balter
ee9739c699 Generate tests 2018-09-10 11:20:40 -04:00
Leo Balter
af9bcfef5f Generate tests 2018-09-10 11:20:40 -04:00
Leo Balter
92c83dfbd4 Add cases for non-ctor methods containing direct super 2018-09-10 11:20:40 -04:00
Leo Balter
bf5661bf60 Generate tests 2018-09-10 11:20:40 -04:00
Leo Balter
46e03c3875 add generation cases for special methods with propname constructor 2018-09-10 11:20:40 -04: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
92a2621901 Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
Leo Balter
f8f5a7a1e7
Add missing generators flags 2017-10-26 19:04:57 -04:00
Mike Pennisi
81d00def42 Force "early error" tests to fail if evaluated
This pattern makes expectations more explicit by making test files more
literal.
2017-06-28 11:24:36 -04:00
André Bargull
3d8fe2af4c Add tests for contextual keywords with escape sequences 2017-05-02 12:09:29 -07:00
Mike Pennisi
7d4b1d28ae Re-format tests for SyntaxErrors
Authored via the following command:

   $ find test -type f -print0 | \
       xargs -0 sed \
         -i 's/^\(\s*\)negative:\s*SyntaxError\s*$/\1negative:\n\1  phase: early\n\1  type: SyntaxError/g'
2016-10-19 15:24:21 -04:00
Rick Waldron
29e2990d9b 14.5 Class Definitions
- 14.5.1 Static Semantics: Early Errors
- 14.5.3 Static Semantics: ConstructorMethod
- 14.5.14 Runtime Semantics: ClassDefinitionEvaluation
2015-05-02 14:06:57 -04:00