]> source.dussan.org Git - aspectj.git/commitdiff
223094 - test case
authoraclement <aclement>
Tue, 18 Mar 2008 21:15:28 +0000 (21:15 +0000)
committeraclement <aclement>
Tue, 18 Mar 2008 21:15:28 +0000 (21:15 +0000)
tests/src/org/aspectj/systemtest/ajc160/Ajc160Tests.java
tests/src/org/aspectj/systemtest/ajc160/ajc160.xml

index b11b00818090701c2945d28cbab883080c5cc3ec..528b0cec1a75798a5a81a5a52b6cedce61d3fc27 100644 (file)
@@ -22,6 +22,9 @@ import org.aspectj.testing.XMLBasedAjcTestCase;
 public class Ajc160Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
        
        // AspectJ1.6.0rc1
+    public void testLTWITDs_pr223094() {
+        runTest("ltw inherited itds");
+    }
   //  public void testBrokenIfArgsCflowAtAj_pr145018() {
     //    runTest("ataj crashing with cflow, if and args");
    // }
index f6339d7e58ca1734bc0798d565f690082ebf7b2a..09595b41af6ebe77e5eeea764621adb56ec1e3d7 100644 (file)
@@ -3,6 +3,16 @@
 <!-- AspectJ v1.6.0 Tests -->
 <suite>
 
+    <ajc-test dir="bugs160/pr223094" title="ltw inherited itds">
+      <compile files="B.java" outjar="foo.jar"/>
+      <compile files="A.java" classpath="$sandbox/foo.jar"/>
+      <run class="p.A" classpath="$sandbox/foo.jar" ltw="aop.xml">
+        <stdout>
+          <line text="ok"/>
+           </stdout>
+      </run>
+    </ajc-test>
+
    <ajc-test dir="bugs160/pr167197" title="generic type parameterized with array type">
      <compile options="-1.5" files="AspectBreaker.java"/>
    </ajc-test>