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

Unified Diff: compiler/java/com/google/dart/compiler/testing/TestCompilerContext.java

Issue 8285004: Ground work for addition to new listener api (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added some comments 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/java/com/google/dart/compiler/testing/TestCompilerContext.java
diff --git a/compiler/java/com/google/dart/compiler/testing/TestCompilerContext.java b/compiler/java/com/google/dart/compiler/testing/TestCompilerContext.java
index 56f3bf2663dd60b7ef6b1047b7204e84b0e5ed84..c8732aed1fc8b966364d8b79e9a1f0749ff106b5 100644
--- a/compiler/java/com/google/dart/compiler/testing/TestCompilerContext.java
+++ b/compiler/java/com/google/dart/compiler/testing/TestCompilerContext.java
@@ -12,6 +12,7 @@ import com.google.dart.compiler.DartSource;
import com.google.dart.compiler.ErrorCode;
import com.google.dart.compiler.LibrarySource;
import com.google.dart.compiler.Source;
+import com.google.dart.compiler.ast.DartUnit;
import com.google.dart.compiler.ast.LibraryUnit;
import com.google.dart.compiler.metrics.CompilerMetrics;
@@ -151,4 +152,8 @@ public class TestCompilerContext extends DartCompilerListener implements DartCom
public LibrarySource getSystemLibraryFor(String importSpec) {
return null;
}
+
+ @Override
+ public void unitCompiled(DartUnit unit) {
+ }
}

Powered by Google App Engine
This is Rietveld 408576698