From: Thomas D. <tdi...@us...> - 2004-04-05 14:09:08
|
User: tdiesler Date: 04/04/05 06:56:32 Modified: . build.xml Log: add xml binding test cases Revision Changes Path 1.354 +45 -1 jbosstest/build.xml Index: build.xml =================================================================== RCS file: /cvsroot/jboss/jbosstest/build.xml,v retrieving revision 1.353 retrieving revision 1.354 diff -u -r1.353 -r1.354 --- build.xml 30 Mar 2004 17:33:24 -0000 1.353 +++ build.xml 5 Apr 2004 13:56:23 -0000 1.354 @@ -15,7 +15,7 @@ <!-- --> <!-- ====================================================================== --> -<!-- $Id: build.xml,v 1.353 2004/03/30 17:33:24 starksm Exp $ --> +<!-- $Id: build.xml,v 1.354 2004/04/05 13:56:23 tdiesler Exp $ --> <project default="main" name="JBoss/Testsuite"> @@ -6347,6 +6347,50 @@ </target> <!-- + | Test the XML binding framework + --> + + <target name="tests-xml" depends="maybejars"> + <mkdir dir="${build.reports}"/> + <mkdir dir="${build.testlog}"/> + <junit dir="${module.output}" + printsummary="${junit.printsummary}" + haltonerror="${junit.haltonerror}" + haltonfailure="${junit.haltonfailure}" + fork="${junit.fork}" + timeout="${junit.timeout}" + jvm="${junit.jvm}"> + + <jvmarg value="${junit.jvm.options}"/> + <sysproperty key="jbosstest.deploy.dir" file="${build.lib}"/> + <sysproperty key="build.testlog" value="${build.testlog}"/> + <sysproperty key="log4j.configuration" value="file:${build.resources}/log4j.xml"/> + <sysproperty key="jbosstest.threadcount" value="${jbosstest.threadcount}"/> + <sysproperty key="jbosstest.iterationcount" value="${jbosstest.iterationcount}"/> + <sysproperty key="jbosstest.beancount" value="${jbosstest.beancount}"/> + + <classpath> + <pathelement location="${build.classes}"/> + <pathelement location="${build.resources}"/> + <path refid="tests.classpath"/> + <path refid="apache.xerces.classpath"/> + </classpath> + + <formatter type="xml" usefile="${junit.formatter.usefile}"/> + + <batchtest todir="${build.reports}" + haltonerror="${junit.batchtest.haltonerror}" + haltonfailure="${junit.batchtest.haltonfailure}" + fork="${junit.batchtest.fork}"> + + <fileset dir="${build.classes}"> + <include name="org/jboss/test/xml/*TestCase.class"/> + </fileset> + </batchtest> + </junit> + </target> + + <!-- | Run all database related tests --> |