From: Thomas D. <tdi...@us...> - 2004-11-05 18:18:08
|
User: tdiesler Date: 04/11/05 10:17:57 Modified: . Tag: Branch_3_2 build.xml Log: Synch JBoss.NET from Branch_4_0 to Branch_3_2 Revision Changes Path No revision No revision 1.165.2.170 +61 -2 jbosstest/build.xml Index: build.xml =================================================================== RCS file: /cvsroot/jboss/jbosstest/build.xml,v retrieving revision 1.165.2.169 retrieving revision 1.165.2.170 diff -u -r1.165.2.169 -r1.165.2.170 --- build.xml 30 Oct 2004 02:19:15 -0000 1.165.2.169 +++ build.xml 5 Nov 2004 18:17:54 -0000 1.165.2.170 @@ -76,8 +76,8 @@ <path refid="apache.xalan.classpath"/> <path refid="apache.commons.classpath"/> <path refid="apache.log4j.classpath"/> - <path refid="apache.axis.classpath"/> <path refid="oswego.concurrent.classpath"/> + <path refid="ibm.wsdl4j.classpath"/> <path refid="jacorb.jacorb.classpath"/> <path refid="dom4j.dom4j.classpath"/> <path refid="junit.junit.classpath"/> @@ -116,6 +116,7 @@ <path id="dependentmodule.classpath"> <path refid="jboss.j2ee.classpath"/> <path refid="jboss.common.classpath"/> + <path refid="jboss.jaxrpc.classpath"/> <path refid="jboss.jmx.classpath"/> <path refid="jboss.system.classpath"/> <path refid="jboss.naming.classpath"/> @@ -1312,6 +1313,64 @@ </junit> </target> + <!-- + | Standard jbossnet tests that should run successfully against a + | JBoss server distribution build that contains jboss-net. + --> + + <target name="tests-jbossnet" + description="Execute JBoss.NET Tests"> + + <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"/> + + <!-- make sure to use xerces on the client side as well, otherwise the element echo tests might fail --> + <sysproperty key="javax.xml.parsers.DocumentBuilderFactory" value="org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"/> + <sysproperty key="javax.xml.parsers.SAXParserFactory" value="org.apache.xerces.jaxp.SAXParserFactoryImpl"/> + + <classpath> + <pathelement location="${build.classes}"/> + <pathelement location="${build.resources}/security"/> + <pathelement location="${build.resources}"/> + <pathelement location="${jboss.jbossnet.lib}/jboss-net-client.jar"/> + <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/jbossnet/${jbosstest.pattern}TestCase.class"/> + </fileset> + </batchtest> + </junit> + </target> + <!-- | IIOP test cases that should run successfully --> |