You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by bd...@apache.org on 2004/02/10 09:11:59 UTC
cvs commit: cocoon-2.1/src/blocks/webdav/test/anteater step3.xml
bdelacretaz 2004/02/10 00:11:59
Modified: src/blocks/webdav/test/anteater step3.xml
Log:
added note: test sometimes fails on my system
Revision Changes Path
1.3 +7 -2 cocoon-2.1/src/blocks/webdav/test/anteater/step3.xml
Index: step3.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/webdav/test/anteater/step3.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- step3.xml 10 Feb 2004 07:47:50 -0000 1.2
+++ step3.xml 10 Feb 2004 08:11:59 -0000 1.3
@@ -8,6 +8,7 @@
<target name="webdav-step3">
<property name="step3.samples" value="${anteater.env.cocoon}/samples/webdav"/>
+ <property name="step3.newTitle" value="Title changed by anteater step3 test"/>
<echo>samples=${samples}</echo>
@@ -36,7 +37,7 @@
<httpRequest href="${anteater.env.cocoon}${action}"
useTidy="false"
description="Test the 'step3' sample">
- <parameter name="title" value="Title B"/>
+ <parameter name="title" value="${step3.newTitle}"/>
<parameter name="para" value="test2"/>
<parameter name="para" value="test2"/>
<match>
@@ -48,7 +49,7 @@
<httpRequest href="${step3.samples}/step3/repo/dir2/contentB.xml"
description="Test the 'step3' sample">
<match>
- <xpath select="/html/body/form/p/input[@name='title']/@value" pattern="Title B"/>
+ <xpath select="/html/body/form/p/input[@name='title']/@value" pattern="${step3.newTitle}"/>
<xpath select="/html/body/form/p/textarea" pattern="test2"/>
<xpath select="/html/body/form/@action" assign="action"/>
</match>
@@ -67,6 +68,10 @@
</httpRequest>
<!-- check success of undo -->
+ <!--
+ on my macosx system this sometimes fails, but if I check the URL with
+ a browser right after the test it is ok. Timing or cache problem?
+ -->
<httpRequest href="${step3.samples}/step3/repo/dir2/contentB.xml"
description="Test the 'step3' sample">
<match>