jvanzyl     01/03/18 22:40:45

  Modified:    build    testcases.xml
  Log:
  - adding test case for texen
  
  Revision  Changes    Path
  1.3       +33 -1     jakarta-velocity/build/testcases.xml
  
  Index: testcases.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/build/testcases.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- testcases.xml     2001/03/19 05:22:02     1.2
  +++ testcases.xml     2001/03/19 06:40:45     1.3
  @@ -33,7 +33,8 @@
                                      test-contextsafety,
                                      test-anakia,
                                      test-configuration,
  -                                   test-externallogger
  +                                   test-externallogger,
  +                                   test-texen
                                      "/>
   
     <target name="test-template">
  @@ -166,6 +167,37 @@
         </classpath>
       </java>
      </target>
  +
  +  <!-- ================================================================ -->
  +  <!-- T E X E N  T E S T                                               -->
  +  <!-- ================================================================ -->
  +  <!-- Generate turbine service code via Texen                          -->
  +  <!-- ================================================================ -->
  +  
  +  <target name="test-texen">
  +    
  +    <taskdef name="texen" classname="org.apache.velocity.texen.ant.TexenTask">
  +      <classpath>
  +        <path refid="classpath"/>
  +      </classpath>
  +    </taskdef>
  +  
  +    <texen 
  +      contextProperties="../test/texen/service.props"
  +      controlTemplate="Control.vm"
  +      outputDirectory="../test/texen/results"
  +      templatePath="../test/texen/templates"
  +      outputFile="report"
  +    />
  +
  +    <java classname="${velocity.test.runner}" fork="yes">
  +      <arg value="org.apache.velocity.test.TexenTestCase"/>
  +      <classpath>
  +        <path refid="classpath"/>
  +      </classpath>
  +    </java>
  +
  +  </target>
   
   </project>
   
  
  
  

Reply via email to