[CalendarServer-changes] [2606] CalDAVTester/trunk

source_changes at macosforge.org source_changes at macosforge.org
Thu Jun 19 13:13:53 PDT 2008


Revision: 2606
          http://trac.macosforge.org/projects/calendarserver/changeset/2606
Author:   cdaboo at apple.com
Date:     2008-06-19 13:13:53 -0700 (Thu, 19 Jun 2008)
Log Message:
-----------
Add test for iCal polling a calendar home.

Modified Paths:
--------------
    CalDAVTester/trunk/scripts/tests/ical-client.xml

Added Paths:
-----------
    CalDAVTester/trunk/Resource/ical-client/2.xml

Added: CalDAVTester/trunk/Resource/ical-client/2.xml
===================================================================
--- CalDAVTester/trunk/Resource/ical-client/2.xml	                        (rev 0)
+++ CalDAVTester/trunk/Resource/ical-client/2.xml	2008-06-19 20:13:53 UTC (rev 2606)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<x0:propfind xmlns:x1="http://calendarserver.org/ns/" xmlns:x0="DAV:" xmlns:x3="http://apple.com/ns/ical/" xmlns:x2="urn:ietf:params:xml:ns:caldav">
+ <x0:prop>
+  <x1:getctag/>
+  <x0:displayname/>
+  <x2:calendar-description/>
+  <x3:calendar-color/>
+  <x3:calendar-order/>
+  <x0:resourcetype/>
+  <x2:calendar-free-busy-set/>
+ </x0:prop>
+</x0:propfind>

Modified: CalDAVTester/trunk/scripts/tests/ical-client.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/ical-client.xml	2008-06-19 20:13:05 UTC (rev 2605)
+++ CalDAVTester/trunk/scripts/tests/ical-client.xml	2008-06-19 20:13:53 UTC (rev 2606)
@@ -72,6 +72,31 @@
 		</test>
 	</test-suite>
 	
+	<test-suite name='Polling'>
+		<test name='1'>
+			<description>PROPFIND calendar home</description>
+			<request print-response="no">
+				<method>PROPFIND</method>
+				<header>
+					<name>Depth</name>
+					<value>1</value>
+				</header>
+				<ruri>$pathprefix:/</ruri>
+				<data>
+					<content-type>text/xml; charset=utf-8</content-type>
+					<filepath>Resource/ical-client/2.xml</filepath>
+				</data>
+				<verify>
+					<callback>statusCode</callback>
+					<arg>
+						<name>status</name>
+						<value>207</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
+	</test-suite>
+	
 	<end/>
 	
 </caldavtest>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080619/9afbd468/attachment.htm 


More information about the calendarserver-changes mailing list