[CalendarServer-changes] [14945] CalDAVTester/trunk/scripts/tests/CalDAV/sharing-groups-changes.xml
source_changes at macosforge.org
source_changes at macosforge.org
Mon Jul 6 08:16:47 PDT 2015
Revision: 14945
http://trac.calendarserver.org//changeset/14945
Author: cdaboo at apple.com
Date: 2015-07-06 08:16:47 -0700 (Mon, 06 Jul 2015)
Log Message:
-----------
Fix group sharing tests.
Modified Paths:
--------------
CalDAVTester/trunk/scripts/tests/CalDAV/sharing-groups-changes.xml
Modified: CalDAVTester/trunk/scripts/tests/CalDAV/sharing-groups-changes.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/CalDAV/sharing-groups-changes.xml 2015-07-02 20:17:48 UTC (rev 14944)
+++ CalDAVTester/trunk/scripts/tests/CalDAV/sharing-groups-changes.xml 2015-07-06 15:16:47 UTC (rev 14945)
@@ -18,7 +18,7 @@
limitations under the License.
-->
-<caldavtest ignore-all="yes">
+<caldavtest>
<description>Test calendar sharing to groups which change</description>
<require-feature>
@@ -225,6 +225,24 @@
</verify>
</request>
</test>
+ <test name='7'>
+ <description>Clean-up</description>
+ <request>
+ <method>POST</method>
+ <ruri>$calendarhome1:/shared/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/Common/POST/sharing-remove1.xml</filepath>
+ <substitute>
+ <name>$sharee:</name>
+ <value>$gcuaddrurn20:</value>
+ </substitute>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
</test-suite>
<test-suite name='Share calendar to two groups with same member'>
@@ -432,6 +450,36 @@
<callback>statusCode</callback>
</verify>
</request>
+ <request>
+ <method>POST</method>
+ <ruri>$calendarhome1:/shared/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/Common/POST/sharing-remove1.xml</filepath>
+ <substitute>
+ <name>$sharee:</name>
+ <value>$gcuaddrurn20:</value>
+ </substitute>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ <request>
+ <method>POST</method>
+ <ruri>$calendarhome1:/shared/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/Common/POST/sharing-remove1.xml</filepath>
+ <substitute>
+ <name>$sharee:</name>
+ <value>$gcuaddrurn21:</value>
+ </substitute>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
</test>
</test-suite>
@@ -643,7 +691,7 @@
<description>Calendar changed</description>
<request>
<method>PROPFIND</method>
- <ruri>$calendarhome1:/shared/</ruri>
+ <ruri>$calendarhome1:/shared2/</ruri>
<header>
<name>Depth</name>
<value>0</value>
@@ -699,6 +747,36 @@
<callback>statusCode</callback>
</verify>
</request>
+ <request>
+ <method>POST</method>
+ <ruri>$calendarhome1:/shared/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/Common/POST/sharing-remove1.xml</filepath>
+ <substitute>
+ <name>$sharee:</name>
+ <value>$gcuaddrurn20:</value>
+ </substitute>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ <request>
+ <method>POST</method>
+ <ruri>$calendarhome1:/shared2/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/Common/POST/sharing-remove1.xml</filepath>
+ <substitute>
+ <name>$sharee:</name>
+ <value>$gcuaddrurn21:</value>
+ </substitute>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
</test>
</test-suite>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20150706/873a61a1/attachment.html>
More information about the calendarserver-changes
mailing list