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 8f75e1dcf3e9ec5b5bf459b4c7416b6a3559cad2..cc018e318b6304bfc71c18a2c306e4b5bea1bd71 100644 |
--- a/compiler/javatests/com/google/dart/compiler/DartCompilerListenerTest.java |
+++ b/compiler/javatests/com/google/dart/compiler/DartCompilerListenerTest.java |
@@ -50,7 +50,7 @@ public class DartCompilerListenerTest extends DartCompilerListener { |
} |
@Override |
- public void compilationError(DartCompilationError event) { |
+ public void onError(DartCompilationError event) { |
String reportedSrcName = (event.getSource() != null) |
? event.getSource().getName() |
: null; |
@@ -77,16 +77,6 @@ public class DartCompilerListenerTest extends DartCompilerListener { |
current++; |
} |
- @Override |
- public void compilationWarning(DartCompilationError event) { |
- compilationError(event); |
- } |
- |
- @Override |
- public void typeError(DartCompilationError event) { |
- compilationError(event); |
- } |
- |
/** Checks that all expected errors were reported. */ |
public void checkAllErrorsReported() { |
CompilerTestCase.assertEquals("Not all expected errors were reported", |