You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2002/09/12 23:58:16 UTC
cvs commit: jakarta-commons/lang build.xml
scolebourne 2002/09/12 14:58:15
Modified: lang build.xml
Log:
Update testing for ant
Revision Changes Path
1.4 +14 -56 jakarta-commons/lang/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/lang/build.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- build.xml 13 Aug 2002 17:56:45 -0000 1.3
+++ build.xml 12 Sep 2002 21:58:15 -0000 1.4
@@ -153,67 +153,16 @@
<!-- ========== 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 ..."/>
- <java classname="${test.runner}" fork="yes"
- failonerror="${test.failonerror}">
- <arg value="org.apache.commons.lang.LangTestSuite"/>
- <classpath refid="test.classpath"/>
- </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 ..."/>
+ <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.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"/>
+ <arg value="org.apache.commons.lang.LangTestSuite"/>
<classpath refid="test.classpath"/>
</java>
</target>
@@ -232,6 +181,15 @@
<java classname="${test.runner}" fork="yes"
failonerror="${test.failonerror}">
<arg value="org.apache.commons.lang.enum.EnumTestSuite"/>
+ <classpath refid="test.classpath"/>
+ </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>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>