From e1e8a032d34bf125561f5fadaf1fba3f37d2d56f Mon Sep 17 00:00:00 2001 From: acolyer Date: Thu, 18 Aug 2005 09:31:48 +0000 Subject: tests for pr107059 and generics chapter of ajdk --- .../org/aspectj/systemtest/ajc150/Ajc150Tests.java | 4 ++ .../aspectj/systemtest/ajc150/GenericsTests.java | 12 +++++ tests/src/org/aspectj/systemtest/ajc150/ajc150.xml | 58 +++++++++++++++++++++- 3 files changed, 73 insertions(+), 1 deletion(-) (limited to 'tests/src') diff --git a/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java index 3c15df3a6..1e51bb851 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java @@ -214,6 +214,10 @@ public class Ajc150Tests extends org.aspectj.testing.XMLBasedAjcTestCase { runTest("intermediate annotation matching"); } + public void testBadRuntimeTestGeneration() { + runTest("target(@Foo *)"); + } + // helper methods..... public SyntheticRepository createRepos(File cpentry) { diff --git a/tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java b/tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java index e7c9d88c0..43200dfb2 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java +++ b/tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java @@ -619,6 +619,18 @@ public class GenericsTests extends XMLBasedAjcTestCase { runTest("ajdk notebook: args examples"); } + public void testAJDKArgsAndWildcardsExamples() { + runTest("ajdk notebook: args and wildcards examples"); + } + + public void testAJDKAfterReturningExamples() { + runTest("ajdk notebook: after returning examples"); + } + + public void testAJDKPointcutInGenericClassExample() { + runTest("ajdk notebook: pointcut in generic class example"); + } + // --- helpers // Check the signature attribute on a class is correct diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml index 7876299cf..4cd47674d 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml +++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml @@ -61,6 +61,12 @@ + + + + + + @@ -3615,7 +3621,57 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3