From: aclement Date: Mon, 4 Jul 2005 14:51:56 +0000 (+0000) Subject: generics: simple decp test, woooo ! X-Git-Tag: PRE_ANDY~103 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5b720958877af161fb425065f68e940236cf08ae;p=aspectj.git generics: simple decp test, woooo ! --- diff --git a/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java index 35701e80f..89c2b6be9 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java @@ -165,6 +165,10 @@ public class Ajc150Tests extends org.aspectj.testing.XMLBasedAjcTestCase { public void testInternalCompilerError_pr86832() { runTest("Internal compiler error"); } + + public void testCloneMethod_pr83311() { + runTest("overriding/polymorphism error on interface method introduction"); + } /** * IfPointcut.findResidueInternal() was modified to make this test complete in a short amount @@ -179,6 +183,7 @@ public class Ajc150Tests extends org.aspectj.testing.XMLBasedAjcTestCase { public void testStaticImports_pr84260() {runTest("static import failures");} public void testGenerics_pr99089() {runTest("ArrayIndexOutOfBoundsException - Generics in privileged aspects");} + public void testGenerics_pr95993() {runTest("NPE at ClassScope.java:660 when compiling generic class");} public void testItdGenerics_pr99228() {runTest("ITD of a field into a generic class");} public void testItdGenerics_pr98320() {runTest("intertype with nested generic type");} diff --git a/tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java b/tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java index 46663cada..a385c6b92 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java +++ b/tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java @@ -98,9 +98,27 @@ public class GenericsTests extends XMLBasedAjcTestCase { // } // generic declare parents -// public void testPR96220_GenericDecp() { -// runTest("generic decp"); + public void testPR96220_GenericDecp() { + runTest("generic decp - simple"); + } + +// public void testGenericDecpMultipleVariantsOfAParameterizedType() { +// runTest("generic decp - implementing two variants"); // } +// +// public void testGenericDecpIncorrectNumberOfTypeParams() { +// runTest("generic decp - incorrect number of type parameters"); +// } +// +// public void testGenericDecpSpecifyingBounds() { +// runTest("generic decp - specifying bounds"); +// } +// +// public void testGenericDecpViolatingBounds() { +// runTest("generic decp - specifying bounds but breaking them"); +// } + + // need separate compilation test to verify signatures are ok // // public void testIllegalGenericDecp() { // runTest("illegal generic decp"); diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml index c156bc7bd..32155d554 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml +++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml @@ -51,6 +51,10 @@ + + + + @@ -2387,15 +2391,35 @@ // generic decps - + - + + + + + + + + + + + + + + + + + + + // end of generic decps