Index: editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/compiler/TestCompilerListener.java |
diff --git a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/compiler/TestCompilerListener.java b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/compiler/TestCompilerListener.java |
index 7aea2e7a3a116b4c6123cddd650520ba7bef71c1..f386c8912bdabb43c648d12f258cf5129faf17ad 100644 |
--- a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/compiler/TestCompilerListener.java |
+++ b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/compiler/TestCompilerListener.java |
@@ -55,9 +55,9 @@ public class TestCompilerListener extends DartCompilerListener { |
public void assertAllErrorsReported() { |
assertEquals("Not all expected errors were reported", total, current); |
} |
- |
+ |
@Override |
- public void compilationError(DartCompilationError event) { |
+ public void onError(DartCompilationError event) { |
assertTrue("More errors (" + (current + 1) + ") than expected (" + total + "):\n" + event, |
current < total); |
assertEquals("Wrong error message", messages[current], event.getMessage()); |
@@ -67,16 +67,6 @@ public class TestCompilerListener extends DartCompilerListener { |
} |
@Override |
- public void compilationWarning(DartCompilationError event) { |
- compilationError(event); |
- } |
- |
- @Override |
- public void typeError(DartCompilationError event) { |
- compilationError(event); |
- } |
- |
- @Override |
public void unitCompiled(DartUnit unit) { |
} |
} |