ovidiu      2002/09/05 17:25:49

  Modified:    src/test/anteater calc.xml
  Log:
  Modified to work with the latest Anteater changes.
  
  Revision  Changes    Path
  1.3       +10 -9     xml-cocoon2/src/test/anteater/calc.xml
  
  Index: calc.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/test/anteater/calc.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- calc.xml  19 May 2002 19:38:56 -0000      1.2
  +++ calc.xml  6 Sep 2002 00:25:49 -0000       1.3
  @@ -2,14 +2,18 @@
   
   <project name="calc-test" default="calc">
   
  +  <group id="default">
  +    <property name="usetidy" value="true"/>
  +  </group>
  +
     <!-- Simulate the behavior of a user that opens a browser, starts
     the calculator example, and goes back in the processing several
     times. -->
     <target name="calc">
       <property name="calc" value="${cocoon}/samples/flow/examples/calc/"/>
   
  -    <http description="Test the 'calc' JavaScript implementation">
  -      <httpRequest href="${calc}/">
  +      <httpRequest href="${calc}/"
  +                description="Test the 'calc' JavaScript implementation">
           <match>
             <xpath select="html/body//form/@action" assign="cont1"/>
           </match>
  @@ -35,10 +39,9 @@
           </match>
         </httpRequest>
         <echo>result = ${result}</echo>
  -    </http>
   
  -    <http description="Simulate going back in the browser">
  -      <httpRequest href="${calc}/kont/${cont2}">
  +      <httpRequest href="${calc}/kont/${cont2}"
  +                description="Simulate going back in the browser">
           <parameter name="b" value="4"/>
           <match>
             <xpath select="html/body//form/@action" assign="cont4"/>
  @@ -53,10 +56,9 @@
           </match>
         </httpRequest>
         <echo>result = ${result}</echo>
  -    </http>
   
  -    <http description="Simulate going back again in the browser">
  -      <httpRequest href="${calc}/kont/${cont4}">
  +      <httpRequest href="${calc}/kont/${cont4}"
  +                description="Simulate going back again in the browser">
           <parameter name="operator" value="divide"/>
           <match>
             <xpath select="html/body//form/p[contains(text(),'Result')]/b"
  @@ -65,7 +67,6 @@
           </match>
         </httpRequest>
         <echo>result = ${result}</echo>
  -    </http>
   
     </target>
   
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to