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

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

Issue 9692002: Step back and remove more getNode() invocations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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/ElementMapTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/resolver/ElementMapTest.java b/compiler/javatests/com/google/dart/compiler/resolver/ElementMapTest.java
index b226768ad8710fb526fb9c74d5ddf17d4eb2a373..ae6a0f9946062269c03457796c1f4c78514b5c8f 100644
--- a/compiler/javatests/com/google/dart/compiler/resolver/ElementMapTest.java
+++ b/compiler/javatests/com/google/dart/compiler/resolver/ElementMapTest.java
@@ -4,9 +4,9 @@
package com.google.dart.compiler.resolver;
-import com.google.dart.compiler.ast.DartLabel;
import com.google.dart.compiler.ast.DartNode;
import com.google.dart.compiler.ast.Modifiers;
+import com.google.dart.compiler.common.SourceInfo;
import com.google.dart.compiler.type.Type;
import junit.framework.TestCase;
@@ -64,7 +64,12 @@ public class ElementMapTest extends TestCase {
}
@Override
- public void setNode(DartLabel node) {
+ public SourceInfo getSourceInfo() {
+ throw new RuntimeException();
+ }
+
+ @Override
+ public SourceInfo getNameLocation() {
throw new RuntimeException();
}
}

Powered by Google App Engine
This is Rietveld 408576698