[CalendarServer-changes] [5758] CalDAVTester/trunk/scripts/tests/CalDAV/resourceid.xml
source_changes at macosforge.org
source_changes at macosforge.org
Wed Jun 16 17:04:48 PDT 2010
Revision: 5758
http://trac.macosforge.org/projects/calendarserver/changeset/5758
Author: cdaboo at apple.com
Date: 2010-06-16 17:04:47 -0700 (Wed, 16 Jun 2010)
Log Message:
-----------
Test for DAV:resource-id on principal resources.
Modified Paths:
--------------
CalDAVTester/trunk/scripts/tests/CalDAV/resourceid.xml
Modified: CalDAVTester/trunk/scripts/tests/CalDAV/resourceid.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/CalDAV/resourceid.xml 2010-06-16 23:14:00 UTC (rev 5757)
+++ CalDAVTester/trunk/scripts/tests/CalDAV/resourceid.xml 2010-06-17 00:04:47 UTC (rev 5758)
@@ -105,6 +105,52 @@
</test>
</test-suite>
+ <test-suite name='Principals'>
+ <test name='1' ignore='no'>
+ <description>Check property</description>
+ <request print-response='no'>
+ <method>PROPFIND</method>
+ <ruri>$principal1:</ruri>
+ <header>
+ <name>Depth</name>
+ <value>0</value>
+ </header>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/Common/PROPFIND/resourceid.xml</filepath>
+ </data>
+ <verify>
+ <callback>propfindItems</callback>
+ <arg>
+ <name>okprops</name>
+ <value><![CDATA[DAV:resource-id$<href>urn:uuid:$userguid1:</href>]]></value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='2' ignore='no'>
+ <description>Check property</description>
+ <request print-response='no'>
+ <method>PROPFIND</method>
+ <ruri>$principaluri1:</ruri>
+ <header>
+ <name>Depth</name>
+ <value>0</value>
+ </header>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/Common/PROPFIND/resourceid.xml</filepath>
+ </data>
+ <verify>
+ <callback>propfindItems</callback>
+ <arg>
+ <name>okprops</name>
+ <value><![CDATA[DAV:resource-id$<href>urn:uuid:$userguid1:</href>]]></value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
<end>
<request>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100616/072da11e/attachment.html>
More information about the calendarserver-changes
mailing list