Index: compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java |
diff --git a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java |
index 4b17ff094c75ae2c3a4259d40bd00bda1f90ca74..61ca8922440534913d16ef6e9eac01ba0834d3d0 100644 |
--- a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java |
+++ b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java |
@@ -654,12 +654,8 @@ public class ResolverTest extends ResolverTestCase { |
/** |
* Test that a class may implement the implied interface of another class and that interfaces may |
* extend the implied interface of a class. |
- * |
- * @throws DuplicatedInterfaceException |
- * @throws CyclicDeclarationException |
*/ |
- public void testImpliedInterfaces() throws CyclicDeclarationException, |
- DuplicatedInterfaceException { |
+ public void testImpliedInterfaces() throws Exception { |
DartClass a = makeClass("A", null); |
DartClass b = makeClass("B", null, makeTypes("A")); |
DartClass ia = makeInterface("IA", makeTypes("B"), null); |
@@ -831,22 +827,6 @@ public class ResolverTest extends ResolverTestCase { |
ResolverErrorCode.NOT_A_CLASS); |
} |
- public void test_noSuchType_classImplements() throws Exception { |
- resolveAndTest(Joiner.on("\n").join( |
- "class Object {}", |
- "class MyClass implements Unknown {", |
- "}"), |
- ResolverErrorCode.NO_SUCH_TYPE); |
- } |
- |
- public void test_noSuchType_classImplementsTypeVariable() throws Exception { |
- resolveAndTest(Joiner.on("\n").join( |
- "class Object {}", |
- "class MyClass<E> implements E {", |
- "}"), |
- ResolverErrorCode.NOT_A_CLASS_OR_INTERFACE); |
- } |
- |
public void test_noSuchType_superClass_typeArgument() throws Exception { |
String source = |
Joiner.on("\n").join( |
@@ -1049,32 +1029,6 @@ public class ResolverTest extends ResolverTestCase { |
ResolverErrorCode.NO_SUCH_TYPE); |
} |
- // TODO(scheglov) check for "extends/implements Dynamic" |
- public void _test_extendsDynamic() throws Exception { |
- resolveAndTest(Joiner.on("\n").join( |
- "class Object {}", |
- "class MyClass extends Dynamic {", |
- "}"), |
- ResolverErrorCode.DYNAMIC_EXTENDS); |
- } |
- |
- // TODO(scheglov) check for "extends/implements Dynamic" |
- public void _test_implementsDynamic() throws Exception { |
- resolveAndTest(Joiner.on("\n").join( |
- "class Object {}", |
- "class MyClass implements Dynamic {", |
- "}"), |
- ResolverErrorCode.DYNAMIC_IMPLEMENTS); |
- } |
- |
- public void test_explicitDynamicTypeArgument() throws Exception { |
- resolveAndTest(Joiner.on("\n").join( |
- "class Object {}", |
- "class Map<K, V>{}", |
- "class MyClass implements Map<Object, Dynamic> {", |
- "}")); |
- } |
- |
public void test_operatorIs_withFunctionAlias() throws Exception { |
resolveAndTest(Joiner.on("\n").join( |
"class Object {}", |