|
From: Jason T. G. <nih...@us...> - 2005-04-12 19:50:06
|
User: nihility Date: 05/04/12 12:49:52 Modified: . build.xml Log: Add test target and tests for StAX Revision Changes Path 1.450 +46 -1 jbosstest/build.xml Index: build.xml =================================================================== RCS file: /cvsroot/jboss/jbosstest/build.xml,v retrieving revision 1.449 retrieving revision 1.450 diff -u -r1.449 -r1.450 --- build.xml 4 Apr 2005 23:41:16 -0000 1.449 +++ build.xml 12 Apr 2005 19:49:47 -0000 1.450 @@ -6,7 +6,7 @@ <!-- See terms of license at http://www.gnu.org. --> <!-- ============================================================ --> -<!-- $Id: build.xml,v 1.449 2005/04/04 23:41:16 ejort Exp $ --> +<!-- $Id: build.xml,v 1.450 2005/04/12 19:49:47 nihility Exp $ --> <project default="main" name="JBoss/Testsuite"> <import file="../tools/etc/buildmagic/build-common.xml"/> @@ -87,6 +87,7 @@ <path refid="sun.servlet.classpath"/> <path refid="trove.classpath"/> <path refid="wutka.dtdparser.classpath"/> + <path refid="codehaus.stax.classpath"/> <!-- needed for JBossMQ selector tests --> <path refid="gnu.regexp.classpath"/> @@ -526,6 +527,9 @@ <patternset id="jaxr.includes"> <include name="org/jboss/test/jaxr/scout/**/*TestCase.class"/> </patternset> + <patternset id="stax.include"> + <include name="org/jboss/test/stax/**/*TestCase.class"/> + </patternset> <!-- Tests needing deployment service setup --> <patternset id="deployment-service.includes"> <include name="org/jboss/test/deployment/test/*TestCase.class"/> @@ -1904,6 +1908,47 @@ </junit> </target> + <!-- Test StAX JAS-173 --> + <target name="tests-stax" 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"/> + <!-- Pass along any jbosstest.* system properties --> + <syspropertyset> + <propertyref prefix="jbosstest."/> + </syspropertyset> + + <classpath> + <pathelement location="${build.classes}"/> + <pathelement location="${build.resources}"/> + <path refid="tests.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}"> + <patternset refid="stax.includes"/> + </fileset> + </batchtest> + </junit> + </target> + <!-- Run the Web Services Tests--> <target name="tests-webservice" description="Execute Web Services Related Tests"> |