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

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

Issue 9113017: Add unitAboutToCompile() into DartCompilerListener (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 12 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 45cab033529765b9bacb459af928c5af67ce850b..29d8b86b4808074db6f8cbf1d073bf645d91d0e2 100644
--- a/compiler/java/com/google/dart/compiler/testing/TestCompilerContext.java
+++ b/compiler/java/com/google/dart/compiler/testing/TestCompilerContext.java
@@ -31,7 +31,7 @@ import java.util.Set;
/**
* Common context for test cases.
*/
-public class TestCompilerContext extends DartCompilerListener implements DartCompilerContext {
+public class TestCompilerContext implements DartCompilerListener, DartCompilerContext {
private final Set<EventKind> ignoredEvents;
final List<ErrorCode> errors;
@@ -151,6 +151,10 @@ public class TestCompilerContext extends DartCompilerListener implements DartCom
}
@Override
+ public void unitAboutToCompile(DartSource source, boolean diet) {
+ }
+
+ @Override
public void unitCompiled(DartUnit unit) {
}
}

Powered by Google App Engine
This is Rietveld 408576698