Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Add test for directory based read-only delegates for locations and re…
- Loading branch information
Showing
with
45 additions
and
0 deletions.
-
+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$<href>$principaluri3:</href></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><href>$rprincipaluri1:calendar-proxy-read/</href></value> |
|
|
</arg> |
|
|
</verify> |
|
|
</request> |
|
|
</test> |
|
|
</test-suite> |
|
|
|
|
|
<test-suite name='Principal report'> |
|
|