[CalendarServer-changes] [948] CalDAVTester/trunk/scripts/tests

source_changes at macosforge.org source_changes at macosforge.org
Fri Jan 5 13:42:34 PST 2007


Revision: 948
          http://trac.macosforge.org/projects/calendarserver/changeset/948
Author:   cdaboo at apple.com
Date:     2007-01-05 13:42:33 -0800 (Fri, 05 Jan 2007)

Log Message:
-----------
Principal resources are now collections.

Modified Paths:
--------------
    CalDAVTester/trunk/scripts/tests/aclreports.xml
    CalDAVTester/trunk/scripts/tests/dropbox.xml

Modified: CalDAVTester/trunk/scripts/tests/aclreports.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/aclreports.xml	2007-01-05 21:41:26 UTC (rev 947)
+++ CalDAVTester/trunk/scripts/tests/aclreports.xml	2007-01-05 21:42:33 UTC (rev 948)
@@ -182,12 +182,14 @@
 					<callback>multistatusItems</callback>
 					<arg>
 						<name>prefix</name>
-						<value>$principals:</value>
+						<value></value>
 					</arg>
 					<arg>
 						<name>okhrefs</name>
-						<value>$userid1:</value>
-						<value>$useradmin:</value>
+						<value>$principal:</value>
+						<value>$principal:calendar-proxy-read/</value>
+						<value>$principal:calendar-proxy-write/</value>
+						<value>$principaladmin:</value>
 					</arg>
 				</verify>
 			</request>
@@ -269,8 +271,12 @@
 				<verify>
 					<callback>multistatusItems</callback>
 					<arg>
+						<name>prefix</name>
+						<value></value>
+					</arg>
+					<arg>
 						<name>okhrefs</name>
-						<value>$userid1:</value>
+						<value>$principal:</value>
 					</arg>
 				</verify>
 			</request>
@@ -287,8 +293,12 @@
 				<verify>
 					<callback>multistatusItems</callback>
 					<arg>
+						<name>prefix</name>
+						<value></value>
+					</arg>
+					<arg>
 						<name>okhrefs</name>
-						<value>$userid1:</value>
+						<value>$principal:</value>
 					</arg>
 				</verify>
 			</request>
@@ -402,9 +412,13 @@
 				<verify>
 					<callback>multistatusItems</callback>
 					<arg>
+						<name>prefix</name>
+						<value></value>
+					</arg>
+					<arg>
 						<name>okhrefs</name>
-						<value>public01</value>
-						<value>$userid1:</value>
+						<value>$principals:public01/</value>
+						<value>$principal:</value>
 					</arg>
 				</verify>
 			</request>
@@ -421,9 +435,13 @@
 				<verify>
 					<callback>multistatusItems</callback>
 					<arg>
+						<name>prefix</name>
+						<value></value>
+					</arg>
+					<arg>
 						<name>okhrefs</name>
-						<value>public02</value>
-						<value>$userid2:</value>
+						<value>$principals:public02/</value>
+						<value>$principal2:</value>
 					</arg>
 				</verify>
 			</request>
@@ -445,8 +463,8 @@
 					</arg>
 					<arg>
 						<name>okhrefs</name>
-						<value>$principals:public01</value>
-						<value>$principals:$userid1:</value>
+						<value>$principals:public01/</value>
+						<value>$principal:</value>
 						<value>$rprincipal1:</value>
 					</arg>
 				</verify>
@@ -469,9 +487,9 @@
 					</arg>
 					<arg>
 						<name>okhrefs</name>
-						<value>$principals:public02</value>
-						<value>$principals:$userid2:</value>
-						<value>$resources:resource02</value>
+						<value>$principals:public02/</value>
+						<value>$principals:$userid2:/</value>
+						<value>$resources:resource02/</value>
 					</arg>
 				</verify>
 			</request>

Modified: CalDAVTester/trunk/scripts/tests/dropbox.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/dropbox.xml	2007-01-05 21:41:26 UTC (rev 947)
+++ CalDAVTester/trunk/scripts/tests/dropbox.xml	2007-01-05 21:42:33 UTC (rev 948)
@@ -30,6 +30,10 @@
 			<description>Look for properties</description>
 			<request>
 				<method>PROPFIND</method>
+				<header>
+					<name>Depth</name>
+					<value>0</value>
+				</header>
 				<ruri>$principal:</ruri>
 				<data>
 					<content-type>text/xml; charset=utf-8</content-type>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070105/1e28e45d/attachment.html


More information about the calendarserver-changes mailing list