[CalendarServer-changes] [2947] CalDAVTester/trunk

source_changes at macosforge.org source_changes at macosforge.org
Sat Sep 6 21:06:40 PDT 2008


Revision: 2947
          http://trac.macosforge.org/projects/calendarserver/changeset/2947
Author:   cdaboo at apple.com
Date:     2008-09-06 21:06:40 -0700 (Sat, 06 Sep 2008)
Log Message:
-----------
Test changing some organizer properties that should not cause an attendee update.

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

Added Paths:
-----------
    CalDAVTester/trunk/Resource/implicit/scenario1/alarms/13.ics
    CalDAVTester/trunk/Resource/implicit/scenario1/alarms/14.ics

Added: CalDAVTester/trunk/Resource/implicit/scenario1/alarms/13.ics
===================================================================
--- CalDAVTester/trunk/Resource/implicit/scenario1/alarms/13.ics	                        (rev 0)
+++ CalDAVTester/trunk/Resource/implicit/scenario1/alarms/13.ics	2008-09-07 04:06:40 UTC (rev 2947)
@@ -0,0 +1,41 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//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:event4 at ninevah.local
+DTSTART;TZID=US/Eastern:20060102T100000
+DURATION:PT1H
+ATTENDEE;CN=User 01;PARTSTAT=ACCEPTED:$cuaddr1:
+ATTENDEE;CN=User 02;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;SCHEDULE-STATUS="2.0;S
+ uccess":$cuaddr2:
+CREATED:20060101T150000Z
+DTSTAMP:20051222T215953Z
+LAST-MODIFIED:20051222T215953Z
+ORGANIZER;CN=User 01:$cuaddr1:
+SUMMARY:event 4
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Alarm for Organizer!
+TRIGGER;RELATED=START:-PT5M
+END:VALARM
+END:VEVENT
+END:VCALENDAR

Added: CalDAVTester/trunk/Resource/implicit/scenario1/alarms/14.ics
===================================================================
--- CalDAVTester/trunk/Resource/implicit/scenario1/alarms/14.ics	                        (rev 0)
+++ CalDAVTester/trunk/Resource/implicit/scenario1/alarms/14.ics	2008-09-07 04:06:40 UTC (rev 2947)
@@ -0,0 +1,41 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//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:event4 at ninevah.local
+DTSTART;TZID=US/Eastern:20060102T100000
+LAST-MODIFIED:20051222T215953Z
+DURATION:PT1H
+ATTENDEE;CN=User 01;PARTSTAT=ACCEPTED:$cuaddr1:
+ATTENDEE;CN=User 02;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;SCHEDULE-STATUS="2.0;S
+ uccess":$cuaddr2:
+CREATED:20060101T150000Z
+DTSTAMP:20051222T215953Z
+ORGANIZER;CN=User 01:$cuaddr1:
+SUMMARY:event 4
+BEGIN:VALARM
+ACTION:DISPLAY
+DESCRIPTION:Alarm for Organizer!
+TRIGGER;RELATED=START:-PT5M
+END:VALARM
+END:VEVENT
+END:VCALENDAR

Modified: CalDAVTester/trunk/scripts/tests/implicitscenario1.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/implicitscenario1.xml	2008-09-07 04:03:01 UTC (rev 2946)
+++ CalDAVTester/trunk/scripts/tests/implicitscenario1.xml	2008-09-07 04:06:40 UTC (rev 2947)
@@ -1216,13 +1216,13 @@
 			</request>
 		</test>
 		<test name='15'>
-			<description>Organizer removes alarm</description>
+			<description>Organizer changes alarm</description>
 			<request print-response='no'>
 				<method>PUT</method>
 				<ruri>$calendarpath1:/4.ics</ruri>
 				<data>
 					<content-type>text/calendar; charset=utf-8</content-type>
-					<filepath>Resource/implicit/scenario1/alarms/10.ics</filepath>
+					<filepath>Resource/implicit/scenario1/alarms/13.ics</filepath>
 				</data>
 				<verify>
 					<callback>statusCode</callback>
@@ -1238,7 +1238,7 @@
 					<callback>calendarDataMatch</callback>
 					<arg>
 						<name>filepath</name>
-						<value>Resource/implicit/scenario1/alarms/11.ics</value>
+						<value>Resource/implicit/scenario1/alarms/14.ics</value>
 					</arg>
 				</verify>
 			</request>
@@ -1280,6 +1280,70 @@
 			</request>
 		</test>
 		<test name='19'>
+			<description>Organizer removes alarm</description>
+			<request print-response='no'>
+				<method>PUT</method>
+				<ruri>$calendarpath1:/4.ics</ruri>
+				<data>
+					<content-type>text/calendar; charset=utf-8</content-type>
+					<filepath>Resource/implicit/scenario1/alarms/10.ics</filepath>
+				</data>
+				<verify>
+					<callback>statusCode</callback>
+				</verify>
+			</request>
+		</test>
+		<test name='20'>
+			<description>Organizer checks data</description>
+			<request print-response='no'>
+				<method>GET</method>
+				<ruri>$calendarpath1:/4.ics</ruri>
+				<verify>
+					<callback>calendarDataMatch</callback>
+					<arg>
+						<name>filepath</name>
+						<value>Resource/implicit/scenario1/alarms/11.ics</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
+		<test name='21'>
+			<description>Attendee no Inbox Item</description>
+			<request user="$userid2:" pswd="$pswd2:" print-response='no'>
+				<method>PROPFIND</method>
+				<header>
+					<name>Depth</name>
+					<value>1</value>
+				</header>
+				<ruri>$pathprefix2:/$inbox:/</ruri>
+				<data>
+					<content-type>text/calendar; charset=utf-8</content-type>
+					<filepath>Resource/implicit/scenario1/alarms/3.xml</filepath>
+				</data>
+				<verify>
+					<callback>propfindItems</callback>
+					<arg>
+						<name>count</name>
+						<value>1</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
+		<test name='22'>
+			<description>Attendee has unchanged 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/scenario1/alarms/9.ics</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
+		<test name='23'>
 			<description>Attendee changes alarm</description>
 			<request user="$userid2:" pswd="$pswd2:" print-response='no'>
 				<method>GETNEW</method>
@@ -1300,7 +1364,7 @@
 				</verify>
 			</request>
 		</test>
-		<test name='20'>
+		<test name='24'>
 			<description>Organizer no Inbox Item</description>
 			<request print-response='no'>
 				<method>PROPFIND</method>
@@ -1322,7 +1386,7 @@
 				</verify>
 			</request>
 		</test>
-		<test name='21'>
+		<test name='25'>
 			<description>Organizer data unchanged</description>
 			<request print-response='no'>
 				<method>GET</method>
@@ -1336,7 +1400,7 @@
 				</verify>
 			</request>
 		</test>
-		<test name='22'>
+		<test name='26'>
 			<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/20080906/6949583e/attachment.html 


More information about the calendarserver-changes mailing list