Skip to content
Permalink
Browse files

Add test for directory based read-only delegates for locations and re…

…sources.

git-svn-id: https://svn.calendarserver.org/repository/calendarserver/CalDAVTester/trunk@2428 e27351fd-9f3e-4f54-a53b-843176b1656c
  • Loading branch information
cyrusdaboo committed May 19, 2008
1 parent 9d01697 commit 6a04e864a4d4261d1b6e1d23ae0a4f58fc2da9f4
Showing with 45 additions and 0 deletions.
  1. +45 −0 scripts/tests/calendaruserproxy.xml
@@ -696,6 +696,51 @@
</verify>
</request>
</test>
<test name='28'>
<description>Verify read-only group memberships</description>
<request print-response="no">
<method>PROPFIND</method>
<header>
<name>Depth</name>
<value>0</value>
</header>
<ruri>$rprincipal1:calendar-proxy-read/</ruri>
<data>
<content-type>text/xml; charset=utf-8</content-type>
<filepath>Resource/calendaruserproxy/2.xml</filepath>
</data>
<verify>
<callback>propfindItems</callback>
<arg>
<name>okprops</name>
<value>DAV:group-member-set$&lt;href&gt;$principaluri3:&lt;/href&gt;</value>
<value>DAV:group-membership$</value>
</arg>
</verify>
</request>
</test>
<test name='29'>
<description>Verify group memberships</description>
<request print-response="yes">
<method>PROPFIND</method>
<header>
<name>Depth</name>
<value>0</value>
</header>
<ruri>$principal3:</ruri>
<data>
<content-type>text/xml; charset=utf-8</content-type>
<filepath>Resource/calendaruserproxy/2.xml</filepath>
</data>
<verify>
<callback>dataString</callback>
<arg>
<name>contains</name>
<value>&lt;href&gt;$rprincipaluri1:calendar-proxy-read/&lt;/href&gt;</value>
</arg>
</verify>
</request>
</test>
</test-suite>

<test-suite name='Principal report'>

0 comments on commit 6a04e86

Please sign in to comment.
You can’t perform that action at this time.