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

Unified Diff: compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.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/resolver/ResolverTestCase.java
diff --git a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java
index ad19870795fc4fa63fa87845df0ce54204ef7834..744d6f0994addc88804637c28fddc8fde04e57d7 100644
--- a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java
+++ b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java
@@ -311,15 +311,11 @@ abstract class ResolverTestCase extends TestCase {
}
private DartCompilerListener getListener() {
- return new DartCompilerListener() {
+ return new DartCompilerListener.Empty() {
@Override
public void onError(DartCompilationError event) {
parseErrors.add(event);
}
-
- @Override
- public void unitCompiled(DartUnit unit) {
- }
};
}

Powered by Google App Engine
This is Rietveld 408576698