User: schaefera
Date: 01/12/08 21:01:43
Modified: . build.xml
Log:
Added Notification Transport to JSR-77 which works similar to EJB-Connector
but with the tweak of JSR-77 interface.
Added the adjusted JDBC JSR-77 shadow objects.
Added JSR-77 to the Connector Factory enabling JSR-77 to start and stop
Datasources.
Added a testsuite for JSR-77 which tests the basic stuff inclusive the
notification delivery.
Revision Changes Path
1.45 +66 -2 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- build.xml 2001/12/08 19:00:20 1.44
+++ build.xml 2001/12/09 05:01:43 1.45
@@ -12,7 +12,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.44 2001/12/08 19:00:20 starksm Exp $ -->
+<!-- $Id: build.xml,v 1.45 2001/12/09 05:01:43 schaefera Exp $ -->
<project default="main" name="JBoss/Testsuite">
@@ -127,6 +127,13 @@
<pathelement path="${oswego.concurrent.lib}/concurrent.jar"/>
</path>
+ <!-- JSR 77 -->
+ <property name="sun.jsr77.root" value="${project.thirdparty}/sun/jsr77"/>
+ <property name="sun.jsr77.lib" value="${sun.jsr77.root}/lib"/>
+ <path id="sun.jsr77.classpath">
+ <pathelement path="${sun.jsr77.lib}/jsr77.jar"/>
+ </path>
+
<!-- JUnit -->
<property name="junit.junit.root" value="${project.thirdparty}/junit/junit"/>
<property name="junit.junit.lib" value="${junit.junit.root}/lib"/>
@@ -145,6 +152,7 @@
<path refid="apache.log4j.classpath"/>
<path refid="oswego.concurrent.classpath"/>
<path refid="junit.junit.classpath"/>
+ <path refid="sun.jsr77.classpath"/>
</path>
<!-- ======= -->
@@ -395,7 +403,8 @@
_jars-perf,
_jars-web,
_jars-bench,
- _jars-security">
+ _jars-security,
+ _jars-jsr77">
</target>
<!--
@@ -1306,6 +1315,10 @@
</jar>
</target>
+ <!-- jsr77 test -->
+ <target name="_jars-jsr77">
+ <mkdir dir="${build.lib}"/>
+ </target>
<!-- ================================================================== -->
<!-- Documents -->
@@ -1446,6 +1459,7 @@
tests-standard-stress,
tests-client-stress,
tests-security-basic-stress,
+ tests-jsr77-unit,
tests-report">
</target>
@@ -1455,6 +1469,7 @@
tests-standard-unit,
tests-client-unit,
tests-security-basic-unit,
+ tests-jsr77-unit,
tests-report"/>
<target name="tests-stress" description="Execute all stress tests."
@@ -1749,6 +1764,55 @@
</junit>
</target>
+
+ <!--
+ | Standard JSR-77 tests that should run successfully against a default
+ | JBoss server distribution build.
+ -->
+
+ <target name="tests-jsr77-unit" depends="jars">
+ <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}"/>
+
+ <jvmarg value="-Djava.security.manager"/>
+ <jvmarg value="-Dsecurity.domain=test-domain"/>
+ <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="log4j.properties"
file="${build.resources}/log4j.properties"/>
+
+ <classpath>
+ <pathelement location="${build.classes}"/>
+ <pathelement location="${build.resources}/security"/>
+ <pathelement location="${build.resources}"/>
+ <path refid="javac.classpath"/>
+ </classpath>
+
+ <formatter type="${junit.formatter.type}"
+ 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/management/test/**UnitTestCase.class"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
<!--
| Run testcases in a single directory by specifing the test directory
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development