Author: ritchiem
Date: Wed Nov 8 04:13:39 2006
New Revision: 472461
URL: http://svn.apache.org/viewvc?view=rev&rev=472461
Log:
Updated to work with new test classes. Will run all *Test.java files (But not
*UnitTest.java) in the test/unit package
Modified:
incubator/qpid/trunk/qpid/java/client/test/build-module.xml
Modified: incubator/qpid/trunk/qpid/java/client/test/build-module.xml
URL:
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/test/build-module.xml?view=diff&rev=472461&r1=472460&r2=472461
==============================================================================
--- incubator/qpid/trunk/qpid/java/client/test/build-module.xml (original)
+++ incubator/qpid/trunk/qpid/java/client/test/build-module.xml Wed Nov 8
04:13:39 2006
@@ -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}">