geirm       00/12/09 20:58:53

  Modified:    build    build-velocity.xml
  Log:
  Added test-inlinevmscope test.
  
  Revision  Changes    Path
  1.22      +19 -0     jakarta-velocity/build/build-velocity.xml
  
  Index: build-velocity.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/build/build-velocity.xml,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- build-velocity.xml        2000/12/04 02:15:36     1.21
  +++ build-velocity.xml        2000/12/10 04:58:49     1.22
  @@ -57,6 +57,9 @@
       <property name="introspector.test"
           value="org.apache.velocity.test.IntrospectorTestCase"/>
   
  +    <property name="inlinevmscope.test"
  +        value="org.apache.velocity.test.InlineScopeVMTestCase"/>
  +
       <property name="runtime.defaults.dir" 
           value="org/apache/velocity/runtime/defaults"/>
   
  @@ -250,6 +253,7 @@
       <!-- =================================================================== -->
       <!-- JUnit Tests for Velocity                                            -->
       <!-- =================================================================== -->
  +
       <target name="test">
   
           <echo message="Running JUnit template tests for Velocity ..."/>
  @@ -271,6 +275,21 @@
   
           <java classname="${velocity.test.runner}">
               <arg value="${introspector.test}"/>
  +            <classpath>
  +                <pathelement path="${classpath}"/>
  +                <pathelement location="${junit.jar}"/>
  +                <pathelement location="${build.dest}"/>
  +            </classpath>
  +        </java>
  +
  +    </target>
  +
  +    <target name="test-inlinevmscope">
  +
  +        <echo message="Running JUnit Inline VM Scope  tests for Velocity ..."/>
  +
  +        <java classname="${velocity.test.runner}">
  +            <arg value="${inlinevmscope.test}"/>
               <classpath>
                   <pathelement path="${classpath}"/>
                   <pathelement location="${junit.jar}"/>
  
  
  

Reply via email to