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

Unified Diff: compiler/javatests/com/google/dart/compiler/CompilerTestCase.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/javatests/com/google/dart/compiler/CompilerTestCase.java
diff --git a/compiler/javatests/com/google/dart/compiler/CompilerTestCase.java b/compiler/javatests/com/google/dart/compiler/CompilerTestCase.java
index ca89628071d860791c0c1acab323b799acefdf7f..02f7c585394122a9230030383fd1318efd4f880a 100644
--- a/compiler/javatests/com/google/dart/compiler/CompilerTestCase.java
+++ b/compiler/javatests/com/google/dart/compiler/CompilerTestCase.java
@@ -83,7 +83,7 @@ public abstract class CompilerTestCase extends TestCase {
/**
* Collects the results of running analyzeLibrary.
*/
- protected static class AnalyzeLibraryResult extends DartCompilerListener {
+ protected static class AnalyzeLibraryResult extends DartCompilerListener.Empty {
private final List<DartCompilationError> compilationErrors;
private final List<DartCompilationError> compilationWarnings;
private final List<DartCompilationError> typeErrors;
@@ -131,10 +131,6 @@ public abstract class CompilerTestCase extends TestCase {
public LibraryUnit getLibraryUnitResult() {
return result;
}
-
- @Override
- public void unitCompiled(DartUnit unit) {
- }
}
/**

Powered by Google App Engine
This is Rietveld 408576698