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

Unified Diff: compiler/javatests/com/google/dart/compiler/CompilerTestCase.java

Issue 8728001: Support for 'abstract' modifier for class and spec recommended warnings, issue 375 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge. Warning for factory constructor of abstract class. Created 9 years 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/CompilerTestCase.java
diff --git a/compiler/javatests/com/google/dart/compiler/CompilerTestCase.java b/compiler/javatests/com/google/dart/compiler/CompilerTestCase.java
index 21e9f2b83f5e5660c10323b51594cd6efa2e172c..9550465c7a2033038946be1ea16a6e51c1090b5e 100644
--- a/compiler/javatests/com/google/dart/compiler/CompilerTestCase.java
+++ b/compiler/javatests/com/google/dart/compiler/CompilerTestCase.java
@@ -103,12 +103,16 @@ public abstract class CompilerTestCase extends TestCase {
}
}
+ public List<DartCompilationError> getTypeErrors() {
+ return typeErrors;
+ }
+
public List<DartCompilationError> getCompilationErrors() {
return compilationErrors;
}
- public List<DartCompilationError> getTypeErrors() {
- return typeErrors;
+ public List<DartCompilationError> getCompilationWarnings() {
+ return compilationWarnings;
}
/**

Powered by Google App Engine
This is Rietveld 408576698