diff --git a/scripts/tests/CalDAV/calendaruserproxy.xml b/scripts/tests/CalDAV/calendaruserproxy.xml index da4623dc..c1e7b943 100644 --- a/scripts/tests/CalDAV/calendaruserproxy.xml +++ b/scripts/tests/CalDAV/calendaruserproxy.xml @@ -2218,6 +2218,30 @@ + + PROPFIND + $calendarhome1:/ +
+ Depth + 1 +
+ + text/xml; charset=utf-8 + Resource/CalDAV/calendaruserproxy/19.xml + + + propfindItems + + only + $calendarhome1:/proxytest/ + + + okprops + {http://calendarserver.org/ns/}details$User01 + {http://apple.com/ns/ical/}calendar-color$#000001 + + +
Properties are set for one proxy @@ -2241,6 +2265,30 @@ + + PROPFIND + $calendarhome1:/ +
+ Depth + 1 +
+ + text/xml; charset=utf-8 + Resource/CalDAV/calendaruserproxy/19.xml + + + propfindItems + + only + $calendarhome1:/proxytest/ + + + okprops + {http://calendarserver.org/ns/}details$User01 + {http://apple.com/ns/ical/}calendar-color$#000001 + + +
Properties are set for one proxy @@ -2264,6 +2312,30 @@ + + PROPFIND + $calendarhome1:/ +
+ Depth + 1 +
+ + text/xml; charset=utf-8 + Resource/CalDAV/calendaruserproxy/19.xml + + + propfindItems + + only + $calendarhome1:/proxytest/ + + + okprops + {http://calendarserver.org/ns/}details$User01 + {http://apple.com/ns/ical/}calendar-color$#000001 + + +
Proxy change some properties @@ -2306,6 +2378,30 @@ + + PROPFIND + $calendarhome1:/ +
+ Depth + 1 +
+ + text/xml; charset=utf-8 + Resource/CalDAV/calendaruserproxy/19.xml + + + propfindItems + + only + $calendarhome1:/proxytest/ + + + okprops + {http://calendarserver.org/ns/}details$User03 + {http://apple.com/ns/ical/}calendar-color$#000001 + + +
Properties are set for one proxy @@ -2329,6 +2425,30 @@ + + PROPFIND + $calendarhome1:/ +
+ Depth + 1 +
+ + text/xml; charset=utf-8 + Resource/CalDAV/calendaruserproxy/19.xml + + + propfindItems + + only + $calendarhome1:/proxytest/ + + + okprops + {http://calendarserver.org/ns/}details$User03 + {http://apple.com/ns/ical/}calendar-color$#000001 + + +
Properties are set for one proxy @@ -2352,6 +2472,30 @@ + + PROPFIND + $calendarhome1:/ +
+ Depth + 1 +
+ + text/xml; charset=utf-8 + Resource/CalDAV/calendaruserproxy/19.xml + + + propfindItems + + only + $calendarhome1:/proxytest/ + + + okprops + {http://calendarserver.org/ns/}details$User03 + {http://apple.com/ns/ical/}calendar-color$#000003 + + +
Reset proxies @@ -2389,6 +2533,305 @@ + + + Add user02 as read proxy for user01 + + PROPPATCH + $principal1:calendar-proxy-read/ + + text/xml; charset=utf-8 + Resource/CalDAV/calendaruserproxy/3.xml + + + propfindItems + + okprops + {DAV:}group-member-set + + + + + PROPFIND + $principal1:calendar-proxy-read/ +
+ Depth + 0 +
+ + text/xml; charset=utf-8 + Resource/CalDAV/calendaruserproxy/2.xml + + + xmlElementMatch + + exists + $verify-property-prefix:/{DAV:}group-member-set/{DAV:}href[=$principaluri2:] + $verify-property-prefix:/{DAV:}group-membership[|] + + +
+
+ + Add user03 as write proxy for user01 + + PROPPATCH + $principal1:calendar-proxy-write/ + + text/xml; charset=utf-8 + Resource/CalDAV/calendaruserproxy/17.xml + + + propfindItems + + okprops + {DAV:}group-member-set + + + + + PROPFIND + $principal1:calendar-proxy-write/ +
+ Depth + 0 +
+ + text/xml; charset=utf-8 + Resource/CalDAV/calendaruserproxy/2.xml + + + xmlElementMatch + + exists + $verify-property-prefix:/{DAV:}group-member-set/{DAV:}href[=$principaluri3:] + $verify-property-prefix:/{DAV:}group-membership[|] + + +
+
+ + Simple MKCALENDAR + + MKCALENDAR + $calendarhome1:/proxytest2/ + + statusCode + + status + 201 + + + + + + Change some properties for one proxy only + + PROPPATCH + $calendarhome1:/proxytest2/ + + text/xml; charset=utf-8 + Resource/CalDAV/calendaruserproxy/18.xml + + + propfindItems + + okprops + {http://calendarserver.org/ns/}details + {http://apple.com/ns/ical/}calendar-color + + + + + + Properties are not set for owner + + PROPFIND + $calendarhome1:/proxytest2/ +
+ Depth + 0 +
+ + text/xml; charset=utf-8 + Resource/CalDAV/calendaruserproxy/19.xml + + + propfindItems + + okprops + {http://calendarserver.org/ns/}details$User01 + + + badprops + {http://apple.com/ns/ical/}calendar-color + + +
+ + PROPFIND + $calendarhome1:/ +
+ Depth + 1 +
+ + text/xml; charset=utf-8 + Resource/CalDAV/calendaruserproxy/19.xml + + + propfindItems + + only + $calendarhome1:/proxytest2/ + + + okprops + {http://calendarserver.org/ns/}details$User01 + + + badprops + {http://apple.com/ns/ical/}calendar-color + + +
+
+ + Properties are set for one proxy + + PROPFIND + $calendarhome1:/proxytest2/ +
+ Depth + 0 +
+ + text/xml; charset=utf-8 + Resource/CalDAV/calendaruserproxy/19.xml + + + propfindItems + + okprops + {http://calendarserver.org/ns/}details$User01 + {http://apple.com/ns/ical/}calendar-color$#000001 + + +
+ + PROPFIND + $calendarhome1:/ +
+ Depth + 1 +
+ + text/xml; charset=utf-8 + Resource/CalDAV/calendaruserproxy/19.xml + + + propfindItems + + only + $calendarhome1:/proxytest2/ + + + okprops + {http://calendarserver.org/ns/}details$User01 + {http://apple.com/ns/ical/}calendar-color$#000001 + + +
+
+ + Properties are not set for one proxy + + PROPFIND + $calendarhome1:/proxytest2/ +
+ Depth + 0 +
+ + text/xml; charset=utf-8 + Resource/CalDAV/calendaruserproxy/19.xml + + + propfindItems + + okprops + {http://calendarserver.org/ns/}details$User01 + + + badprops + {http://apple.com/ns/ical/}calendar-color + + +
+ + PROPFIND + $calendarhome1:/ +
+ Depth + 1 +
+ + text/xml; charset=utf-8 + Resource/CalDAV/calendaruserproxy/19.xml + + + propfindItems + + only + $calendarhome1:/proxytest2/ + + + okprops + {http://calendarserver.org/ns/}details$User01 + + + badprops + {http://apple.com/ns/ical/}calendar-color + + +
+
+ + Reset proxies + + PROPPATCH + $principal1:calendar-proxy-read/ + + text/xml; charset=utf-8 + Resource/CalDAV/calendaruserproxy/8.xml + + + propfindItems + + okprops + {DAV:}group-member-set + + + + + PROPPATCH + $principal1:calendar-proxy-write/ + + text/xml; charset=utf-8 + Resource/CalDAV/calendaruserproxy/8.xml + + + propfindItems + + okprops + {DAV:}group-member-set + + + + +
+ + DELETEALL