From 3508c1bb7e5f6eab1ba7d35c8700f83f4f24d777 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 2 Jun 2005 11:10:30 +0000 Subject: [PATCH] GenericsWork: ITD testcases, commented out - needs parser work first. --- .../systemtest/ajc150/GenericsTests.java | 53 +++++++++- .../org/aspectj/systemtest/ajc150/ajc150.xml | 99 ++++++++++++++++++- 2 files changed, 149 insertions(+), 3 deletions(-) diff --git a/tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java b/tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java index 40519b2eb..864f6e090 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java +++ b/tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java @@ -48,6 +48,7 @@ public class GenericsTests extends XMLBasedAjcTestCase { runTest("NPE at ClassScope.java:660 when compiling generic class"); } + // generic aspects public void testPR96220_GenericAspects1() { runTest("generic aspects - 1"); } @@ -57,6 +58,56 @@ public class GenericsTests extends XMLBasedAjcTestCase { } public void testPR96220_GenericAspects3() { - runTest("declare parents"); + runTest("generic aspects - 3"); } + + // Developers notebook + // ITD of generic members + +// public void testItdNonStaticMethod() { +// runTest("Parsing generic ITDs - 1"); +// } +// public void testItdStaticMethod() { +// runTest("Parsing generic ITDs - 2"); +// } +// public void testItdCtor() { +// runTest("Parsing generic ITDs - 3"); +// } +// public void testItdComplexMethod() { +// runTest("Parsing generic ITDs - 4"); +// } + +// public void testItdOnGenericType() { +// runTest("ITDs on generic type"); +// } +// +// public void testItdNonStaticMember() { +// runTest("itd of non static member"); +// } +// +// public void testItdStaticMember() { +// runTest("itd of static member"); +// } +// +// public void testItdUsingTypeParameter() { +// runTest("itd using type parameter"); +// } +// +// public void testItdIncorrectlyUsingTypeParameter() { +// runTest("itd incorrectly using type parameter"); +// } + + // generic declare parents +// public void testPR96220_GenericDecp() { +// runTest("generic decp"); +// } +// +// public void testIllegalGenericDecp() { +// runTest("illegal generic decp"); +// } +// +// public void testPR95992_TypeResolvingProblemWithGenerics() { +// runTest("Problems resolving type name inside generic class"); +// } + } diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml index a6768cb98..94994b90a 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml +++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml @@ -2154,7 +2154,9 @@ - + + + @@ -2201,6 +2203,8 @@ + // generic bugs + @@ -2214,6 +2218,14 @@ + + + + + // end of generic bugs + + // generic aspects + @@ -2224,7 +2236,7 @@ - + @@ -2234,4 +2246,87 @@ + // end of generic aspects + + // generic ITDs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + // end of generic ITDs + + // generic decps + + + + + + + + + + + // end of generic decps + + + + \ No newline at end of file -- 2.39.5