]> source.dussan.org Git - aspectj.git/commitdiff
tests for 153490: mixing delegates
authoraclement <aclement>
Wed, 13 Sep 2006 07:42:29 +0000 (07:42 +0000)
committeraclement <aclement>
Wed, 13 Sep 2006 07:42:29 +0000 (07:42 +0000)
tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
tests/src/org/aspectj/systemtest/ajc153/ajc153.xml

index 01d75bedb205f95efe3ada247a11c67ba805faf3..3901c28d580d9ecff055acfbd9ac40f6b16dd933 100644 (file)
@@ -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"); }
index e672d8c069c999db7c23b09fc2fe497313c43046..a6108fb1ad766089df4efead7a23c1a6c16d7219 100644 (file)
@@ -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"/>