summaryrefslogtreecommitdiff
path: root/qpid/java/client
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2006-11-08 12:13:39 +0000
committerMartin Ritchie <ritchiem@apache.org>2006-11-08 12:13:39 +0000
commitc97b18303a2acef85c8443900167037d024512ec (patch)
tree66ac2581653260fa74d3f5e64fd61294ff3e4bd1 /qpid/java/client
parent53d3412f46669ec272009b01f5f24e11ade333de (diff)
downloadqpid-python-c97b18303a2acef85c8443900167037d024512ec.tar.gz
Updated to work with new test classes. Will run all *Test.java files (But not *UnitTest.java) in the test/unit package
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@472461 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/client')
-rw-r--r--qpid/java/client/test/build-module.xml24
1 files changed, 20 insertions, 4 deletions
diff --git a/qpid/java/client/test/build-module.xml b/qpid/java/client/test/build-module.xml
index 20206641bd..043842505d 100644
--- a/qpid/java/client/test/build-module.xml
+++ b/qpid/java/client/test/build-module.xml
@@ -22,18 +22,34 @@
<import file="../../module.xml"/>
<target name="test" depends="build">
- <junit fork="yes" showoutput="true" haltonfailure="yes">
- <test name="org.apache.qpid.client.AllClientUnitTests"/>
+ <echo>Client Tests</echo>
+ <junit fork="yes" printsummary="yes" showoutput="true" haltonfailure="yes" timeout="30000">
+ <sysproperty key="amqj.noAutoCreateVMBroker" value="true"/>
<formatter type="plain"/>
<classpath refid="module.class.path"/>
+
+ <batchtest fork="yes" todir="${module.test.reports}">
+ <fileset dir="${module.src}">
+ <include name="**/test/unit/**/*Test.java"/>
+ <exclude name="**/test/unit/**/*UnitTests.java"/>
+ </fileset>
+ </batchtest>
</junit>
</target>
<target name="testreport" depends="build">
- <junit fork="yes" printsummary="yes" haltonfailure="no">
- <test name="org.apache.qpid.client.AllClientUnitTests" fork="yes" todir="${module.test.reports}"/>
+ <echo>Client Tests with Report</echo>
+ <junit fork="yes" printsummary="yes" haltonfailure="no" timeout="30000">
+ <sysproperty key="amqj.noAutoCreateVMBroker" value="true"/>
<formatter type="xml" />
<classpath refid="module.class.path" />
+
+ <batchtest fork="yes" todir="${module.test.reports}">
+ <fileset dir="${module.src}">
+ <include name="**/test/unit/**/*Test.java"/>
+ <exclude name="**/test/unit/**/*UnitTests.java"/>
+ </fileset>
+ </batchtest>
</junit>
<junitreport todir="${module.test.reports}">