jon 01/03/11 16:27:59
Modified: build build-testcases.xml
Log:
fixed typo
separated out the contextsafety test from the template test
Revision Changes Path
1.5 +18 -2 jakarta-velocity/build/build-testcases.xml
Index: build-testcases.xml
===================================================================
RCS file: /home/cvs/jakarta-velocity/build/build-testcases.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- build-testcases.xml 2001/03/11 23:08:09 1.4
+++ build-testcases.xml 2001/03/12 00:27:58 1.5
@@ -18,7 +18,8 @@
test-introspect,
test-inlinevmscope,
test-multi,
- test-cpload
+ test-cpload,
+ test-contextsafety
"/>
<target name="test-template">
@@ -74,10 +75,25 @@
</target>
<target name="test-cpload">
- <echo message="Running Classpathe Resource tests..."/>
+ <echo message="Running Classpath Resource tests..."/>
<java classname="${velocity.test.runner}" fork="yes">
<arg value="org.apache.velocity.test.ClasspathResourceTest"/>
+ <classpath>
+ <pathelement path="${classpath}"/>
+ <pathelement location="${junit.jar}"/>
+ <pathelement location="${build.dest}"/>
+ <pathelement location="../test/cpload/test1.jar"/>
+ <pathelement location="../test/cpload/test2.jar"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="test-contextsafety">
+ <echo message="Running Context Safety tests..."/>
+
+ <java classname="${velocity.test.runner}" fork="yes">
+ <arg value="org.apache.velocity.test.ContextSafetyTestCase"/>
<classpath>
<pathelement path="${classpath}"/>
<pathelement location="${junit.jar}"/>