| Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/CompileTimeErrorCodeTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/CompileTimeErrorCodeTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/CompileTimeErrorCodeTest.java
|
| index afbb123a434f08ddead09e501780a8a9a003e6eb..0ffed60f04fb80206e5d2ee890e3078d0ab63459 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/CompileTimeErrorCodeTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/CompileTimeErrorCodeTest.java
|
| @@ -2286,39 +2286,6 @@ public class CompileTimeErrorCodeTest extends ResolverTestCase {
|
| verify(source);
|
| }
|
|
|
| - public void test_newWithInvalidTypeParameters() throws Exception {
|
| - Source source = addSource(createSource(//
|
| - "class A {}",
|
| - "f() { return new A<A>(); }"));
|
| - resolve(source);
|
| - assertErrors(CompileTimeErrorCode.NEW_WITH_INVALID_TYPE_PARAMETERS);
|
| - verify(source);
|
| - }
|
| -
|
| - public void test_newWithInvalidTypeParameters_tooFew() throws Exception {
|
| - Source source = addSource(createSource(//
|
| - "class A {}",
|
| - "class C<K, V> {}",
|
| - "f(p) {",
|
| - " return new C<A>();",
|
| - "}"));
|
| - resolve(source);
|
| - assertErrors(CompileTimeErrorCode.NEW_WITH_INVALID_TYPE_PARAMETERS);
|
| - verify(source);
|
| - }
|
| -
|
| - public void test_newWithInvalidTypeParameters_tooMany() throws Exception {
|
| - Source source = addSource(createSource(//
|
| - "class A {}",
|
| - "class C<E> {}",
|
| - "f(p) {",
|
| - " return new C<A, A>();",
|
| - "}"));
|
| - resolve(source);
|
| - assertErrors(CompileTimeErrorCode.NEW_WITH_INVALID_TYPE_PARAMETERS);
|
| - verify(source);
|
| - }
|
| -
|
| public void test_noAnnotationConstructorArguments() throws Exception {
|
| Source source = addSource(createSource(//
|
| "class A {",
|
|
|