Mike Pennisi
8c8397573c
Add test cases for spread operator
...
The operand of the spread operator may be an AssignmentExpression. Add
test cases which demonstrate this.
2016-06-11 17:42:50 -04:00
Mike Pennisi
2658524163
Add test templates for spread in array initializer
...
Formulate templates for the SpreadElement in an array initializer in
order to conform to existing pattern.
2016-06-11 17:27:19 -04:00
Leo Balter
2cf968cfad
Merge pull request #651 from bocoup/generation-dstr-assign
...
Re-format destructuring assignment tests
2016-06-01 14:00:09 -04:00
Leo Balter
1e75730d5f
Merge pull request #587 from bocoup/generation-annexb-fns
...
Add tests for Annex B "function in block" semantics (procedurally generated)
2016-05-31 17:45:48 -04:00
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