|
From: Anil S. <osd...@us...> - 2005-03-12 03:56:16
|
User: osdchicago Date: 05/03/11 19:56:06 Modified: . Tag: Branch_4_0 build.xml Log: Added a new target "tests-scout-jaxr" that tests the new JAXR stack!!! Revision Changes Path No revision No revision 1.406.2.43 +68 -3 jbosstest/build.xml Index: build.xml =================================================================== RCS file: /cvsroot/jboss/jbosstest/build.xml,v retrieving revision 1.406.2.42 retrieving revision 1.406.2.43 diff -u -r1.406.2.42 -r1.406.2.43 --- build.xml 25 Feb 2005 02:38:04 -0000 1.406.2.42 +++ build.xml 12 Mar 2005 03:55:52 -0000 1.406.2.43 @@ -6,7 +6,7 @@ <!-- See terms of license at http://www.gnu.org. --> <!-- ============================================================ --> -<!-- $Id: build.xml,v 1.406.2.42 2005/02/25 02:38:04 starksm Exp $ --> +<!-- $Id: build.xml,v 1.406.2.43 2005/03/12 03:55:52 osdchicago Exp $ --> <project default="main" name="JBoss/Testsuite"> <import file="../tools/etc/buildmagic/build-common.xml"/> @@ -508,7 +508,7 @@ <exclude name="org/jboss/test/xml/*TestCase.class"/> </patternset> <patternset id="jaxr.includes"> - <include name="org/jboss/test/jaxr/**/*TestCase.class"/> + <include name="org/jboss/test/jaxr/scout/**/*TestCase.class"/> </patternset> <!-- Tests needing deployment service setup --> <patternset id="deployment-service.includes"> @@ -608,7 +608,7 @@ <antcall target="tests-jbossmx-implementation"/> <antcall target="tests-jbossmx-performance"/> <antcall target="tests-iiop"/> - <antcall target="tests-jaxr"/> + <antcall target="tests-scout-jaxr"/> <antcall target="tests-webservice"/> <antcall target="tests-txtimer"/> <stop-jboss/> @@ -2138,6 +2138,71 @@ </junit> </target> + <!-- Test for JAXR under the Web Services Umbrella --> + <target name="tests-scout-jaxr" 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}" + failureProperty="tests.failure"> + + <jvmarg value="-Djava.endorsed.dirs=${jboss.server.lib}/endorsed"/> + <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="javax.xml.registry.ConnectionFactoryClass" + value="org.apache.ws.scout.registry.ConnectionFactoryImpl"/> + <sysproperty key="jaxr.query.url" + value="http://localhost:8080/juddi/inquiry"/> + <sysproperty key="jaxr.publish.url" + value="http://localhost:8080/juddi/publish"/> + <sysproperty key="juddi.proxy.transportClass" + value="org.jboss.jaxr.juddi.axis.JBossJuddiAxisTransport"/> + <!-- Pass along any jbosstest.* system properties --> + <syspropertyset> + <propertyref prefix="jbosstest."/> + </syspropertyset> + + <classpath> + <pathelement location="${build.classes}"/> + + <path refid="apache.xerces.classpath"/> + <path refid="dom4j.dom4j.classpath"/> + <path refid="sun.javamail.classpath"/> + <path refid="sun.jaf.classpath"/> + <path refid="jboss.jaxrpc.classpath"/> + <path refid="apache.commons.classpath"/> + <path refid="juddi.juddi.classpath"/> + <path refid="apache.scout.classpath"/> + + <fileset dir="${jboss.dist}/client"> + <include name="jbossall-client.jar"/> + <include name="jboss-j2ee.jar"/> + <include name="axis-ws4ee.jar"/> + <include name="jboss-juddiaxis.jar"/> + </fileset> + </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="jaxr.includes"/> + </fileset> + </batchtest> + </junit> + </target> + + <!-- | Standard jaxr tests that should run successfully against a | JBoss server distribution build that contains jaxr. |