diff options
author | aclement <aclement> | 2006-01-23 15:21:18 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-01-23 15:21:18 +0000 |
commit | 28f8c695ccc8513e9dcbe0c4fb6ebdc71cf84313 (patch) | |
tree | 7ed9332096b0febfd74288f1fd16d25d2623793e /tests/src | |
parent | 01a8b2eb36e1a34c80697c2034f9657b74dc281a (diff) | |
download | aspectj-28f8c695ccc8513e9dcbe0c4fb6ebdc71cf84313.tar.gz aspectj-28f8c695ccc8513e9dcbe0c4fb6ebdc71cf84313.zip |
test and fix for 124654: generic annotation matching..
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java | 1 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc151/ajc151.xml | 12 |
2 files changed, 12 insertions, 1 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java b/tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java index 8b6e385d5..a163d396f 100644 --- a/tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java @@ -25,6 +25,7 @@ public class Ajc151Tests extends org.aspectj.testing.XMLBasedAjcTestCase { public void testDifferentNumbersofTVars_pr124803() { runTest("generics and different numbers of type variables");} public void testDifferentNumbersofTVars_pr124803_2() { runTest("generics and different numbers of type variables - classes");} public void testParameterizedCollectionFieldMatching_pr124808() { runTest("parameterized collection fields matched via pointcut");} + public void testGenericAspectsAndAnnotations_pr124654() { runTest("generic aspects and annotations");} ///////////////////////////////////////// public static Test suite() { diff --git a/tests/src/org/aspectj/systemtest/ajc151/ajc151.xml b/tests/src/org/aspectj/systemtest/ajc151/ajc151.xml index ccb251c10..c04af9174 100644 --- a/tests/src/org/aspectj/systemtest/ajc151/ajc151.xml +++ b/tests/src/org/aspectj/systemtest/ajc151/ajc151.xml @@ -53,5 +53,15 @@ </stderr> </run> </ajc-test> - + + <ajc-test dir="bugs151/pr124654" title="generic aspects and annotations"> + <compile files="GenericAnnotation.java,TestSubAspect.java" options="-1.5"/> + <run class="TestSubAspect"> + <stderr> + <line text="Reference pointcut advice. interface MyAnnotation"/> + <line text="Inlined pointcut advice. interface MyAnnotation"/> + <line text="run running"/> + </stderr> + </run> + </ajc-test> </suite>
\ No newline at end of file |