test262/test/language/expressions/postfix-increment
jugglinmike ab4ff914fb Add tests for assignment target validation of new ES2015 forms (#693)
This re-factors some existing Sputnik tests to be more targeted and to use a
pattern that can be generalized to other forms. We could test these all day,
but I've limited myself to forms introduced in ES2015, specifically
YieldExpression and new.target. Note that SpiderMonkey incorrectly throws a
SyntaxError for these.
I thoughtlessly wrote ReferenceError tests for yield = 1 until I realized
that such productions are not actually recognized by the grammar, so the early
errors do not apply. Instead, I've added a negative syntax test for that case.

* Refactor test for valid cover

* Add tests for ValidSimpleAssignmentTarget

Ensure that constructs introduced in ES2015 are disallowed as assignment
targets, with or without a "cover" grammar.

* Add test for grammar precedence of YieldExpression
2016-07-05 15:20:56 -07:00
..
11.3.1-2-1-s.js Replace runTestCase with assert helpers [test/language/expressions] 2015-08-13 17:34:17 +02:00
11.3.1-2-1gs.js Remove links to hg.ecmascript.org 2015-07-17 17:43:09 +02:00
11.3.1-2-2-s.js Replace runTestCase with assert.throws [test/language/expressions] 2015-08-11 17:42:41 +02:00
11.3.1-2-3-s.js Replace runTestCase with assert helpers [test/language/expressions] 2015-08-13 17:34:17 +02:00
S11.3.1_A1.1_T1.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S11.3.1_A1.1_T2.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S11.3.1_A1.1_T3.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S11.3.1_A1.1_T4.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S11.3.1_A1.2_T1.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S11.3.1_A2.1_T1.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S11.3.1_A2.1_T2.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S11.3.1_A2.2_T1.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S11.3.1_A3_T1.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S11.3.1_A3_T2.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S11.3.1_A3_T3.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S11.3.1_A3_T4.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S11.3.1_A3_T5.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S11.3.1_A4_T1.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S11.3.1_A4_T2.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S11.3.1_A4_T3.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S11.3.1_A4_T4.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S11.3.1_A4_T5.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S11.3.1_A5_T1.js ES6-specific tests: es5id=>es6id, new es6id entries. Closes gh-144 2015-02-12 16:36:13 -05:00
S11.3.1_A5_T2.js ES6-specific tests: es5id=>es6id, new es6id entries. Closes gh-144 2015-02-12 16:36:13 -05:00
S11.3.1_A5_T3.js ES6-specific tests: es5id=>es6id, new es6id entries. Closes gh-144 2015-02-12 16:36:13 -05:00
S11.3.1_A5_T4.js ES6-specific tests: es5id=>es6id, new es6id entries. Closes gh-144 2015-02-12 16:36:13 -05:00
S11.3.1_A5_T5.js Reduce reliance on `fnGlobalObject.js` 2016-04-25 11:09:21 -07:00
S11.3.1_A6_T1.js Increment/Decrement with property accessor expression 2015-05-19 17:46:34 +02:00
S11.3.1_A6_T2.js Increment/Decrement with property accessor expression 2015-05-19 17:46:34 +02:00
S11.3.1_A6_T3.js Increment/Decrement with property accessor expression 2015-05-19 17:46:34 +02:00
non-simple.js Make tests more strict 2015-06-29 12:25:01 -04:00
target-cover-id.js Add tests for assignment target validation of new ES2015 forms (#693) 2016-07-05 15:20:56 -07:00
target-cover-newtarget.js Add tests for assignment target validation of new ES2015 forms (#693) 2016-07-05 15:20:56 -07:00
target-cover-yieldexpr.js Add tests for assignment target validation of new ES2015 forms (#693) 2016-07-05 15:20:56 -07:00
target-newtarget.js Add tests for assignment target validation of new ES2015 forms (#693) 2016-07-05 15:20:56 -07:00