lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andr...@apache.org
Subject cvs commit: cocoon-lenya/src/targets test-build.xml
Date Fri, 30 May 2003 14:42:30 GMT
andreas     2003/05/30 07:42:30

  Modified:    src/targets test-build.xml
  Log:
  - commented out identity test (not working)
  - added parameter to AntTask test
  - added workflow test
  
  Revision  Changes    Path
  1.5       +25 -3     cocoon-lenya/src/targets/test-build.xml
  
  Index: test-build.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/targets/test-build.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- test-build.xml	29 Apr 2003 09:52:12 -0000	1.4
  +++ test-build.xml	30 May 2003 14:42:30 -0000	1.5
  @@ -32,6 +32,7 @@
       <!--
       Identity Test
       -->
  +    <!--
       <java fork="yes" classname="junit.textui.TestRunner">
         <arg value="org.apache.lenya.cms.ac.IdentityTestCase"/>
         <classpath refid="classpath"/>
  @@ -40,13 +41,33 @@
           <pathelement path="${build.root}/lenya/webapp/WEB-INF/classes" />
         </classpath>
       </java>
  +    -->
       
       <!--
       AntTask Test
  -    Warning: This test needs the Ant library.
       -->
  -    <java fork="yes" classname="junit.textui.TestRunner">
  -      <arg value="org.apache.lenya.cms.task.AntTaskTest"/>
  +    <java
  +    	fork="yes"
  +    	classname="org.apache.lenya.cms.task.AntTaskTest"
  +    	>
  +      <jvmarg value="-enableassertions"/>
  +      <arg value="${install.dir}"/> <!-- servlet context path -->
  +      <classpath refid="classpath"/>
  +      <classpath>
  +        <pathelement location="${build.test}" />
  +        <pathelement path="${build.root}/lenya/webapp/WEB-INF/classes" />
  +        <fileset dir="${build.root}/lenya/webapp/WEB-INF/lib">
  +          <include name="ant**.jar"/>
  +        </fileset>
  +      </classpath>
  +    </java>
  +    
  +    <!-- Workflow Test -->
  +    <java fork="yes" classname="org.apache.lenya.cms.workflow.WorkflowTest">
  +      <jvmarg value="-enableassertions"/>
  +      <arg value="default"/> <!-- publication id -->
  +      <arg value="${install.dir}"/> <!-- servlet context path -->
  +      <arg value="simple"/> <!-- document type -->
         <classpath refid="classpath"/>
         <classpath>
           <pathelement location="${build.test}" />
  @@ -56,6 +77,7 @@
           </fileset>
         </classpath>
       </java>
  +    
       
     </target>
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org


Mime
View raw message