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

Unified Diff: compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTestCase.java

Issue 10890030: Move core and coreimpl from corelib/ to lib/core and lib/coreimpl. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. Created 8 years, 4 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
« no previous file with comments | « compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java ('k') | corelib/src/bool.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 39bc61c0b4e6058dc0272d29f58a1f45eab59a89..e85974593af4d0d4aacffe971c1798a39be2dc5e 100644
--- a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTestCase.java
+++ b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTestCase.java
@@ -56,11 +56,6 @@ public abstract class TypeAnalyzerTestCase extends TypeTestCase {
private final DynamicType dynamicType = Types.newDynamicType();
@Override
- public InterfaceType getArrayLiteralType(Type elementType) {
- return getArrayType(elementType);
- }
-
- @Override
public InterfaceType getArrayType(Type elementType) {
return list.getType().subst(Arrays.asList(elementType), list.getTypeParameters());
}
@@ -81,11 +76,6 @@ public abstract class TypeAnalyzerTestCase extends TypeTestCase {
}
@Override
- public InterfaceType getFallThroughError() {
- throw new AssertionError();
- }
-
- @Override
public InterfaceType getFunctionType() {
return function.getType();
}
@@ -102,11 +92,6 @@ public abstract class TypeAnalyzerTestCase extends TypeTestCase {
}
@Override
- public InterfaceType getMapLiteralType(Type key, Type value) {
- return getMapType(key, value);
- }
-
- @Override
public InterfaceType getMapType(Type key, Type value) {
InterfaceType mapType = map.getType();
return mapType.subst(Arrays.asList(key, value),
@@ -124,21 +109,11 @@ public abstract class TypeAnalyzerTestCase extends TypeTestCase {
}
@Override
- public InterfaceType getObjectArrayType() {
- throw new AssertionError();
- }
-
- @Override
public InterfaceType getObjectType() {
return object.getType();
}
@Override
- public InterfaceType getStringImplementationType() {
- throw new AssertionError();
- }
-
- @Override
public InterfaceType getStringType() {
return string.getType();
}
« no previous file with comments | « compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java ('k') | corelib/src/bool.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698