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

Unified Diff: compiler/javatests/com/google/dart/compiler/backend/common/TypeHeuristicImplementationTest.java

Issue 8395013: DartC User Warning Framework (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use new ErrorCode enums in single onError() method. Created 9 years, 2 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/backend/common/TypeHeuristicImplementationTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/backend/common/TypeHeuristicImplementationTest.java b/compiler/javatests/com/google/dart/compiler/backend/common/TypeHeuristicImplementationTest.java
index 43ef936e4a1830d09bc73e3b3f2bcecbd38d6133..3f251186f8a02fef79a39c7477c2922e5382e12c 100644
--- a/compiler/javatests/com/google/dart/compiler/backend/common/TypeHeuristicImplementationTest.java
+++ b/compiler/javatests/com/google/dart/compiler/backend/common/TypeHeuristicImplementationTest.java
@@ -71,16 +71,8 @@ public class TypeHeuristicImplementationTest extends CompilerTestCase {
DefaultCompilerConfiguration config = new DefaultCompilerConfiguration();
DefaultDartArtifactProvider provider = new DefaultDartArtifactProvider(Files.createTempDir());
DartCompilerListener listener = new DartCompilerListener() {
- @Override
- public void typeError(DartCompilationError event) {
- }
-
- @Override
- public void compilationWarning(DartCompilationError event) {
- }
-
@Override
- public void compilationError(DartCompilationError event) {
+ public void onError(DartCompilationError event) {
}
@Override

Powered by Google App Engine
This is Rietveld 408576698