summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/java5/ataspectj/ajc-ant.xml2
-rw-r--r--tests/java5/ataspectj/ataspectj/aop-perclausetest.xml10
2 files changed, 11 insertions, 1 deletions
diff --git a/tests/java5/ataspectj/ajc-ant.xml b/tests/java5/ataspectj/ajc-ant.xml
index ec223ea54..a83b21bfd 100644
--- a/tests/java5/ataspectj/ajc-ant.xml
+++ b/tests/java5/ataspectj/ajc-ant.xml
@@ -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
index 000000000..655e2b55e
--- /dev/null
+++ b/tests/java5/ataspectj/ataspectj/aop-perclausetest.xml
@@ -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>