Index: compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java |
diff --git a/compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java b/compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java |
index 39819b452198f054184ad6c74ca40ec2d245dc19..6938e1a8c22226a15868c63db563c633482e9eda 100644 |
--- a/compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java |
+++ b/compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java |
@@ -53,6 +53,14 @@ public class NegativeResolverTest extends CompilerTestCase { |
checkNumErrors("Initializer6NegativeTest.dart", 1); |
} |
+ public void testArrayLiteralNegativeTest() { |
+ checkNumErrors("ArrayLiteralNegativeTest.dart", 1); |
+ } |
+ |
+ public void testMapLiteralNegativeTest() { |
+ checkNumErrors("MapLiteralNegativeTest.dart", 1); |
+ } |
+ |
public void testCall1() { |
checkNumErrors("StaticInstanceCallNegativeTest.dart", 1); |
} |
@@ -169,6 +177,10 @@ public class NegativeResolverTest extends CompilerTestCase { |
checkNumErrors("ConstRedirectedConstructorNegativeTest.dart", 1); |
} |
+ public void testRawTypesNegativeTest() { |
+ checkNumErrors("RawTypesNegativeTest.dart", 4); |
+ } |
+ |
private TestCompilerContext getContext() { |
return new TestCompilerContext() { |
@Override |