Skip to content
Permalink
Browse files

Add DAV header tokens for group attendee and sharee features.

  • Loading branch information...
cyrusdaboo committed Jun 25, 2015
1 parent 48f43c0 commit 4cab71f9e7d1eeeb9bc5a0ad65f8427cac5b7947
Showing with 62 additions and 0 deletions.
  1. +31 −0 scripts/tests/CalDAV/implicitgroup.xml
  2. +31 −0 scripts/tests/CalDAV/sharing-groups.xml
@@ -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>
@@ -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>

0 comments on commit 4cab71f

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