505 Commits

Author SHA1 Message Date
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
Leo Balter
dacc69a066
Generate tests 2018-08-21 12:17:05 -04:00
Leo Balter
9a7fa8cb91 Generate tests 2018-08-20 17:12:40 -04:00
Leo Balter
de1bbd65c8 Generate tests 2018-08-20 16:38:54 -04:00
Leo Balter
96809308fd Generate tests 2018-08-20 16:38:54 -04:00
Leo Balter
c5a1a4a24b Generate tests 2018-08-20 16:38:54 -04:00
Rick Waldron
331a3964d5 Generate tests 2018-08-20 16:38:53 -04:00
Rick Waldron
aee9dc163e Generate tests 2018-08-20 16:38:53 -04:00
Rick Waldron
f222b94f2a Generate tests 2018-08-20 16:38:53 -04:00
Rick Waldron
ad9fd16bd1 Class Fields: convert .js file to .case 2018-08-20 16:38:52 -04:00
Rick Waldron
1466650ca3 Class Fields: add private name propname errors 2018-08-20 16:38:52 -04:00
Rick Waldron
734544272b Class Fields: convert propname-error into non-generated to avoid creating erroneous tests where restrictions do not align. 2018-08-20 16:38:52 -04:00
Rick Waldron
3996741ca0 Class Fields: Remove templates that cause erroneous tests to be created. 2018-08-20 16:38:52 -04:00