[CalendarServer-changes] [3944] CalDAVTester/branches/users/cdaboo/deployment

source_changes at macosforge.org source_changes at macosforge.org
Wed Apr 1 08:00:00 PDT 2009


Revision: 3944
          http://trac.macosforge.org/projects/calendarserver/changeset/3944
Author:   cdaboo at apple.com
Date:     2009-04-01 08:00:00 -0700 (Wed, 01 Apr 2009)
Log Message:
-----------
Test time-range on events far in the future - merged from trunk.

Modified Paths:
--------------
    CalDAVTester/branches/users/cdaboo/deployment/scripts/tests/reports.xml

Added Paths:
-----------
    CalDAVTester/branches/users/cdaboo/deployment/Resource/reports/put/20.txt
    CalDAVTester/branches/users/cdaboo/deployment/Resource/reports/put/21.txt
    CalDAVTester/branches/users/cdaboo/deployment/Resource/reports/put/22.txt
    CalDAVTester/branches/users/cdaboo/deployment/Resource/reports/timerangequery/8.txt

Copied: CalDAVTester/branches/users/cdaboo/deployment/Resource/reports/put/20.txt (from rev 3940, CalDAVTester/trunk/Resource/reports/put/20.txt)
===================================================================
--- CalDAVTester/branches/users/cdaboo/deployment/Resource/reports/put/20.txt	                        (rev 0)
+++ CalDAVTester/branches/users/cdaboo/deployment/Resource/reports/put/20.txt	2009-04-01 15:00:00 UTC (rev 3944)
@@ -0,0 +1,32 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Cyrusoft International\, Inc.//Mulberry v4.0//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+DTSTAMP:20050101T140000Z
+CREATED:20050101T150000Z
+DTSTART;TZID=US/Eastern:20200101T100000
+DURATION:PT1H
+SUMMARY:event 18
+UID:54E181BC7CCC373042B28842-18 at ninevah.local
+CATEGORIES:cool
+END:VEVENT
+END:VCALENDAR

Copied: CalDAVTester/branches/users/cdaboo/deployment/Resource/reports/put/21.txt (from rev 3940, CalDAVTester/trunk/Resource/reports/put/21.txt)
===================================================================
--- CalDAVTester/branches/users/cdaboo/deployment/Resource/reports/put/21.txt	                        (rev 0)
+++ CalDAVTester/branches/users/cdaboo/deployment/Resource/reports/put/21.txt	2009-04-01 15:00:00 UTC (rev 3944)
@@ -0,0 +1,33 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Cyrusoft International\, Inc.//Mulberry v4.0//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+DTSTAMP:20050101T140000Z
+CREATED:20050101T150000Z
+DTSTART;TZID=US/Eastern:20200101T100000
+DURATION:PT1H
+RRULE:FREQ=YEARLY
+SUMMARY:event 19
+UID:54E181BC7CCC373042B28842-19 at ninevah.local
+CATEGORIES:cool
+END:VEVENT
+END:VCALENDAR

Copied: CalDAVTester/branches/users/cdaboo/deployment/Resource/reports/put/22.txt (from rev 3940, CalDAVTester/trunk/Resource/reports/put/22.txt)
===================================================================
--- CalDAVTester/branches/users/cdaboo/deployment/Resource/reports/put/22.txt	                        (rev 0)
+++ CalDAVTester/branches/users/cdaboo/deployment/Resource/reports/put/22.txt	2009-04-01 15:00:00 UTC (rev 3944)
@@ -0,0 +1,33 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Cyrusoft International\, Inc.//Mulberry v4.0//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+DTSTAMP:20050101T140000Z
+CREATED:20050101T150000Z
+DTSTART;TZID=US/Eastern:20200101T100000
+DURATION:PT1H
+RECURRENCE-ID;TZID=US/Eastern:20200101T100000
+SUMMARY:event 20
+UID:54E181BC7CCC373042B28842-20 at ninevah.local
+CATEGORIES:cool
+END:VEVENT
+END:VCALENDAR

Added: CalDAVTester/branches/users/cdaboo/deployment/Resource/reports/timerangequery/8.txt
===================================================================
--- CalDAVTester/branches/users/cdaboo/deployment/Resource/reports/timerangequery/8.txt	                        (rev 0)
+++ CalDAVTester/branches/users/cdaboo/deployment/Resource/reports/timerangequery/8.txt	2009-04-01 15:00:00 UTC (rev 3944)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<C:calendar-query xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
+	<D:prop>
+		<D:getetag/>
+		<C:calendar-data/>
+	</D:prop>
+	<C:filter>
+		<C:comp-filter name="VCALENDAR">
+			<C:comp-filter name="VEVENT">
+				<C:time-range start="20250102T000000Z" end="20260103T000000Z"/>
+			</C:comp-filter>
+		</C:comp-filter>
+	</C:filter>
+</C:calendar-query>

Modified: CalDAVTester/branches/users/cdaboo/deployment/scripts/tests/reports.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/deployment/scripts/tests/reports.xml	2009-03-31 21:16:07 UTC (rev 3943)
+++ CalDAVTester/branches/users/cdaboo/deployment/scripts/tests/reports.xml	2009-04-01 15:00:00 UTC (rev 3944)
@@ -144,6 +144,30 @@
 		</request>
 		<request end-delete="yes">
 			<method>PUT</method>
+			<ruri>20.ics</ruri>
+			<data>
+				<content-type>text/calendar; charset=utf-8</content-type>
+				<filepath>Resource/reports/put/20.txt</filepath>
+			</data>
+		</request>
+		<request end-delete="yes">
+			<method>PUT</method>
+			<ruri>21.ics</ruri>
+			<data>
+				<content-type>text/calendar; charset=utf-8</content-type>
+				<filepath>Resource/reports/put/21.txt</filepath>
+			</data>
+		</request>
+		<request end-delete="yes">
+			<method>PUT</method>
+			<ruri>22.ics</ruri>
+			<data>
+				<content-type>text/calendar; charset=utf-8</content-type>
+				<filepath>Resource/reports/put/22.txt</filepath>
+			</data>
+		</request>
+		<request end-delete="yes">
+			<method>PUT</method>
 			<ruri>101.ics</ruri>
 			<data>
 				<content-type>text/calendar; charset=utf-8</content-type>
@@ -385,6 +409,9 @@
 						<value>12.ics</value>
 						<value>13.ics</value>
 						<value>14.ics</value>
+						<value>20.ics</value>
+						<value>21.ics</value>
+						<value>22.ics</value>
 					</arg>
 				</verify>
 			</request>
@@ -430,6 +457,8 @@
 						<value>12.ics</value>
 						<value>13.ics</value>
 						<value>14.ics</value>
+						<value>20.ics</value>
+						<value>21.ics</value>
 					</arg>
 				</verify>
 			</request>
@@ -454,6 +483,7 @@
 						<value>7.ics</value>
 						<value>8.ics</value>
 						<value>9.ics</value>
+						<value>22.ics</value>
 					</arg>
 				</verify>
 			</request>
@@ -502,6 +532,9 @@
 						<value>12.ics</value>
 						<value>13.ics</value>
 						<value>14.ics</value>
+						<value>20.ics</value>
+						<value>21.ics</value>
+						<value>22.ics</value>
 					</arg>
 				</verify>
 			</request>
@@ -548,6 +581,9 @@
 						<value>12.ics</value>
 						<value>13.ics</value>
 						<value>14.ics</value>
+						<value>20.ics</value>
+						<value>21.ics</value>
+						<value>22.ics</value>
 					</arg>
 				</verify>
 			</request>
@@ -595,6 +631,9 @@
 						<value>12.ics</value>
 						<value>13.ics</value>
 						<value>14.ics</value>
+						<value>20.ics</value>
+						<value>21.ics</value>
+						<value>22.ics</value>
 					</arg>
 				</verify>
 			</request>
@@ -612,6 +651,7 @@
 					<arg>
 						<name>okhrefs</name>
 						<value>6.ics</value>
+						<value>22.ics</value>
 					</arg>
 				</verify>
 			</request>
@@ -700,6 +740,9 @@
 						<value>12.ics</value>
 						<value>13.ics</value>
 						<value>14.ics</value>
+						<value>20.ics</value>
+						<value>21.ics</value>
+						<value>22.ics</value>
 						<value>101.ics</value>
 						<value>102.ics</value>
 						<value>103.ics</value>
@@ -728,6 +771,8 @@
 						<value>12.ics</value>
 						<value>13.ics</value>
 						<value>14.ics</value>
+						<value>20.ics</value>
+						<value>21.ics</value>
 						<value>101.ics</value>
 					</arg>
 				</verify>
@@ -777,6 +822,9 @@
 						<value>12.ics</value>
 						<value>13.ics</value>
 						<value>14.ics</value>
+						<value>20.ics</value>
+						<value>21.ics</value>
+						<value>22.ics</value>
 					</arg>
 				</verify>
 			</request>
@@ -1020,6 +1068,20 @@
 				</verify>
 			</request>
 		</test>
+		<test name='12' ignore='no'>
+			<description>query for VEVENTs within time range in distant future</description>
+			<request print-response='no'>
+				<method>REPORT</method>
+				<ruri>$calendarpath1:/</ruri>
+				<data>
+					<content-type>text/xml; charset=utf-8</content-type>
+					<filepath>Resource/reports/timerangequery/8.txt</filepath>
+				</data>
+				<verify>
+					<callback>multistatusItems</callback>
+				</verify>
+			</request>
+		</test>
 		<test name='13' ignore='no'>
 			<description>query for VEVENTs within time range - no end</description>
 			<request>
@@ -1043,6 +1105,9 @@
 						<value>12.ics</value>
 						<value>13.ics</value>
 						<value>14.ics</value>
+						<value>20.ics</value>
+						<value>21.ics</value>
+						<value>22.ics</value>
 					</arg>
 				</verify>
 			</request>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090401/d70f1691/attachment-0001.html>


More information about the calendarserver-changes mailing list