[CalendarServer-changes] [3817] CalDAVTester/trunk

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 11 13:21:33 PDT 2009


Revision: 3817
          http://trac.macosforge.org/projects/calendarserver/changeset/3817
Author:   cdaboo at apple.com
Date:     2009-03-11 13:21:27 -0700 (Wed, 11 Mar 2009)
Log Message:
-----------
Better tests for allowed Attendee changes with dropbox.

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

Added Paths:
-----------
    CalDAVTester/trunk/Resource/implicit/dropbox/11.ics
    CalDAVTester/trunk/Resource/implicit/dropbox/12.ics

Added: CalDAVTester/trunk/Resource/implicit/dropbox/11.ics
===================================================================
--- CalDAVTester/trunk/Resource/implicit/dropbox/11.ics	                        (rev 0)
+++ CalDAVTester/trunk/Resource/implicit/dropbox/11.ics	2009-03-11 20:21:27 UTC (rev 3817)
@@ -0,0 +1,37 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+CALSCALE:GREGORIAN
+PRODID:-//CALENDARSERVER.ORG//NONSGML Version 1//EN
+BEGIN:VTIMEZONE
+TZID:US/Eastern
+LAST-MODIFIED:20040110T032845Z
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+END:VTIMEZONE
+BEGIN:VEVENT
+UID:event1 at ninevah.local
+DTSTART;TZID=US/Eastern:20060101T100000
+DURATION:PT1H
+ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1:
+ATTENDEE;CN=$username2:;PARTSTAT=ACCEPTED;RSVP=TRUE;X-CALENDARSERVER-EMAIL=$email2::$cuaddrurn2:
+CREATED:20060101T150000Z
+DTSTAMP:20051222T205953Z
+ORGANIZER;CN=$username1:;SCHEDULE-STATUS="1.2;Scheduling message has been deli
+ vered";X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1:
+SUMMARY:event 1
+X-APPLE-DROPBOX:$dropboxpath1:/6073432E-644B-4965-B6F7
+ -C3F08E70BBF9.dropbox
+END:VEVENT
+END:VCALENDAR

Added: CalDAVTester/trunk/Resource/implicit/dropbox/12.ics
===================================================================
--- CalDAVTester/trunk/Resource/implicit/dropbox/12.ics	                        (rev 0)
+++ CalDAVTester/trunk/Resource/implicit/dropbox/12.ics	2009-03-11 20:21:27 UTC (rev 3817)
@@ -0,0 +1,39 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+CALSCALE:GREGORIAN
+PRODID:-//CALENDARSERVER.ORG//NONSGML Version 1//EN
+BEGIN:VTIMEZONE
+TZID:US/Eastern
+LAST-MODIFIED:20040110T032845Z
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+END:VTIMEZONE
+BEGIN:VEVENT
+UID:event1 at ninevah.local
+DTSTART;TZID=US/Eastern:20060101T100000
+DURATION:PT1H
+ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1:
+ATTENDEE;CN=$username2:;PARTSTAT=ACCEPTED;RSVP=TRUE;X-CALENDARSERVER-EMAIL=$email2::$cuaddrurn2:
+CREATED:20060101T150000Z
+DTSTAMP:20051222T205953Z
+ORGANIZER;CN=$username1:;SCHEDULE-STATUS="1.2;Scheduling message has been deli
+ vered";X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1:
+SUMMARY:event 1
+ATTACH;VALUE=URI:$host:$dropboxpath1:/
+ 6073432E-644B-4965-B6F7-C3F08E70BBF9.dropbox/caldavd-2.plist
+X-APPLE-DROPBOX:$dropboxpath1:/6073432E-644B-4965-B6F7
+ -C3F08E70BBF9.dropbox
+END:VEVENT
+END:VCALENDAR

Modified: CalDAVTester/trunk/scripts/tests/implicitdropbox.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/implicitdropbox.xml	2009-03-11 18:36:56 UTC (rev 3816)
+++ CalDAVTester/trunk/scripts/tests/implicitdropbox.xml	2009-03-11 20:21:27 UTC (rev 3817)
@@ -140,6 +140,20 @@
 			</request>
 		</test>
 		<test name='7'>
+			<description>Attendee has data</description>
+			<request user="$userid2:" pswd="$pswd2:" print-response='no'>
+				<method>GETNEW</method>
+				<ruri>$calendarpath2:/</ruri>
+				<verify>
+					<callback>calendarDataMatch</callback>
+					<arg>
+						<name>filepath</name>
+						<value>Resource/implicit/dropbox/11.ics</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
+		<test name='8'>
 			<description>Organizer Inbox Item</description>
 			<request print-response='no'>
 				<method>PROPFIND</method>
@@ -161,7 +175,7 @@
 				</verify>
 			</request>
 		</test>
-		<test name='8'>
+		<test name='9'>
 			<description>Organizer data changed</description>
 			<request print-response='no'>
 				<method>GET</method>
@@ -175,7 +189,7 @@
 				</verify>
 			</request>
 		</test>
-		<test name='9'>
+		<test name='10'>
 			<description>Organizer deletes Inbox Item</description>
 			<request print-response='no'>
 				<method>GETNEW</method>
@@ -196,7 +210,7 @@
 				</verify>
 			</request>
 		</test>
-		<test name='10'>
+		<test name='11'>
 			<description>Attendee -> Accepted adds new ATTACH</description>
 			<request user="$userid2:" pswd="$pswd2:" print-response='no'>
 				<method>GETNEW</method>
@@ -217,7 +231,21 @@
 				</verify>
 			</request>
 		</test>
-		<test name='11'>
+		<test name='12'>
+			<description>Attendee has data</description>
+			<request user="$userid2:" pswd="$pswd2:" print-response='no'>
+				<method>GETNEW</method>
+				<ruri>$calendarpath2:/</ruri>
+				<verify>
+					<callback>calendarDataMatch</callback>
+					<arg>
+						<name>filepath</name>
+						<value>Resource/implicit/dropbox/12.ics</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
+		<test name='13'>
 			<description>Organizer no Inbox Item</description>
 			<request print-response='no'>
 				<method>PROPFIND</method>
@@ -239,7 +267,7 @@
 				</verify>
 			</request>
 		</test>
-		<test name='12'>
+		<test name='14'>
 			<description>Organizer data unchanged</description>
 			<request print-response='no'>
 				<method>GET</method>
@@ -253,7 +281,7 @@
 				</verify>
 			</request>
 		</test>
-		<test name='13'>
+		<test name='15'>
 			<description>Organizer adds another ATTACH</description>
 			<request print-response='no'>
 				<method>PUT</method>
@@ -267,7 +295,7 @@
 				</verify>
 			</request>
 		</test>
-		<test name='14'>
+		<test name='16'>
 			<description>Organizer checks data</description>
 			<request print-response='no'>
 				<method>GET</method>
@@ -281,7 +309,7 @@
 				</verify>
 			</request>
 		</test>
-		<test name='15'>
+		<test name='17'>
 			<description>Attendee Inbox Item</description>
 			<request user="$userid2:" pswd="$pswd2:" print-response='no'>
 				<method>PROPFIND</method>
@@ -303,7 +331,7 @@
 				</verify>
 			</request>
 		</test>
-		<test name='16'>
+		<test name='18'>
 			<description>Attendee has data</description>
 			<request user="$userid2:" pswd="$pswd2:" print-response='no'>
 				<method>GETNEW</method>
@@ -317,7 +345,7 @@
 				</verify>
 			</request>
 		</test>
-		<test name='17'>
+		<test name='19'>
 			<description>Attendee deletes Inbox Item</description>
 			<request user="$userid2:" pswd="$pswd2:" print-response='no'>
 				<method>GETNEW</method>
@@ -338,7 +366,7 @@
 				</verify>
 			</request>
 		</test>
-		<test name='18'>
+		<test name='20'>
 			<description>Clean-up</description>
 			<request user="$userid1:" pswd="$pswd1:">
 				<method>DELETEALL</method>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090311/b3370613/attachment-0001.html>


More information about the calendarserver-changes mailing list