1818
1919import com .google .javascript .rhino .Node ;
2020import org .junit .Before ;
21+ import org .junit .Ignore ;
2122import org .junit .Test ;
2223import org .junit .runner .RunWith ;
2324import org .junit .runners .JUnit4 ;
@@ -279,6 +280,8 @@ public void testRemoveDeclaration2() {
279280 }
280281
281282 // TODO(b/66971163): enable or remove
283+ @ Test
284+ @ Ignore
282285 public void disabledTestRemoveDeclaration3 () {
283286 test ("var a,b,c; c = a = b = {}; a.x = 1;" , "" );
284287 }
@@ -321,6 +324,8 @@ public void testRemoveFunction3() {
321324 }
322325
323326 // TODO(b/66971163): enable or remove this test
327+ @ Test
328+ @ Ignore
324329 public void disabledTestRemoveFunction4 () {
325330 test ("var a = {}; a.b = {}; a.b.c = function() {};" , "" );
326331 }
@@ -622,6 +627,8 @@ public void testNamespacedClass2() {
622627 }
623628
624629 // TODO(b/66971163): enable or remove this
630+ @ Test
631+ @ Ignore
625632 public void disabledTestNamespacedClass3 () {
626633 test ("var a = {}; a.b = function() {}; a.b.prototype = {x: function() {}};" , "" );
627634 }
@@ -1606,6 +1613,8 @@ function f(obj) {
16061613 }
16071614
16081615 // TODO(b/66971163): Enable or remove this test.
1616+ @ Test
1617+ @ Ignore
16091618 public void disabledTestShortCircuit1 () {
16101619 test ("var a = doThing1() || 1" , "doThing1()" );
16111620 }
@@ -1626,6 +1635,8 @@ public void testShortCircuit4() {
16261635 }
16271636
16281637 // TODO(b/66971163): Enable or remove this test.
1638+ @ Test
1639+ @ Ignore
16291640 public void disabledTestShortCircuit5 () {
16301641 test ("var a = doThing1() && 1" , "doThing1()" );
16311642 }
@@ -1864,13 +1875,17 @@ public void testAssignWithHook7() {
18641875 }
18651876
18661877 // TODO(b/66971163): enable or remove this test
1878+ @ Test
1879+ @ Ignore
18671880 public void disabledTestAssignWithHook8 () {
18681881 test (
18691882 "function Foo(){} var foo = null; var f = window.a ? new Foo() : foo;" ,
18701883 "function Foo(){} window.a && new Foo() ;" );
18711884 }
18721885
18731886 // TODO(b/66971163): enable or remove this test
1887+ @ Test
1888+ @ Ignore
18741889 public void disabledTestAssignWithHook9 () {
18751890 test (
18761891 "function Foo(){} var foo = null; var f = {};f.b = window.a ? new Foo() : foo;" ,
@@ -2009,20 +2024,26 @@ public void testRefChain2() {
20092024 }
20102025
20112026 // TODO(b/66971163): Enable or remove
2027+ @ Test
2028+ @ Ignore
20122029 public void disabledTestRefChain3 () {
20132030 test (
20142031 "var a = 1; var b = a; var c = b; var d = c + doThing1()" ,
20152032 " doThing1()" );
20162033 }
20172034
20182035 // TODO(b/66971163): Enable or remove
2036+ @ Test
2037+ @ Ignore
20192038 public void disabledTestRefChain4 () {
20202039 test (
20212040 "var a = 1; var b = a; var c = b; var d = doThing1() || c" ,
20222041 " doThing1() " );
20232042 }
20242043
20252044 // TODO(b/66971163): Enable or remove
2045+ @ Test
2046+ @ Ignore
20262047 public void disabledTestRefChain5 () {
20272048 test (
20282049 "var a = 1; var b = a; var c = b; var d = doThing1() ? doThing2() : c" ,
@@ -2037,34 +2058,44 @@ public void testRefChain6() {
20372058 }
20382059
20392060 // TODO(b/66971163): Enable or remove
2061+ @ Test
2062+ @ Ignore
20402063 public void disabledTestRefChain7 () {
20412064 test (
20422065 "var a = 1; var b = a; var c = b; var d = (b + doThing1()) ? doThing2() : c" ,
20432066 "var a = 1; var b = a; (b + doThing1()) && doThing2() " );
20442067 }
20452068
20462069 // TODO(b/66971163): Enable or remove
2070+ @ Test
2071+ @ Ignore
20472072 public void disabledTestRefChain8 () {
20482073 test (
20492074 "var a = 1; var b = a; var c = b; var d = doThing1()[b] ? doThing2() : 0" ,
20502075 "var a = 1; var b = a; doThing1()[b] && doThing2() " );
20512076 }
20522077
20532078 // TODO(b/66971163): Enable or remove
2079+ @ Test
2080+ @ Ignore
20542081 public void disabledTestRefChain9 () {
20552082 test (
20562083 "var a = 1; var b = a; var c = 5; var d = doThing1()[b+c] ? doThing2() : 0" ,
20572084 "var a = 1; var b = a; var c = 5; doThing1()[b+c] && doThing2() " );
20582085 }
20592086
20602087 // TODO(b/66971163): Enable or remove
2088+ @ Test
2089+ @ Ignore
20612090 public void disabledTestRefChain10 () {
20622091 test (
20632092 "var a = 1; var b = a; var c = b; var d = doThing1()[b] ? doThing2() : 0" ,
20642093 "var a = 1; var b = a; doThing1()[b] && doThing2() " );
20652094 }
20662095
20672096 // TODO(b/66971163): Enable or remove
2097+ @ Test
2098+ @ Ignore
20682099 public void disabledTestRefChain11 () {
20692100 test (
20702101 "var a = 1; var b = a; var d = doThing1()[b] ? doThing2() : 0" ,
@@ -2077,6 +2108,8 @@ public void testRefChain12() {
20772108 }
20782109
20792110 // TODO(b/66971163): Enable or remove
2111+ @ Test
2112+ @ Ignore
20802113 public void disabledTestRefChain13 () {
20812114 test (
20822115 "function f(){} var a = 1; var b = a; var d = f()[b] ? doThing1() : 0" ,
@@ -2089,6 +2122,8 @@ public void testRefChain14() {
20892122 }
20902123
20912124 // TODO(b/66971163): Enable or remove
2125+ @ Test
2126+ @ Ignore
20922127 public void disabledTestRefChain15 () {
20932128 test (
20942129 "function f(){} var a = 1, b = a; var c = f(); var d = c[b] ? doThing1() : 0" ,
@@ -2120,6 +2155,8 @@ public void testRefChain19() {
21202155 }
21212156
21222157 // TODO(b/66971163): enable or remove this case
2158+ @ Test
2159+ @ Ignore
21232160 public void disabledTestRefChain20 () {
21242161 test (
21252162 "var a = 1; var b = [a]; var c = b; var d = b[doThing1()] ? doThing2() : 0" ,
@@ -2267,6 +2304,8 @@ public void testRemoveLabeledStatement() {
22672304 }
22682305
22692306 // TODO(b/66971163): enable or remove this
2307+ @ Test
2308+ @ Ignore
22702309 public void disabledTestRemoveLabeledStatement2 () {
22712310 test (
22722311 "var x; LBL: x = doThing1() + doThing2() " , // preserve newline
@@ -2714,6 +2753,8 @@ public void testNoRemoveThrowReference2() {
27142753 }
27152754
27162755 // TODO(b/66971163): enable or remove this
2756+ @ Test
2757+ @ Ignore
27172758 public void disabledTestClassDefinedInObjectLit1 () {
27182759 test (
27192760 """
@@ -2724,6 +2765,8 @@ public void disabledTestClassDefinedInObjectLit1() {
27242765 }
27252766
27262767 // TODO(b/66971163): enable or remove this
2768+ @ Test
2769+ @ Ignore
27272770 public void disabledTestClassDefinedInObjectLit2 () {
27282771 test (
27292772 """
@@ -2734,6 +2777,8 @@ public void disabledTestClassDefinedInObjectLit2() {
27342777 }
27352778
27362779 // TODO(b/66971163): enable or remove this
2780+ @ Test
2781+ @ Ignore
27372782 public void disabledTestClassDefinedInObjectLit3 () {
27382783 test (
27392784 """
@@ -2744,6 +2789,8 @@ public void disabledTestClassDefinedInObjectLit3() {
27442789 }
27452790
27462791 // TODO(b/66971163): enable or remove this
2792+ @ Test
2793+ @ Ignore
27472794 public void disabledTestClassDefinedInObjectLit4 () {
27482795 test (
27492796 """
@@ -2858,6 +2905,8 @@ public void testRemovePrototypeAliases() {
28582905 }
28592906
28602907 // TODO(b/66971163): Enable or remove this test.
2908+ @ Test
2909+ @ Ignore
28612910 public void disabledTestIssue284 () {
28622911 test (
28632912 """
@@ -3047,6 +3096,8 @@ public void testSpread() {
30473096 }
30483097
30493098 // TODO(b/66971163): enable or remove this test
3099+ @ Test
3100+ @ Ignore
30503101 public void disabledTestObjectDestructuring () {
30513102 test (
30523103 "var {a: a, x: y} = {a:1, x:2} " , // preserve newline
0 commit comments