[CalendarServer-changes] [15504] CalDAVTester/trunk
source_changes at macosforge.org
source_changes at macosforge.org
Mon Apr 11 14:07:53 PDT 2016
Revision: 15504
http://trac.calendarserver.org//changeset/15504
Author: cdaboo at apple.com
Date: 2016-04-11 14:07:53 -0700 (Mon, 11 Apr 2016)
Log Message:
-----------
Add a test for CS:pushtoken PROPFIND on a cross-pod shared calendar.
Modified Paths:
--------------
CalDAVTester/trunk/scripts/tests-pod/CalDAV/sharing-propfind.xml
Added Paths:
-----------
CalDAVTester/trunk/Resource/CalDAV-pod/sharing/propfind/
CalDAVTester/trunk/Resource/CalDAV-pod/sharing/propfind/1.xml
Added: CalDAVTester/trunk/Resource/CalDAV-pod/sharing/propfind/1.xml
===================================================================
--- CalDAVTester/trunk/Resource/CalDAV-pod/sharing/propfind/1.xml (rev 0)
+++ CalDAVTester/trunk/Resource/CalDAV-pod/sharing/propfind/1.xml 2016-04-11 21:07:53 UTC (rev 15504)
@@ -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:pushkey/>
+</D:prop>
+</D:propfind>
Modified: CalDAVTester/trunk/scripts/tests-pod/CalDAV/sharing-propfind.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests-pod/CalDAV/sharing-propfind.xml 2016-04-11 18:08:43 UTC (rev 15503)
+++ CalDAVTester/trunk/scripts/tests-pod/CalDAV/sharing-propfind.xml 2016-04-11 21:07:53 UTC (rev 15504)
@@ -276,6 +276,24 @@
</verify>
</request>
</test>
+ <test name='4'>
+ <description>PROPFIND of push-token properties depth=0</description>
+ <request host2="yes" user="$puserid2:" pswd="$ppswd2:">
+ <method>PROPFIND</method>
+ <ruri>$shareecalendarpath2:/</ruri>
+ <header>
+ <name>Depth</name>
+ <value>0</value>
+ </header>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/CalDAV-pod/sharing/propfind/1.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
</test-suite>
<test-suite name='regular calendar resource prop finds'>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20160411/9e0a2a59/attachment.html>
More information about the calendarserver-changes
mailing list