Commit Graph

367 Commits

Author SHA1 Message Date
Leo Balter 053aed901a Regenerate tests 2018-11-06 10:35:22 -05:00
Katie Broida f11d0ab3d5 Fix class syntax 2018-11-06 10:35:22 -05:00
Katie Broida 9ccf0a822f Generate tests 2018-11-06 10:35:22 -05:00
Leo Balter 69c1efd325 Generate tests 2018-11-05 12:17:14 -05:00
Leo Balter ecb5fcbe33
Merge pull request #1840 from jugglinmike/refactor-for-parsers-var
Refactor variable declaration tests for parsers
2018-11-05 10:12:24 -05:00
Mike Pennisi a7deb7bcce Add tests for `arguments` within function body 2018-10-28 16:23:38 -04:00
Rick Waldron f1e362d558 Fix typos; generate tests (#1907) 2018-10-26 17:11:05 -04:00
Kubilay Kahveci b7fb4ade5e Generate tests 2018-10-26 15:12:43 -04:00
Rick Waldron 3bcb28e918 Generate tests 2018-10-15 12:43:16 -04:00
Mike Pennisi aac38cb368 Normalize coverage for `var` declarations
Add tests to mirror similar tests which were authored previously.
2018-10-07 16:49:50 -04:00
Mike Pennisi b819c597ab Remove redundant test
This behavior is covered by another test in this directory:
`arguments-strict-single.js`. Although the syntax error happens to occur
within the body of a function expression, this distinction is not
significant enough to warrant the test's presence nor does it motivate
the introduction of many similar negative syntax tests which are
currently unavailable.
2018-10-07 16:49:49 -04:00
Mike Pennisi 6b00c8fbfe Rename and refactor tests
The tests for the parsing of variable declarations 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 and instead express the expectations with literal
source text.
2018-10-07 16:49:49 -04:00
Mike Pennisi ceb79988ae Relocate and refactor tests
The tests for the parsing of `for/in` loops 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 and instead express the expectations with literal
source text. Move the tests to the `for-in` directory to better reflect
the grammar production that they test.
2018-10-07 16:48:42 -04:00
Mike Pennisi 835c202b36 Remove redundant and irrelevant tests
Two tests placed within the "variable" directory do not include a variable
declaration. Because the behavior they assert is covered by an existing
test (test/language/arguments-object/10.5-1gs.js), they may be removed
without reducing coverage.
2018-10-07 16:43:08 -04:00
Timothy Gu 140d922d4c Add async-functions feature to more files (#1830) 2018-10-05 10:37:21 -04:00
Leo Balter 754fe94c5d fixup! Generate tests 2018-10-04 16:21:11 -04:00
Rick Waldron a7ba033337 Generate tests 2018-10-04 16:21:11 -04:00
Leo Balter 5896ba49be Generate tests 2018-10-04 10:32:01 -04:00
Leo Balter 46fcbf81d1 Generate tests 2018-09-26 09:18:46 -04:00
Kubilay Kahveci 395adc3a7c Generate tests 2018-09-18 14:16:20 -04:00
Leo Balter 317cacdcc9 Fix test generation 2018-09-13 14:55:32 -04:00
Rick Waldron 5c02a094cb Generate tests 2018-09-13 10:23:49 -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
Rick Waldron 2c714ede1d
Merge pull request #1719 from leobalter/private-fields-methods-whitespace-syntax-error
Private fields and methods whitespace syntax error
2018-09-11 11:20:44 -04:00
Leo Balter a17484e230 Generate Tests 2018-09-10 17:13:06 -04:00
Leo Balter b056d138fa generate tests 2018-09-10 14:15:40 -04:00
Leo Balter 5cdbf084a7 Generate tests 2018-09-10 14:13:39 -04:00
Rick Waldron 6aa46d0ddb
Merge pull request #1707 from leobalter/private-methods-args
Add class private methods (include static) to arguments templates
2018-09-10 11:57:40 -04:00
Leo Balter a9837df144 Generate tests 2018-09-10 11:20:40 -04:00
Leo Balter e28a6f37d0 remove old duplicates 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
Leo Balter eae139d8ef Generate tests 2018-09-04 17:10:51 -04:00
Leo Balter 2c9583a309 Generate tests 2018-09-04 12:40:30 -04:00
Leo Balter a4faf41ed6 Generate tests 2018-08-31 15:22:43 -04:00
Leo Balter fa36c45083 Fix generated tests 2018-08-21 16:32:10 -04:00
Leo Balter dbcd388154 Remove duplicate of test/language/statements/class/fields-privatename-constructor-err.js 2018-08-21 16:24:37 -04:00
Leo Balter e25e53c0a7 Fix tests for #constructor 2018-08-21 16:11:27 -04:00
Leo Balter 45a31876e7 Fix tests for computed names in class fields - ctor and prototype 2018-08-21 15:50:39 -04:00
Leo Balter 3690d98e27 Generate tests 2018-08-21 12:47:19 -04:00