|
From: Thomas D. <tdi...@us...> - 2004-07-27 21:31:57
|
User: tdiesler Date: 04/07/27 14:31:50 Modified: . Tag: Branch_3_2 build.xml Log: Add the jboss.net tests Revision Changes Path No revision No revision 1.165.2.156 +58 -2 jbosstest/build.xml Index: build.xml =================================================================== RCS file: /cvsroot/jboss/jbosstest/build.xml,v retrieving revision 1.165.2.155 retrieving revision 1.165.2.156 diff -u -r1.165.2.155 -r1.165.2.156 --- build.xml 13 Jul 2004 13:50:32 -0000 1.165.2.155 +++ build.xml 27 Jul 2004 21:31:47 -0000 1.165.2.156 @@ -15,7 +15,7 @@ <!-- --> <!-- ============================================================ --> -<!-- $Id: build.xml,v 1.165.2.155 2004/07/13 13:50:32 ejort Exp $ --> +<!-- $Id: build.xml,v 1.165.2.156 2004/07/27 21:31:47 tdiesler Exp $ --> <project default="main" name="JBoss/Testsuite"> @@ -4873,11 +4873,12 @@ tests-client-stress, tests-security-basic-stress, tests-jsr77-unit, + tests-webservice-unit, tests-util-unit, tests-jbossmx-compliance, tests-jbossmx-implementation, tests-jbossmx-performance, - tests-iiop-stress, + tests-iiop-stress, tests-report"> </target> @@ -4888,6 +4889,7 @@ tests-client-unit, tests-security-basic-unit, tests-jsr77-unit, + tests-webservice-unit, tests-util-unit, tests-jbossmx-compliance, tests-jbossmx-implementation, @@ -5427,6 +5429,60 @@ </target> <!-- + | Standard webservice tests that should run successfully against a + | JBoss server distribution build that contains jboss-net. + --> + + <target name="tests-webservice-unit" depends="maybejars"> + <mkdir dir="${build.reports}"/> + <mkdir dir="${build.testlog}"/> + <!-- choose a testpattern via a property --> + <property name="jbosstest.pattern" value="**/*"/> + <junit dir="${module.output}" + printsummary="${junit.printsummary}" + haltonerror="${junit.haltonerror}" + haltonfailure="${junit.haltonfailure}" + fork="${junit.fork}" + timeout="${junit.timeout}" + jvm="${junit.jvm}"> + + <jvmarg line="${junit.jvm.options}"/> + <sysproperty key="jbosstest.deploy.dir" file="${build.lib}"/> + <sysproperty key="jbosstest.secure" value="true"/> + + <jvmarg value="-Djava.security.manager"/> + <sysproperty key="java.security.policy" + value="${build.resources}/security/tst.policy"/> + <sysproperty key="java.security.auth.login.config" + value="${build.resources}/security/auth.conf"/> + <sysproperty key="build.testlog" value="${build.testlog}"/> + <sysproperty key="log4j.configuration" value="file:${build.resources}/log4j.xml"/> + + <classpath> + <pathelement location="${build.classes}"/> + <pathelement location="${build.resources}/security"/> + <pathelement location="${build.resources}"/> + <path refid="tests.classpath"/> + </classpath> + + <formatter type="xml" usefile="${junit.formatter.usefile}"/> + <formatter type="plain" 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="**/test/webservice/${jbosstest.pattern}TestCase.class"/> + <exclude name="**/test/webservice/external/**"/> + <exclude name="**/test/webservice/store/**"/> + </fileset> + </batchtest> + </junit> + </target> + + <!-- | Standard marathon tests that should run successfully against a default | JBoss server distribution build. --> |