[CalendarServer-changes] [9398] CalDAVTester/trunk
source_changes at macosforge.org
source_changes at macosforge.org
Fri Jun 29 08:10:21 PDT 2012
Revision: 9398
http://trac.macosforge.org/projects/calendarserver/changeset/9398
Author: cdaboo at apple.com
Date: 2012-06-29 08:10:20 -0700 (Fri, 29 Jun 2012)
Log Message:
-----------
Sharees can now see who the other invitees are.
Modified Paths:
--------------
CalDAVTester/trunk/scripts/tests/CalDAV/sharing-calendars.xml
Added Paths:
-----------
CalDAVTester/trunk/Resource/CalDAV/sharing/calendars/read-write/5.xml
Added: CalDAVTester/trunk/Resource/CalDAV/sharing/calendars/read-write/5.xml
===================================================================
--- CalDAVTester/trunk/Resource/CalDAV/sharing/calendars/read-write/5.xml (rev 0)
+++ CalDAVTester/trunk/Resource/CalDAV/sharing/calendars/read-write/5.xml 2012-06-29 15:10:20 UTC (rev 9398)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<D:propfind xmlns:D="DAV:" xmlns:CS="http://calendarserver.org/ns/">
+<D:prop>
+<CS:invite/>
+</D:prop>
+</D:propfind>
Modified: CalDAVTester/trunk/scripts/tests/CalDAV/sharing-calendars.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/CalDAV/sharing-calendars.xml 2012-06-28 18:52:30 UTC (rev 9397)
+++ CalDAVTester/trunk/scripts/tests/CalDAV/sharing-calendars.xml 2012-06-29 15:10:20 UTC (rev 9398)
@@ -149,6 +149,42 @@
</verify>
</request>
</test>
+ <test name='4a'>
+ <description>Shared calendar has invite property</description>
+ <request user="$userid2:" pswd="$pswd2:" print-response='no'>
+ <method>PROPFIND</method>
+ <ruri>$sharedcalendar:/</ruri>
+ <header>
+ <name>Depth</name>
+ <value>0</value>
+ </header>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/CalDAV/sharing/calendars/read-write/5.xml</filepath>
+ </data>
+ <verify>
+ <callback>propfindItems</callback>
+ <arg>
+ <name>okprops</name>
+ <value>{http://calendarserver.org/ns/}invite</value>
+ </arg>
+ </verify>
+ <verify>
+ <callback>xmlElementMatch</callback>
+ <arg>
+ <name>exists</name>
+ <value>$verify-property-prefix:/{http://calendarserver.org/ns/}invite</value>
+ <value>$verify-property-prefix:/{http://calendarserver.org/ns/}invite/{http://calendarserver.org/ns/}organizer</value>
+ <value>$verify-property-prefix:/{http://calendarserver.org/ns/}invite/{http://calendarserver.org/ns/}organizer/{DAV:}href[=$principaluri1:]</value>
+ <value>$verify-property-prefix:/{http://calendarserver.org/ns/}invite/{http://calendarserver.org/ns/}organizer/{http://calendarserver.org/ns/}common-name[=$username1:]</value>
+ <value>$verify-property-prefix:/{http://calendarserver.org/ns/}invite/{http://calendarserver.org/ns/}user</value>
+ <value>$verify-property-prefix:/{http://calendarserver.org/ns/}invite/{http://calendarserver.org/ns/}user/{DAV:}href[=$cuaddr2:]</value>
+ <value>$verify-property-prefix:/{http://calendarserver.org/ns/}invite/{http://calendarserver.org/ns/}user/{http://calendarserver.org/ns/}access/{http://calendarserver.org/ns/}read-write</value>
+ <value>$verify-property-prefix:/{http://calendarserver.org/ns/}invite/{http://calendarserver.org/ns/}user/{http://calendarserver.org/ns/}invite-accepted</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
<test name='5'>
<description>Original calendar unchanged</description>
<request print-response='no'>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120629/0af0feeb/attachment.html>
More information about the calendarserver-changes
mailing list