[CalendarServer-changes] [1507] CalDAVTester/trunk

source_changes at macosforge.org source_changes at macosforge.org
Tue May 1 13:20:55 PDT 2007


Revision: 1507
          http://trac.macosforge.org/projects/calendarserver/changeset/1507
Author:   cdaboo at apple.com
Date:     2007-05-01 13:20:55 -0700 (Tue, 01 May 2007)

Log Message:
-----------
Add a test for a floating time recurrence expand report.

Modified Paths:
--------------
    CalDAVTester/trunk/scripts/tests/floating.xml

Added Paths:
-----------
    CalDAVTester/trunk/Resource/floating/6.xml

Added: CalDAVTester/trunk/Resource/floating/6.xml
===================================================================
--- CalDAVTester/trunk/Resource/floating/6.xml	                        (rev 0)
+++ CalDAVTester/trunk/Resource/floating/6.xml	2007-05-01 20:20:55 UTC (rev 1507)
@@ -0,0 +1,38 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<calendar-query xmlns='urn:ietf:params:xml:ns:caldav'>
+  <prop xmlns='DAV:'>
+    <getetag/>
+    <calendar-data xmlns='urn:ietf:params:xml:ns:caldav'>
+      <expand start='20060101T090000Z' end='20060108T090000Z'/>
+      <comp name='VCALENDAR'>
+        <allprop/>
+        <comp name='VEVENT'>
+          <prop name='X-ABC-GUID'/>
+          <prop name='UID'/>
+          <prop name='DTSTART'/>
+          <prop name='DTEND'/>
+          <prop name='DURATION'/>
+          <prop name='EXDATE'/>
+          <prop name='EXRULE'/>
+          <prop name='RDATE'/>
+          <prop name='RRULE'/>
+          <prop name='LOCATION'/>
+          <prop name='SUMMARY'/>
+          <prop name='DESCRIPTION'/>
+          <prop name='CATEGORIES'/>
+        </comp>
+        <comp name='VTIMEZONE'>
+          <allprop/>
+          <allcomp/>
+        </comp>
+      </comp>
+    </calendar-data>
+  </prop>
+  <filter>
+    <comp-filter name='VCALENDAR'>
+      <comp-filter name='VEVENT'>
+        <time-range start='20060101T090000Z' end='20060108T090000Z'/>
+      </comp-filter>
+    </comp-filter>
+  </filter>
+</calendar-query>

Modified: CalDAVTester/trunk/scripts/tests/floating.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/floating.xml	2007-05-01 11:25:44 UTC (rev 1506)
+++ CalDAVTester/trunk/scripts/tests/floating.xml	2007-05-01 20:20:55 UTC (rev 1507)
@@ -409,6 +409,40 @@
 		</test>
 	</test-suite>
 	
+	<test-suite name='REPORT floating behaviour - expand'>
+		<test name='1' ignore='no'>
+			<description>REPORT on non-recurring timed/floating events: no timezone</description>
+			<request print-response='no'>
+				<method>REPORT</method>
+				<header>
+					<name>Depth</name>
+					<value>1</value>
+				</header>
+				<ruri>$pathprefix:/floating/</ruri>
+				<data>
+					<content-type>text/xml; charset=utf-8</content-type>
+					<filepath>Resource/floating/6.xml</filepath>
+				</data>
+				<verify>
+					<callback>multistatusItems</callback>
+					<arg>
+						<name>prefix</name>
+						<value>$pathprefix:/floating/</value>
+					</arg>
+					<arg>
+						<name>okhrefs</name>
+						<value>calendar-none/1.ics</value>
+						<value>calendar-none/2.ics</value>
+						<value>calendar-none/4.ics</value>
+						<value>calendar-us/1.ics</value>
+						<value>calendar-us/2.ics</value>
+						<value>calendar-us/4.ics</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
+	</test-suite>
+
 	<test-suite name='REPORT free-busy floating behaviour'>
 		<test name='1' ignore='no'>
 			<description>free-busy on collection without timezone</description>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070501/7ae06333/attachment.html


More information about the calendarserver-changes mailing list