aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authoraclement <aclement>2007-11-07 11:03:17 +0000
committeraclement <aclement>2007-11-07 11:03:17 +0000
commit60f020069426ff561d89b034d2849d1f07495e02 (patch)
tree61d11148db0086478e8bbe0cb916af7f73081614 /tests/src
parent035b27d00333ef36a35042f2e7a254c2f80814f1 (diff)
downloadaspectj-60f020069426ff561d89b034d2849d1f07495e02.tar.gz
aspectj-60f020069426ff561d89b034d2849d1f07495e02.zip
pr202088: test and fix for coping with abstract annotation pointcuts with context
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc154/Ajc154Tests.java1
-rw-r--r--tests/src/org/aspectj/systemtest/ajc154/ajc154.xml11
2 files changed, 11 insertions, 1 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc154/Ajc154Tests.java b/tests/src/org/aspectj/systemtest/ajc154/Ajc154Tests.java
index 0655e37b2..0ba9571f0 100644
--- a/tests/src/org/aspectj/systemtest/ajc154/Ajc154Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc154/Ajc154Tests.java
@@ -45,6 +45,7 @@ public class Ajc154Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
// runTest("new pointcut designators in a reference pointcut");
// }
+ public void testAbstractAnnotationStylePointcutWithContext_pr202088() { runTest("abstract annotation style pointcut with context");}
public void testNoErrorForAtDecpInNormalClass_pr169428() { runTest( "no error for atDecp in normal class");}
public void testJarsZipsNonStandardSuffix_pr186673() { runTest("jars and zips with non-standard suffix");}
diff --git a/tests/src/org/aspectj/systemtest/ajc154/ajc154.xml b/tests/src/org/aspectj/systemtest/ajc154/ajc154.xml
index 364f5bfef..a7c831c34 100644
--- a/tests/src/org/aspectj/systemtest/ajc154/ajc154.xml
+++ b/tests/src/org/aspectj/systemtest/ajc154/ajc154.xml
@@ -2,7 +2,16 @@
<!-- AspectJ v1.6.0 Tests -->
<suite>
-
+ <ajc-test dir="bugs154/pr202088" title="abstract annotation style pointcut with context">
+ <compile options="-1.5" files="Bug.java"/>
+ <compile options="-1.5" files="Bug2.java">
+ </compile>
+ <run class="tracing.Bug2">
+ <stdout>
+ <line text="o is 'instance of C'"/>
+ </stdout>
+ </run>
+ </ajc-test>
<ajc-test dir="bugs154/pr169428" title="no error for atDecp in normal class">
<compile options="-1.5" files="CorrectError.java">