summaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authoracolyer <acolyer>2006-04-24 17:46:06 +0000
committeracolyer <acolyer>2006-04-24 17:46:06 +0000
commit6b2526fdda56e30d8a151ca0b9bd16ecb690d3d0 (patch)
treef68ddd216a18f27c517118dc75fa963ebaf2c5c2 /tests/src
parent8c084b533078c9d640aa9d1530e673d744d546ad (diff)
downloadaspectj-6b2526fdda56e30d8a151ca0b9bd16ecb690d3d0.tar.gz
aspectj-6b2526fdda56e30d8a151ca0b9bd16ecb690d3d0.zip
test cases for pr138215, 219, and 223.
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java8
-rw-r--r--tests/src/org/aspectj/systemtest/ajc152/ajc152.xml21
2 files changed, 29 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java b/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
index de76cc76f..87a912be1 100644
--- a/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
@@ -31,7 +31,15 @@ public class Ajc152Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
public void testStackOverflow_pr136258() { runTest("stack overflow");}
public void testIncorrectOverridesEvaluation13() { runTest("incorrect overrides evaluation - 1.3"); }
public void testIncorrectOverridesEvaluation15() { runTest("incorrect overrides evaluation - 1.5"); }
+
+ // known failures, uncomment when working.
+// public void testReferencePCutInDeclareWarning_pr138215() { runTest("Reference pointcut fails inside @DeclareWarning");}
+// public void testReferencePCutInPerClause_pr138219() { runTest("Can't use a FQ Reference pointcut in any pointcut expression referenced by a per-clause");}
+// public void testDoubleAnnotationMatching_pr138223() { runTest("Double at annotation matching (no binding)");}
+// this next one reported as a bug by Rob Harrop, but I can't reproduce the failure yet...
+//public void testAtAspectWithReferencePCPerClause_pr138220() { runTest("@Aspect with reference pointcut in perclause");}
+
/////////////////////////////////////////
public static Test suite() {
return XMLBasedAjcTestCase.loadSuite(Ajc152Tests.class);
diff --git a/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml b/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml
index 7fb993960..cc57b9562 100644
--- a/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml
+++ b/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml
@@ -133,4 +133,25 @@
</compile>
</ajc-test>
+ <ajc-test dir="bugs152/pr138215" pr="138215" title="Reference pointcut fails inside @DeclareWarning">
+ <compile files="pr138215.aj" options="-1.5">
+ <message kind="warning" line="17" text="no foos please"/>
+ </compile>
+ </ajc-test>
+
+ <ajc-test dir="bugs152/pr138219" pr="138219" title="Can't use a FQ Reference pointcut in any pointcut expression referenced by a per-clause">
+ <compile files="PerThisWithReference.aj,SomeOtherType.aj" options="-1.5">
+ </compile>
+ </ajc-test>
+
+ <ajc-test dir="bugs152/pr138220" pr="138220" title="@Aspect with reference pointcut in perclause">
+ <compile files="AtAspectWithPerClause.aj" options="-1.5">
+ </compile>
+ </ajc-test>
+
+ <ajc-test dir="bugs152/pr138223" pr="138223" title="Double at annotation matching (no binding)">
+ <compile files="DoubleAnnotationMatching.aj" options="-1.5">
+ </compile>
+ </ajc-test>
+
</suite> \ No newline at end of file