]> source.dussan.org Git - aspectj.git/commitdiff
230134: tests and fixes - move cflow caches from static state to crosscuttingmembers...
authoraclement <aclement>
Mon, 5 May 2008 18:55:49 +0000 (18:55 +0000)
committeraclement <aclement>
Mon, 5 May 2008 18:55:49 +0000 (18:55 +0000)
tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java
tests/src/org/aspectj/systemtest/ajc161/ajc161.xml

index 8d1badc21f7b3a15e7d8c58f14a07c1cf5663845..7f0f6fd49878efd81bc1eeb0c022abafd7b7437c 100644 (file)
@@ -19,6 +19,7 @@ import org.aspectj.testing.XMLBasedAjcTestCase;
 public class Ajc161Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
        
        // AspectJ1.6.1
+       public void testLtwInheritedCflow_pr230134() { runTest("ltw inherited cflow"); }
     public void testAroundAdviceOnFieldSet_pr229910() { runTest("around advice on field set"); }
     public void testPipelineCompilationGenericReturnType_pr226567() { runTest("pipeline compilation and generic return type"); }
 
index 210df6462dd0c41d9ee6675748b1ef0e9be2834d..f864b64b24c10e17537732e41671880c6e5418b8 100644 (file)
@@ -3,15 +3,24 @@
 <!-- AspectJ v1.6.1 Tests -->
 <suite>
 
+    <ajc-test dir="bugs161/pr230134" title="ltw inherited cflow">
+      <compile files="HW.java"/>
+      <compile files="SimpleTracing.java Tracing.java HelloWorldTracing.java" outjar="foo.jar"/>
+      <run class="hello.HW" classpath="$sandbox/foo.jar" ltw="aop.xml">
+        <stdout>
+          <line text="Hello World"/>
+           </stdout>
+      </run>
+    </ajc-test>
+    
     <ajc-test dir="bugs161/pr229910" title="around advice on field set">
         <compile files="Test.java" options="-1.5"/>
         <run class="Test"/>
-    </ajc-test>
+    </ajc-test> 
     
     <ajc-test dir="bugs161/pr226567" title="pipeline compilation and generic return type">
         <compile files="BarAspect.aj Foo.java Bar.java" options="-1.5"/>
         <compile files="BarAspect.aj Bar.java Foo.java" options="-1.5"/>
-    </ajc-test>
-    
+    </ajc-test> 
 
 </suite>
\ No newline at end of file