aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/org/aspectj
diff options
context:
space:
mode:
authoraclement <aclement>2006-01-29 10:12:10 +0000
committeraclement <aclement>2006-01-29 10:12:10 +0000
commit693945fed3ea7482c5c312063dfac881f0d0d1c9 (patch)
treea1ec419ad0cca914f38eada1764a5393ed447100 /tests/src/org/aspectj
parent5d7f4e1f89c76fd54c40d513af4c19b8dd74f771 (diff)
downloadaspectj-693945fed3ea7482c5c312063dfac881f0d0d1c9.tar.gz
aspectj-693945fed3ea7482c5c312063dfac881f0d0d1c9.zip
fix and test for 123901. test for 125475 (commented out)
Diffstat (limited to 'tests/src/org/aspectj')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java2
-rw-r--r--tests/src/org/aspectj/systemtest/ajc151/ajc151.xml10
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java b/tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
index 5dda12f07..79ff78c44 100644
--- a/tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
@@ -33,6 +33,8 @@ public class Ajc151Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
public void testCallInheritedGenericMethod_pr124999() { runTest("calling inherited generic method from around advice");}
public void testIncorrectlyReferencingPointcuts_pr122452() { runTest("incorrectly referencing pointcuts");}
public void testIncorrectlyReferencingPointcuts_pr122452_2() { runTest("incorrectly referencing pointcuts - 2");}
+ //public void testEmptyPointcut_pr125475() { runTest("empty pointcut in atAJ");}
+ public void testInlinevisitorNPE_pr123901() { runTest("inlinevisitor NPE");}
public void testMixingNumbersOfTypeParameters_pr125080() {
runTest("mixing numbers of type parameters");
diff --git a/tests/src/org/aspectj/systemtest/ajc151/ajc151.xml b/tests/src/org/aspectj/systemtest/ajc151/ajc151.xml
index f3d9c5b84..212ac5589 100644
--- a/tests/src/org/aspectj/systemtest/ajc151/ajc151.xml
+++ b/tests/src/org/aspectj/systemtest/ajc151/ajc151.xml
@@ -5,6 +5,12 @@
<ajc-test dir="bugs151" title="member types in generic types">
<compile files="pr122458.aj" options="-1.5 -emacssym"/>
+ </ajc-test>
+
+ <ajc-test dir="bugs151/pr123901" title="inlinevisitor NPE">
+ <compile files="A.java,B.java" options="-1.5">
+ <message kind="error" line="5" text="a.A cannot be resolved or is not a field"/>
+ </compile>
</ajc-test>
<ajc-test dir="bugs151" title="member types in generic types - 2">
@@ -98,4 +104,8 @@
<compile files="pkg/C.java,pkg/A.aj" options="-emacssym"/>
</ajc-test>
+ <ajc-test dir="bugs151/pr125475" title="empty pointcut in atAJ">
+ <compile files="TestEmptyPointcutAtAspect.java" options="-1.5"/>
+ </ajc-test>
+
</suite> \ No newline at end of file