summaryrefslogtreecommitdiff
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
commitc6bd4128df86ced2095a7e8c375a3f02a8ff32e3 (patch)
treea8e9f4c3a5e4ee025dbca813d7de65f7efc0f59d
parent2e13c279b6a75b39a70dfadeb41ca606e12bb279 (diff)
downloadqpid-python-c6bd4128df86ced2095a7e8c375a3f02a8ff32e3.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/qpid@472461 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/client/test/build-module.xml24
1 files changed, 20 insertions, 4 deletions
diff --git a/java/client/test/build-module.xml b/java/client/test/build-module.xml
index 20206641bd..043842505d 100644
--- a/java/client/test/build-module.xml
+++ b/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}">