Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Unified Diff: compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java

Issue 8392047: Fixes issue http://code.google.com/p/dart/issues/detail?id=235. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698