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

Unified Diff: compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTestCase.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/compiler/type/TypeAnalyzerTestCase.java
diff --git a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTestCase.java b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTestCase.java
index d89af675202832e7cc635f70de5294fe3ccdac05..94f98c830da622f33b95417a9d5a1486e41d65ae 100644
--- a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTestCase.java
+++ b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTestCase.java
@@ -45,7 +45,7 @@ import java.util.concurrent.ConcurrentHashMap;
/**
* Base class for static type analysis tests.
*/
-public class TypeAnalyzerTestCase extends TypeTestCase {
+public abstract class TypeAnalyzerTestCase extends TypeTestCase {
private class MockCoreTypeProvider implements CoreTypeProvider {
private final Type voidType = Types.newVoidType();
private final DynamicType dynamicType = Types.newDynamicType();
@@ -364,11 +364,4 @@ public class TypeAnalyzerTestCase extends TypeTestCase {
private Type typeOf(String expression) {
return analyzeNode(parseExpression(expression));
}
-
- /**
- * This is dummy test method, I have to add it because in other case JUnit (at least in Eclipse)
- * complains that this test suite has to test methods.
- */
- public void testDummy() throws Exception {
- }
}

Powered by Google App Engine
This is Rietveld 408576698