[CalendarServer-changes] [1335]
CalDAVTester/trunk/scripts/tests/caldavtest.dtd
source_changes at macosforge.org
source_changes at macosforge.org
Tue Mar 6 13:19:46 PST 2007
Revision: 1335
http://trac.macosforge.org/projects/calendarserver/changeset/1335
Author: cdaboo at apple.com
Date: 2007-03-06 13:19:45 -0800 (Tue, 06 Mar 2007)
Log Message:
-----------
Allow a proeprty value to be "grabbed" from a response and stored in a special subtitution variable that can be later used
in a verifier for comparison with a subsequent proeprty value. Add an option to the propfindItems verify so that it can
check for the existence of a property whose value does not match a specified value.
Together these changes allow us to verify that a specific property value changes as the result of some operation,
i.e. we can verify that getetag changes when a resource is changed.
Modified Paths:
--------------
CalDAVTester/trunk/scripts/tests/caldavtest.dtd
Modified: CalDAVTester/trunk/scripts/tests/caldavtest.dtd
===================================================================
--- CalDAVTester/trunk/scripts/tests/caldavtest.dtd 2007-03-06 20:33:38 UTC (rev 1334)
+++ CalDAVTester/trunk/scripts/tests/caldavtest.dtd 2007-03-06 21:19:45 UTC (rev 1335)
@@ -24,7 +24,7 @@
<!ELEMENT start (request*)>
<!ELEMENT end (request*)>
- <!ELEMENT request (method, header*, ruri?, data?, verify*, grablocation?)>
+ <!ELEMENT request (method, header*, ruri?, data?, verify*, grablocation?, grabproperty?)>
<!ATTLIST request auth (yes|no) "yes"
user CDATA ""
pswd CDATA ""
@@ -48,6 +48,10 @@
<!ELEMENT grablocation EMPTY>
+ <!ELEMENT grabproperty (property, variable)>
+ <!ELEMENT property (#PCDATA)>
+ <!ELEMENT variable (#PCDATA)>
+
<!ELEMENT test-suite (test*)>
<!ATTLIST test-suite name CDATA #REQUIRED
ignore (yes|no) "no">
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070306/edd59a12/attachment.html
More information about the calendarserver-changes
mailing list