Lines Matching refs:assertThrows
32 assertThrows("12 = 12");
33 assertThrows("x++ = 12");
34 assertThrows("eval('var x') = 12");
38 assertThrows("12++");
39 assertThrows("12--");
40 assertThrows("--12");
41 assertThrows("++12");
42 assertThrows("++(eval('12'))");
43 assertThrows("(eval('12'))++");
48 assertThrows("for (12 in [1]) print(12);");
49 assertThrows("for (eval('var x') in [1]) print(12);");
53 assertThrows("for (12 = 1;;) print(12);");
54 assertThrows("for (eval('var x') = 1;;) print(12);");
58 assertThrows("this = 42");
60 assertThrows("for (this in {x:3, y:4, z:5}) ;");
61 assertThrows("for (this = 0;;) ;");
62 assertThrows("this++");
63 assertThrows("++this");
64 assertThrows("this--");
65 assertThrows("--this");