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

Unified Diff: compiler/javatests/com/google/dart/corelib/SharedTestCase.java

Issue 8817020: Fixes for JUnit tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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/corelib/SharedTestCase.java
diff --git a/compiler/javatests/com/google/dart/corelib/SharedTestCase.java b/compiler/javatests/com/google/dart/corelib/SharedTestCase.java
index ccdec9144cf2b80b554cce0044b1781bec2bfbac..9be4ecb9bf0ed75ea3cc3dedac277ef6abb569ad 100644
--- a/compiler/javatests/com/google/dart/corelib/SharedTestCase.java
+++ b/compiler/javatests/com/google/dart/corelib/SharedTestCase.java
@@ -57,7 +57,7 @@ import java.util.regex.Pattern;
* passing. This will show up as a test failure because the status file has wrong information.
* Please update the status file.
*/
-public class SharedTestCase extends TestCase {
+public abstract class SharedTestCase extends TestCase {
private static final Pattern SEPARATOR = Pattern.compile("\\t");
private final Set<String> outcomes;
@@ -290,6 +290,6 @@ public class SharedTestCase extends TestCase {
boolean isNegative = fields[2].equals("True");
String[] arguments = new String[fields.length - 3];
System.arraycopy(fields, 3, arguments, 0, arguments.length);
- return new SharedTestCase(name, outcomes, isNegative, regularCompile, arguments);
+ return new SharedTestCase(name, outcomes, isNegative, regularCompile, arguments) {};
}
}

Powered by Google App Engine
This is Rietveld 408576698