[CalendarServer-changes] [14920] CalDAVTester/trunk/scripts/tests/CalDAV
source_changes at macosforge.org
source_changes at macosforge.org
Thu Jun 25 15:56:48 PDT 2015
Revision: 14920
http://trac.calendarserver.org//changeset/14920
Author: cdaboo at apple.com
Date: 2015-06-25 15:56:48 -0700 (Thu, 25 Jun 2015)
Log Message:
-----------
Add DAV header tokens for group attendee and sharee features.
Modified Paths:
--------------
CalDAVTester/trunk/scripts/tests/CalDAV/implicitgroup.xml
CalDAVTester/trunk/scripts/tests/CalDAV/sharing-groups.xml
Modified: CalDAVTester/trunk/scripts/tests/CalDAV/implicitgroup.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/CalDAV/implicitgroup.xml 2015-06-25 22:55:43 UTC (rev 14919)
+++ CalDAVTester/trunk/scripts/tests/CalDAV/implicitgroup.xml 2015-06-25 22:56:48 UTC (rev 14920)
@@ -50,6 +50,37 @@
</request>
</start>
+ <test-suite name='OPTIONS header'>
+ <test name='1'>
+ <description>Look for options header tag on principal</description>
+ <request>
+ <method>OPTIONS</method>
+ <ruri>$principal1:</ruri>
+ <verify>
+ <callback>header</callback>
+ <arg>
+ <name>header</name>
+ <value>*DAV$.*calendarserver-group-attendee.*</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='2'>
+ <description>Look for options header tag on calendar</description>
+ <request>
+ <method>OPTIONS</method>
+ <ruri>$calendarpath1:/</ruri>
+ <verify>
+ <callback>header</callback>
+ <arg>
+ <name>header</name>
+ <value>*DAV$.*calendarserver-group-attendee.*</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
<test-suite name='Invite group with existing membership'>
<test name='1'>
<description>Organizer invites Group Attendee</description>
Modified: CalDAVTester/trunk/scripts/tests/CalDAV/sharing-groups.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/CalDAV/sharing-groups.xml 2015-06-25 22:55:43 UTC (rev 14919)
+++ CalDAVTester/trunk/scripts/tests/CalDAV/sharing-groups.xml 2015-06-25 22:56:48 UTC (rev 14920)
@@ -54,6 +54,37 @@
</request>
</start>
+ <test-suite name='OPTIONS header'>
+ <test name='1'>
+ <description>Look for options header tag on principal</description>
+ <request>
+ <method>OPTIONS</method>
+ <ruri>$principal1:</ruri>
+ <verify>
+ <callback>header</callback>
+ <arg>
+ <name>header</name>
+ <value>*DAV$.*calendarserver-group-sharee.*</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='2'>
+ <description>Look for options header tag on calendar</description>
+ <request>
+ <method>OPTIONS</method>
+ <ruri>$calendarpath1:/</ruri>
+ <verify>
+ <callback>header</callback>
+ <arg>
+ <name>header</name>
+ <value>*DAV$.*calendarserver-group-sharee.*</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
<test-suite name='Share calendar to group read-write' ignore="no">
<test name='1'>
<description>POST invitation</description>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20150625/a7192b3f/attachment.html>
More information about the calendarserver-changes
mailing list