aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2006-09-13 07:42:29 +0000
committeraclement <aclement>2006-09-13 07:42:29 +0000
commit8e14546e33d64d086865b8224806fce52f75f866 (patch)
treeb22d369fa1e7d4a557f047400ee253873ed48219
parent43638daf5d222e4dd9af8788d575b721f84d1210 (diff)
downloadaspectj-8e14546e33d64d086865b8224806fce52f75f866.tar.gz
aspectj-8e14546e33d64d086865b8224806fce52f75f866.zip
tests for 153490: mixing delegates
-rw-r--r--tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java4
-rw-r--r--tests/src/org/aspectj/systemtest/ajc153/ajc153.xml12
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java b/tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
index 01d75bedb..3901c28d5 100644
--- a/tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
@@ -27,6 +27,10 @@ public class Ajc153Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
// public void testArgnamesAndJavac_pr148381() { runTest("argNames and javac");}
// public void testCFlowXMLAspectLTW_pr149096() { runTest("cflow xml concrete aspect"); }
// public void testAmbiguousBinding_pr121805() { runTest("ambiguous binding");}
+
+ public void testNoIllegalStateExceptionFromAsmDelegate_pr153490_1() { runTest("no illegal state exception from AsmDelegate - 1");}
+ public void testNoIllegalStateExceptionFromAsmDelegate_pr153490_2() { runTest("no illegal state exception from AsmDelegate - 2");}
+ public void testNoIllegalStateExceptionFromAsmDelegate_pr153490_3() { runTest("no illegal state exception from AsmDelegate - 3");}
public void testAnnotMethod_pr156962() { runTest("Test Annot Method");}
public void testAnnotMethodHasMember_pr156962() { runTest("Test Annot Method Has Member"); }
public void testMixingGenerics_pr152848() { runTest("mixing generics"); }
diff --git a/tests/src/org/aspectj/systemtest/ajc153/ajc153.xml b/tests/src/org/aspectj/systemtest/ajc153/ajc153.xml
index e672d8c06..a6108fb1a 100644
--- a/tests/src/org/aspectj/systemtest/ajc153/ajc153.xml
+++ b/tests/src/org/aspectj/systemtest/ajc153/ajc153.xml
@@ -3,6 +3,18 @@
<!-- AspectJ v1.5.3 Tests -->
<suite>
+ <ajc-test dir="bugs153/pr153490" title="no illegal state exception from AsmDelegate - 1">
+ <compile files="Foo.java" options="-1.5" classpath="jarForFoo.jar" />
+ </ajc-test>
+
+ <ajc-test dir="bugs153/pr153490" title="no illegal state exception from AsmDelegate - 2">
+ <compile files="Bar.java" options="-1.5" classpath="jarForBar.jar" />
+ </ajc-test>
+
+ <ajc-test dir="bugs153/pr153490" title="no illegal state exception from AsmDelegate - 3">
+ <compile files="Goo.java" options="-1.5" classpath="jarForGoo.jar" />
+ </ajc-test>
+
<ajc-test dir="bugs153/pr156962" title="Test Annot Method">
<compile files="Sample.java, WarnDeprecatedMethod.aj" options="-1.5">
<message kind="warning" line="2" text="deprecated method"/>