Commit Graph

111 Commits

Author SHA1 Message Date
Mike Pennisi c24a206511 Re-format destructuring assignment tests
Utilize the test generation tool to increase coverage of destructuring
assignment semantics. Previously, only destructuring assignment in the
AssignmentExpression position was tested. With this change applied, the
same tests will assert expected behavior for destructuring assignment in
`for..of` statements, as well.

A limited number of tests are applied to the `for..in` statement as
well, but due to the iteration protocol observed by that statement, many
destructuring tests are not relevant, and others cannot be automatically
generated from this format.
2016-05-25 13:47:06 -04:00
Mike Pennisi b7d496942a Use distinct variable name within test case
In order to increase the clarity of generated output, select a name for
the test case variable that is not also used by a test template.
2016-05-19 15:06:13 -04:00
Mike Pennisi 95b5b13c16 Add test cases for the spread operator 2016-05-19 15:06:12 -04:00
Mike Pennisi c98b6ed4e6 Specify `esid` tag in test templates 2016-05-19 15:06:11 -04:00
Mike Pennisi cc7381d3b2 Add test cases for destructuring binding 2016-05-10 11:51:44 -04:00
Mike Pennisi be195c38ca Add omitted destructuring binding forms
Add test templates for destructuring binding as it occurs in
previously-overlooked productions (various IterationStatements and the
TryStatement).
2016-05-10 11:51:44 -04:00
Mike Pennisi 8c6b1320de Add assertion messages for function invocation 2016-05-10 11:51:44 -04:00
Mike Pennisi 0d09ea91d9 Add "features" tag to test templates 2016-05-10 11:51:32 -04:00
Mike Pennisi d5190e96df Specify `esid` tag in test templates 2016-05-10 11:39:22 -04:00
Mike Pennisi ad62d5b815 Add cases/templates for Annex B.3.3/B.3.4 2016-04-18 16:19:29 -04:00
Mike Pennisi 74bff6b3d5 Add initial set of generated test sources 2016-03-16 15:29:30 -04:00