Update testing for ant

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137014 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stephen Colebourne 2002-09-12 21:58:15 +00:00
parent 3c58a13269
commit 370914eb5a

View File

@ -3,7 +3,7 @@
<!--
"Lang" component of the Jakarta Commons Subproject
$Id: build.xml,v 1.3 2002/08/13 17:56:45 dlr Exp $
$Id: build.xml,v 1.4 2002/09/12 21:58:15 scolebourne Exp $
-->
@ -153,9 +153,13 @@
<!-- ========== Unit Test Targets ========================================= -->
<target name="test" depends="compile.tests, test.exception, test.enum"
<target name="test" depends="compile.tests, test.lang, test.exception, test.enum, test.builder"
description="Run all unit test cases">
<echo message="Running tests ..."/>
</target>
<target name="test.lang" depends="compile.tests">
<echo message="Running lang package tests ..."/>
<java classname="${test.runner}" fork="yes"
failonerror="${test.failonerror}">
<arg value="org.apache.commons.lang.LangTestSuite"/>
@ -163,61 +167,6 @@
</java>
</target>
<target name="test.strings" depends="compile.tests">
<echo message="Running Strings tests ..."/>
<java classname="${test.runner}" fork="yes"
failonerror="${test.failonerror}">
<arg value="org.apache.commons.lang.StringsTest"/>
<classpath refid="test.classpath"/>
</java>
</target>
<target name="test.objects" depends="compile.tests">
<echo message="Running Objects tests ..."/>
<java classname="${test.runner}" fork="yes"
failonerror="${test.failonerror}">
<arg value="org.apache.commons.lang.ObjectsTest"/>
<classpath refid="test.classpath"/>
</java>
</target>
<target name="test.numberRange" depends="compile.tests">
<echo message="Running NumberRange tests ..."/>
<java classname="${test.runner}" fork="yes"
failonerror="${test.failonerror}">
<arg value="org.apache.commons.lang.NumberRangeTest"/>
<classpath refid="test.classpath"/>
</java>
</target>
<target name="test.randomStrings" depends="compile.tests">
<echo message="Running RandomStrings tests ..."/>
<java classname="${test.runner}" fork="yes"
failonerror="${test.failonerror}">
<arg value="org.apache.commons.lang.RandomStringsTest"/>
<classpath refid="test.classpath"/>
</java>
</target>
<target name="test.serialization" depends="compile.tests">
<echo message="Running Serialization tests ..."/>
<java classname="${test.runner}" fork="yes"
failonerror="${test.failonerror}">
<arg value="org.apache.commons.lang.SerializationTest"/>
<classpath refid="test.classpath"/>
</java>
</target>
<target name="test.charset" depends="compile.tests">
<echo message="Running CharSet tests ..."/>
<java classname="${test.runner}" fork="yes"
failonerror="${test.failonerror}">
<arg value="org.apache.commons.lang.CharSetTest"/>
<classpath refid="test.classpath"/>
</java>
</target>
<target name="test.exception" depends="compile.tests">
<echo message="Running exception package tests ..."/>
<java classname="${test.runner}" fork="yes"
@ -236,4 +185,13 @@
</java>
</target>
<target name="test.builder" depends="compile.tests">
<echo message="Running builder package tests ..."/>
<java classname="${test.runner}" fork="yes"
failonerror="${test.failonerror}">
<arg value="org.apache.commons.lang.builder.BuilderTestSuite"/>
<classpath refid="test.classpath"/>
</java>
</target>
</project>