]> source.dussan.org Git - aspectj.git/commitdiff
fix LTW test
authoravasseur <avasseur>
Wed, 11 May 2005 09:18:15 +0000 (09:18 +0000)
committeravasseur <avasseur>
Wed, 11 May 2005 09:18:15 +0000 (09:18 +0000)
tests/java5/ataspectj/ajc-ant.xml
tests/java5/ataspectj/ataspectj/aop-perclausetest.xml [new file with mode: 0644]

index ec223ea54454cd41af3f8828e751ecd29ff5e3fc..a83b21bfd40768f96140a9288e46c9f9d7dea47f 100644 (file)
@@ -26,7 +26,7 @@
         <java fork="yes" classname="ataspectj.PerClauseTest" failonerror="yes">
             <classpath refid="aj.path"/>
             <jvmarg value="-javaagent:${aj.root}/lib/test/loadtime5.jar"/>
-            <jvmarg value="-Daj5.def=ataspectj/aop.xml"/>
+            <jvmarg value="-Daj5.def=ataspectj/aop-perclausetest.xml"/>
         </java>
     </target>
 
diff --git a/tests/java5/ataspectj/ataspectj/aop-perclausetest.xml b/tests/java5/ataspectj/ataspectj/aop-perclausetest.xml
new file mode 100644 (file)
index 0000000..655e2b5
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<aspectj>
+    <weaver options="-XmessageHolderClass:ataspectj.TestHelper"/>
+    <aspects>
+        <aspect name="ataspectj.PerClauseTestAspects.TestAspectPerSingleton"/>
+        <aspect name="ataspectj.PerClauseTestAspects.TestAspectPerTarget"/>
+        <aspect name="ataspectj.PerClauseTestAspects.TestAspectPerCflow"/>
+        <aspect name="ataspectj.PerClauseTestAspects.TestAspectPTW"/>
+    </aspects>
+</aspectj>