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

Unified Diff: compiler/javatests/com/google/dart/compiler/DartCompilerListenerTest.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/DartCompilerListenerTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/DartCompilerListenerTest.java b/compiler/javatests/com/google/dart/compiler/DartCompilerListenerTest.java
index cc018e318b6304bfc71c18a2c306e4b5bea1bd71..1c5641f9cb9841822f0eb23ae122672233b441d0 100644
--- a/compiler/javatests/com/google/dart/compiler/DartCompilerListenerTest.java
+++ b/compiler/javatests/com/google/dart/compiler/DartCompilerListenerTest.java
@@ -4,12 +4,10 @@
package com.google.dart.compiler;
-import com.google.dart.compiler.ast.DartUnit;
-
/**
* Testing implementation of {@link DartCompilerListener}.
*/
-public class DartCompilerListenerTest extends DartCompilerListener {
+public class DartCompilerListenerTest extends DartCompilerListener.Empty {
private final String srcName;
private String[] messages;
@@ -82,8 +80,4 @@ public class DartCompilerListenerTest extends DartCompilerListener {
CompilerTestCase.assertEquals("Not all expected errors were reported",
total, current);
}
-
- @Override
- public void unitCompiled(DartUnit unit) {
- }
}

Powered by Google App Engine
This is Rietveld 408576698