File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33
44<!--
55 "IO" component of the Jakarta Commons Subproject
6- $Id: build.xml,v 1.3 2002/07/09 14:58:35 nicolaken Exp $
6+ $Id: build.xml,v 1.4 2002/07/09 15:21:38 nicolaken Exp $
77-->
88
99
252252 description =" Run all unit test cases" >
253253 </target >
254254
255-
255+ <!--
256256 <target name="test.io" depends="compile.tests">
257257 <echo message="Running IO tests ..."/>
258258 <java classname="${test.runner}" fork="yes"
261261 <classpath refid="test.classpath"/>
262262 </java>
263263 </target>
264+ -->
265+ <target name =" test.io" depends =" compile.tests" >
266+
267+ <taskdef name =" junit" classname =" org.apache.tools.ant.taskdefs.optional.junit.JUnitTask" />
268+
269+ <junit printsummary =" yes" haltonfailure =" ${ test.failonerror } " fork =" yes" >
264270
271+ <formatter type =" brief" usefile =" false" />
272+ <classpath refid =" test.classpath" />
273+
274+ <batchtest todir =" ${ build.home } /tests" >
275+ <fileset dir =" ${ build.home } /tests" >
276+ <include name =" **/test/*TestCase.class" />
277+ <include name =" **/*Test.class" />
278+ <include name =" **/*TestCase.class" />
279+ <include name =" **/Test*.class" />
280+ <exclude name =" **/AllTest.class" />
281+ <exclude name =" **/*$$*Test.class" />
282+ </fileset >
283+ </batchtest >
284+ </junit >
285+ </target >
286+
265287</project >
You can’t perform that action at this time.
0 commit comments