From: <dr...@us...> - 2002-11-10 21:11:30
|
Update of /cvsroot/webmacro/webmacro/test In directory usw-pr-cvs1:/tmp/cvs-serv11092/test Modified Files: build.xml Log Message: - fixing bug #69: TextTool.rtim() trims too much added a testcase for it - added ability to run just one test: example: ant test -Dtest=TestTextTool Index: build.xml =================================================================== RCS file: /cvsroot/webmacro/webmacro/test/build.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** build.xml 17 Jun 2001 22:57:01 -0000 1.4 --- build.xml 10 Nov 2002 21:11:27 -0000 1.5 *************** *** 4,9 **** <property name="unit.classes" value="${test.root}/unit-classes"/> <property name="unit.reports" value="${test.root}/unit-reports"/> ! <taskdef name="junit" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask" /> --- 4,10 ---- <property name="unit.classes" value="${test.root}/unit-classes"/> <property name="unit.reports" value="${test.root}/unit-reports"/> + <property name="test" value="Test*" /> ! <taskdef name="junit" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask" /> *************** *** 47,51 **** <formatter type="plain" /> <batchtest fork="yes" todir="${unit.reports}"> ! <fileset dir="${unit.root}" includes="**/Test*.java" /> </batchtest> </junit> --- 48,52 ---- <formatter type="plain" /> <batchtest fork="yes" todir="${unit.reports}"> ! <fileset dir="${unit.root}" includes="**/${test}.java" /> </batchtest> </junit> *************** *** 67,71 **** <formatter type="plain" /> <batchtest fork="yes" todir="${unit.reports}"> ! <fileset dir="${unit.root}" includes="**/Test*.java" /> </batchtest> </junit> --- 68,72 ---- <formatter type="plain" /> <batchtest fork="yes" todir="${unit.reports}"> ! <fileset dir="${unit.root}" includes="**/${test}.java" /> </batchtest> </junit> |