jvanzyl 01/12/17 07:52:15
Modified: . build-test.xml build.xml default.properties
Log:
- adding a new service contributed by Geir Magnusson that lets us
use the new DVSL engine in Fulcrum!!! Yaaay!
There is also a test and it is probably a good pattern to use for testing
because it lets you isolate the test for a service, basically reduces
the test to a true unit test. We don't need to start the ServiceManager
in order to test.
For testing service interaction and the whole system we definitely
need the service manager running, but just instantiating the the
service and testing is a great, isolated and simple way to test a
service
Revision Changes Path
1.3 +15 -0 jakarta-turbine-fulcrum/build-test.xml
Index: build-test.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-fulcrum/build-test.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- build-test.xml 2001/12/16 18:04:22 1.2
+++ build-test.xml 2001/12/17 15:52:15 1.3
@@ -30,6 +30,8 @@
<pathelement location="${xmlrpc.jar}"/>
<pathelement location="${build.dest}"/>
<pathelement location="${junit.jar}"/>
+ <pathelement location="${dvsl.jar}" />
+ <pathelement location="${dom4j.jar}" />
</path>
<!-- ================================================================== -->
@@ -103,4 +105,17 @@
</javac>
</target>
+
+ <target name="test-dvsl">
+ <echo message="Running DVSL service tests"/>
+
+ <java classname="junit.textui.TestRunner" fork="yes" failonerror="true">
+ <arg value="org.apache.fulcrum.dvsl.DvslBasicTest"/>
+ <classpath>
+ <path refid="classpath"/>
+ <pathelement location="${build.dir}/classes"/>
+ <pathelement location="${build.dir}/test"/>
+ </classpath>
+ </java>
+ </target>
</project>
1.36 +2 -0 jakarta-turbine-fulcrum/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-fulcrum/build.xml,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- build.xml 2001/12/16 07:08:46 1.35
+++ build.xml 2001/12/17 15:52:15 1.36
@@ -28,6 +28,8 @@
<pathelement location="${xalan.jar}"/>
<pathelement location="${xerces.jar}"/>
<pathelement location="${xmlrpc.jar}"/>
+ <pathelement location="${dvsl.jar}"/>
+ <pathelement location="${junit.jar}"/>
</path>
<!-- ================================================================== -->
1.14 +3 -0 jakarta-turbine-fulcrum/default.properties
Index: default.properties
===================================================================
RCS file: /home/cvs/jakarta-turbine-fulcrum/default.properties,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- default.properties 2001/12/16 18:04:22 1.13
+++ default.properties 2001/12/17 15:52:15 1.14
@@ -59,6 +59,9 @@
xerces.jar = ${lib.repo}/xerces-1.3.0.jar
xmlrpc.jar = ${lib.repo}/xmlrpc.jar
regexp.jar = ${lib.repo}/jakarta-regexp-1.3-dev.jar
+dvsl.jar = ${lib.repo}/dvsl-0.3.jar
+dom4j.jar = ${lib.repo}/dom4j.jar
+
# -------------------------------------------------------------------
#
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>