[CalendarServer-changes] [2980] CalDAVTester/branches/users/cdaboo/implicitauto-2948

source_changes at macosforge.org source_changes at macosforge.org
Thu Sep 11 11:52:30 PDT 2008


Revision: 2980
          http://trac.macosforge.org/projects/calendarserver/changeset/2980
Author:   cdaboo at apple.com
Date:     2008-09-11 11:52:30 -0700 (Thu, 11 Sep 2008)
Log Message:
-----------
Another set of tests.

Added Paths:
-----------
    CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/
    CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/1.xml
    CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite1/
    CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite1/1.ics
    CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite1/2.ics
    CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite1/3.ics
    CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite2/
    CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite2/1.ics
    CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite2/2.ics
    CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite2/3.ics
    CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite3/
    CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite3/1.ics
    CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite3/2.ics
    CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite3/3.ics
    CalDAVTester/branches/users/cdaboo/implicitauto-2948/scripts/tests/implicitauto4.xml

Added: CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/1.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/1.xml	                        (rev 0)
+++ CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/1.xml	2008-09-11 18:52:30 UTC (rev 2980)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<D:propfind xmlns:D="DAV:">
+<D:prop>
+<D:resourcetype/>
+<D:getetag/>
+</D:prop>
+</D:propfind>

Added: CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite1/1.ics
===================================================================
--- CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite1/1.ics	                        (rev 0)
+++ CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite1/1.ics	2008-09-11 18:52:30 UTC (rev 2980)
@@ -0,0 +1,18 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//Example Inc.//Example Calendar//EN
+BEGIN:VEVENT
+UID:event-1
+DTSTART:20060201T200000Z
+DTEND:20060201T210000Z
+ATTENDEE;PARTSTAT=ACCEPTED;CN=User 01:$cuaddralt1:
+ATTENDEE;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=Resource 01:$rcuaddralt1:
+CREATED:20060110T231240Z
+DESCRIPTION:Call-in
+DTSTAMP:20060309T185105Z
+ORGANIZER;CN=User 01:$cuaddralt1:
+RRULE:FREQ=DAILY;COUNT=5
+SUMMARY:Recurring event
+TRANSP:OPAQUE
+END:VEVENT
+END:VCALENDAR

Added: CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite1/2.ics
===================================================================
--- CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite1/2.ics	                        (rev 0)
+++ CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite1/2.ics	2008-09-11 18:52:30 UTC (rev 2980)
@@ -0,0 +1,18 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//Example Inc.//Example Calendar//EN
+BEGIN:VEVENT
+UID:event-1
+DTSTART:20060201T200000Z
+DTEND:20060201T210000Z
+ATTENDEE;PARTSTAT=ACCEPTED;CN=User 01:$cuaddralt1:
+ATTENDEE;RSVP=TRUE;PARTSTAT=ACCEPTED;SCHEDULE-STATUS="2.0;Success";CN=Resource 01:$rcuaddralt1:
+CREATED:20060110T231240Z
+DESCRIPTION:Call-in
+DTSTAMP:20060309T185105Z
+ORGANIZER;CN=User 01:$cuaddralt1:
+RRULE:FREQ=DAILY;COUNT=5
+SUMMARY:Recurring event
+TRANSP:OPAQUE
+END:VEVENT
+END:VCALENDAR

Added: CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite1/3.ics
===================================================================
--- CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite1/3.ics	                        (rev 0)
+++ CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite1/3.ics	2008-09-11 18:52:30 UTC (rev 2980)
@@ -0,0 +1,18 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//CALENDARSERVER.ORG//NONSGML Version 1//EN
+BEGIN:VEVENT
+UID:event-1
+DTSTART:20060201T200000Z
+DTEND:20060201T210000Z
+ATTENDEE;PARTSTAT=ACCEPTED;CN=User 01:$cuaddralt1:
+ATTENDEE;PARTSTAT=ACCEPTED;RSVP=TRUE;CN=Resource 01:$rcuaddralt1:
+CREATED:20060110T231240Z
+DESCRIPTION:Call-in
+DTSTAMP:20060309T185105Z
+ORGANIZER;CN=User 01;SCHEDULE-STATUS="2.0;Success":$cuaddralt1:
+RRULE:FREQ=DAILY;COUNT=5
+SUMMARY:Recurring event
+TRANSP:OPAQUE
+END:VEVENT
+END:VCALENDAR

Added: CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite2/1.ics
===================================================================
--- CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite2/1.ics	                        (rev 0)
+++ CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite2/1.ics	2008-09-11 18:52:30 UTC (rev 2980)
@@ -0,0 +1,32 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//Example Inc.//Example Calendar//EN
+BEGIN:VEVENT
+UID:event-1
+DTSTART:20060201T200000Z
+DTEND:20060201T210000Z
+ATTENDEE;PARTSTAT=ACCEPTED;CN=User 01:$cuaddralt1:
+ATTENDEE;RSVP=TRUE;PARTSTAT=ACCEPTED;SCHEDULE-STATUS="2.0;Success";CN=Resource 01:$rcuaddralt1:
+CREATED:20060110T231240Z
+DESCRIPTION:Call-in
+DTSTAMP:20060309T185105Z
+ORGANIZER;CN=User 01:$cuaddralt1:
+RRULE:FREQ=DAILY;COUNT=5
+SUMMARY:Recurring event
+TRANSP:OPAQUE
+END:VEVENT
+BEGIN:VEVENT
+UID:event-1
+RECURRENCE-ID:20060203T200000Z
+DTSTART:20060203T210000Z
+DTEND:20060203T220000Z
+ATTENDEE;PARTSTAT=ACCEPTED;CN=User 01:$cuaddralt1:
+ATTENDEE;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=Resource 01:$rcuaddralt1:
+CREATED:20060110T231240Z
+DESCRIPTION:Call-in
+DTSTAMP:20060309T185105Z
+ORGANIZER;CN=User 01:$cuaddralt1:
+SUMMARY:3rd-day override
+TRANSP:OPAQUE
+END:VEVENT
+END:VCALENDAR

Added: CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite2/2.ics
===================================================================
--- CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite2/2.ics	                        (rev 0)
+++ CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite2/2.ics	2008-09-11 18:52:30 UTC (rev 2980)
@@ -0,0 +1,32 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//Example Inc.//Example Calendar//EN
+BEGIN:VEVENT
+UID:event-1
+DTSTART:20060201T200000Z
+DTEND:20060201T210000Z
+ATTENDEE;PARTSTAT=ACCEPTED;CN=User 01:$cuaddralt1:
+ATTENDEE;RSVP=TRUE;PARTSTAT=ACCEPTED;SCHEDULE-STATUS="2.0;Success";CN=Resource 01:$rcuaddralt1:
+CREATED:20060110T231240Z
+DESCRIPTION:Call-in
+DTSTAMP:20060309T185105Z
+ORGANIZER;CN=User 01:$cuaddralt1:
+RRULE:FREQ=DAILY;COUNT=5
+SUMMARY:Recurring event
+TRANSP:OPAQUE
+END:VEVENT
+BEGIN:VEVENT
+UID:event-1
+RECURRENCE-ID:20060203T200000Z
+DTSTART:20060203T210000Z
+DTEND:20060203T220000Z
+ATTENDEE;PARTSTAT=ACCEPTED;CN=User 01:$cuaddralt1:
+ATTENDEE;RSVP=TRUE;PARTSTAT=ACCEPTED;SCHEDULE-STATUS="2.0;Success";CN=Resource 01:$rcuaddralt1:
+CREATED:20060110T231240Z
+DESCRIPTION:Call-in
+DTSTAMP:20060309T185105Z
+ORGANIZER;CN=User 01:$cuaddralt1:
+SUMMARY:3rd-day override
+TRANSP:OPAQUE
+END:VEVENT
+END:VCALENDAR

Added: CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite2/3.ics
===================================================================
--- CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite2/3.ics	                        (rev 0)
+++ CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite2/3.ics	2008-09-11 18:52:30 UTC (rev 2980)
@@ -0,0 +1,32 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//CALENDARSERVER.ORG//NONSGML Version 1//EN
+BEGIN:VEVENT
+UID:event-1
+DTSTART:20060201T200000Z
+DTEND:20060201T210000Z
+ATTENDEE;PARTSTAT=ACCEPTED;CN=User 01:$cuaddralt1:
+ATTENDEE;PARTSTAT=ACCEPTED;RSVP=TRUE;CN=Resource 01:$rcuaddralt1:
+CREATED:20060110T231240Z
+DESCRIPTION:Call-in
+DTSTAMP:20060309T185105Z
+ORGANIZER;CN=User 01;SCHEDULE-STATUS="2.0;Success":$cuaddralt1:
+RRULE:FREQ=DAILY;COUNT=5
+SUMMARY:Recurring event
+TRANSP:OPAQUE
+END:VEVENT
+BEGIN:VEVENT
+UID:event-1
+RECURRENCE-ID:20060203T200000Z
+DTSTART:20060203T210000Z
+DTEND:20060203T220000Z
+ATTENDEE;PARTSTAT=ACCEPTED;CN=User 01:$cuaddralt1:
+ATTENDEE;PARTSTAT=ACCEPTED;RSVP=TRUE;CN=Resource 01:$rcuaddralt1:
+CREATED:20060110T231240Z
+DESCRIPTION:Call-in
+DTSTAMP:20060309T185105Z
+ORGANIZER;CN=User 01;SCHEDULE-STATUS="2.0;Success":$cuaddralt1:
+SUMMARY:3rd-day override
+TRANSP:OPAQUE
+END:VEVENT
+END:VCALENDAR

Added: CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite3/1.ics
===================================================================
--- CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite3/1.ics	                        (rev 0)
+++ CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite3/1.ics	2008-09-11 18:52:30 UTC (rev 2980)
@@ -0,0 +1,45 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//Example Inc.//Example Calendar//EN
+BEGIN:VEVENT
+UID:event-1
+DTSTART:20060201T200000Z
+DTEND:20060201T210000Z
+ATTENDEE;PARTSTAT=ACCEPTED;CN=User 01:$cuaddralt1:
+ATTENDEE;RSVP=TRUE;PARTSTAT=ACCEPTED;SCHEDULE-STATUS="2.0;Success";CN=Resource 01:$rcuaddralt1:
+CREATED:20060110T231240Z
+DESCRIPTION:Call-in
+DTSTAMP:20060309T185105Z
+ORGANIZER;CN=User 01:$cuaddralt1:
+RRULE:FREQ=DAILY;COUNT=5
+SUMMARY:Recurring event
+TRANSP:OPAQUE
+END:VEVENT
+BEGIN:VEVENT
+UID:event-1
+RECURRENCE-ID:20060203T200000Z
+DTSTART:20060203T210000Z
+DTEND:20060203T220000Z
+ATTENDEE;PARTSTAT=ACCEPTED;CN=User 01:$cuaddralt1:
+ATTENDEE;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=Resource 01:$rcuaddralt1:
+CREATED:20060110T231240Z
+DESCRIPTION:Call-in
+DTSTAMP:20060309T185105Z
+ORGANIZER;CN=User 01:$cuaddralt1:
+SUMMARY:3rd-day override
+TRANSP:OPAQUE
+END:VEVENT
+BEGIN:VEVENT
+UID:event-1
+RECURRENCE-ID:20060204T200000Z
+DTSTART:20060203T200000Z
+DTEND:20060203T210000Z
+ATTENDEE;PARTSTAT=ACCEPTED;CN=User 01:$cuaddralt1:
+CREATED:20060110T231240Z
+DESCRIPTION:Call-in
+DTSTAMP:20060309T185105Z
+ORGANIZER;CN=User 01:$cuaddralt1:
+SUMMARY:3rd-day override
+TRANSP:OPAQUE
+END:VEVENT
+END:VCALENDAR

Added: CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite3/2.ics
===================================================================
--- CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite3/2.ics	                        (rev 0)
+++ CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite3/2.ics	2008-09-11 18:52:30 UTC (rev 2980)
@@ -0,0 +1,45 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//Example Inc.//Example Calendar//EN
+BEGIN:VEVENT
+UID:event-1
+DTSTART:20060201T200000Z
+DTEND:20060201T210000Z
+ATTENDEE;PARTSTAT=ACCEPTED;CN=User 01:$cuaddralt1:
+ATTENDEE;RSVP=TRUE;PARTSTAT=ACCEPTED;SCHEDULE-STATUS="2.0;Success";CN=Resource 01:$rcuaddralt1:
+CREATED:20060110T231240Z
+DESCRIPTION:Call-in
+DTSTAMP:20060309T185105Z
+ORGANIZER;CN=User 01:$cuaddralt1:
+RRULE:FREQ=DAILY;COUNT=5
+SUMMARY:Recurring event
+TRANSP:OPAQUE
+END:VEVENT
+BEGIN:VEVENT
+UID:event-1
+RECURRENCE-ID:20060203T200000Z
+DTSTART:20060203T210000Z
+DTEND:20060203T220000Z
+ATTENDEE;PARTSTAT=ACCEPTED;CN=User 01:$cuaddralt1:
+ATTENDEE;RSVP=TRUE;PARTSTAT=ACCEPTED;SCHEDULE-STATUS="2.0;Success";CN=Resource 01:$rcuaddralt1:
+CREATED:20060110T231240Z
+DESCRIPTION:Call-in
+DTSTAMP:20060309T185105Z
+ORGANIZER;CN=User 01:$cuaddralt1:
+SUMMARY:3rd-day override
+TRANSP:OPAQUE
+END:VEVENT
+BEGIN:VEVENT
+UID:event-1
+RECURRENCE-ID:20060204T200000Z
+DTSTART:20060203T200000Z
+DTEND:20060203T210000Z
+ATTENDEE;PARTSTAT=ACCEPTED;CN=User 01:$cuaddralt1:
+CREATED:20060110T231240Z
+DESCRIPTION:Call-in
+DTSTAMP:20060309T185105Z
+ORGANIZER;CN=User 01:$cuaddralt1:
+SUMMARY:3rd-day override
+TRANSP:OPAQUE
+END:VEVENT
+END:VCALENDAR

Added: CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite3/3.ics
===================================================================
--- CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite3/3.ics	                        (rev 0)
+++ CalDAVTester/branches/users/cdaboo/implicitauto-2948/Resource/implicit/auto4/suite3/3.ics	2008-09-11 18:52:30 UTC (rev 2980)
@@ -0,0 +1,33 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//CALENDARSERVER.ORG//NONSGML Version 1//EN
+BEGIN:VEVENT
+UID:event-1
+DTSTART:20060201T200000Z
+DTEND:20060201T210000Z
+ATTENDEE;PARTSTAT=ACCEPTED;CN=User 01:$cuaddralt1:
+ATTENDEE;PARTSTAT=ACCEPTED;RSVP=TRUE;CN=Resource 01:$rcuaddralt1:
+CREATED:20060110T231240Z
+DESCRIPTION:Call-in
+DTSTAMP:20060309T185105Z
+ORGANIZER;CN=User 01;SCHEDULE-STATUS="2.0;Success":$cuaddralt1:
+RRULE:FREQ=DAILY;COUNT=5
+EXDATE:20060204T200000Z
+SUMMARY:Recurring event
+TRANSP:OPAQUE
+END:VEVENT
+BEGIN:VEVENT
+UID:event-1
+RECURRENCE-ID:20060203T200000Z
+DTSTART:20060203T210000Z
+DTEND:20060203T220000Z
+ATTENDEE;PARTSTAT=ACCEPTED;CN=User 01:$cuaddralt1:
+ATTENDEE;PARTSTAT=ACCEPTED;RSVP=TRUE;CN=Resource 01:$rcuaddralt1:
+CREATED:20060110T231240Z
+DESCRIPTION:Call-in
+DTSTAMP:20060309T185105Z
+ORGANIZER;CN=User 01;SCHEDULE-STATUS="2.0;Success":$cuaddralt1:
+SUMMARY:3rd-day override
+TRANSP:OPAQUE
+END:VEVENT
+END:VCALENDAR

Added: CalDAVTester/branches/users/cdaboo/implicitauto-2948/scripts/tests/implicitauto4.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/implicitauto-2948/scripts/tests/implicitauto4.xml	                        (rev 0)
+++ CalDAVTester/branches/users/cdaboo/implicitauto-2948/scripts/tests/implicitauto4.xml	2008-09-11 18:52:30 UTC (rev 2980)
@@ -0,0 +1,368 @@
+<?xml version="1.0" standalone="no"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006-2007 Apple Inc. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<caldavtest>
+	<description>Test implicit scheduling for auto-accept location</description>
+
+	<start>
+		<request>
+			<method>DELETEALL</method>
+			<ruri>$pathprefix:/$inbox:/</ruri>
+		</request>
+		<request user="$useradmin:" pswd="$pswdadmin:">
+			<method>DELETEALL</method>
+			<ruri>$rpathprefix1:/$inbox:/</ruri>
+		</request>
+		<request user="$useradmin:" pswd="$pswdadmin:">
+			<method>DELETEALL</method>
+			<ruri>$rpathprefix1:/calendar/</ruri>
+		</request>
+	</start>
+	
+	<test-suite name='#1 5-day recurrence' ignore='no'>
+		<test name='1' ignore='no'>
+			<description>Create new event</description>
+			<request>
+				<method>PUT</method>
+				<ruri>$calendarpath1:/1.ics</ruri>
+				<data>
+					<content-type>text/calendar; charset=utf-8</content-type>
+					<filepath>Resource/implicit/auto4/suite1/1.ics</filepath>
+				</data>
+				<verify>
+					<callback>statusCode</callback>
+				</verify>
+			</request>
+			<request>
+				<method>DELAY</method>
+				<ruri>4</ruri>
+			</request>
+		</test>
+		<test name='2' ignore='no'>
+			<description>One item in user01 Inbox</description>
+			<request print-response="no">
+				<method>PROPFIND</method>
+				<ruri>$pathprefix:/$inbox:/</ruri>
+				<data>
+					<content-type>text/xml; charset=utf-8</content-type>
+					<filepath>Resource/implicit/auto4/1.xml</filepath>
+				</data>
+				<verify>
+					<callback>multistatusItems</callback>
+					<arg>
+						<name>count</name>
+						<value>1</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
+		<test name='3' ignore='no'>
+			<description>One item in user01 Calendar</description>
+			<request print-response="no">
+				<method>GET</method>
+				<ruri>$calendarpath1:/1.ics</ruri>
+				<verify>
+					<callback>calendarDataMatch</callback>
+					<arg>
+						<name>filepath</name>
+						<value>Resource/implicit/auto4/suite1/2.ics</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
+		<test name='4' ignore='no'>
+			<description>No items in resource01 Inbox</description>
+			<request user="$useradmin:" pswd="$pswdadmin:" print-response="no">
+				<method>PROPFIND</method>
+				<ruri>$rpathprefix1:/$inbox:/</ruri>
+				<data>
+					<content-type>text/xml; charset=utf-8</content-type>
+					<filepath>Resource/implicit/auto4/1.xml</filepath>
+				</data>
+				<verify>
+					<callback>multistatusItems</callback>
+					<arg>
+						<name>count</name>
+						<value>0</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
+		<test name='5' ignore='no'>
+			<description>One item in resource01 Calendar</description>
+			<request user="$useradmin:" pswd="$pswdadmin:" print-response="no">
+				<method>GETNEW</method>
+				<ruri>$rpathprefix1:/calendar/</ruri>
+				<verify>
+					<callback>calendarDataMatch</callback>
+					<arg>
+						<name>filepath</name>
+						<value>Resource/implicit/auto4/suite1/3.ics</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
+		<test name='6' ignore='no'>
+			<description>Clean-up inboxes</description>
+			<request>
+				<method>DELETEALL</method>
+				<ruri>$pathprefix:/$inbox:/</ruri>
+			</request>
+			<request user="$userid2:" pswd="$pswd2:">
+				<method>DELETEALL</method>
+				<ruri>$pathprefix2:/$inbox:/</ruri>
+			</request>
+			<request user="$useradmin:" pswd="$pswdadmin:">
+				<method>DELETEALL</method>
+				<ruri>$rpathprefix1:/$inbox:/</ruri>
+			</request>
+		</test>
+	</test-suite>
+
+	<test-suite name='#2 3rd-day override' ignore='no'>
+		<test name='1' ignore='no'>
+			<description>Create new event</description>
+			<request>
+				<method>PUT</method>
+				<ruri>$calendarpath1:/1.ics</ruri>
+				<data>
+					<content-type>text/calendar; charset=utf-8</content-type>
+					<filepath>Resource/implicit/auto4/suite2/1.ics</filepath>
+				</data>
+				<verify>
+					<callback>statusCode</callback>
+				</verify>
+			</request>
+			<request>
+				<method>DELAY</method>
+				<ruri>4</ruri>
+			</request>
+		</test>
+		<test name='2' ignore='no'>
+			<description>One item in user01 Inbox</description>
+			<request print-response="no">
+				<method>PROPFIND</method>
+				<ruri>$pathprefix:/$inbox:/</ruri>
+				<data>
+					<content-type>text/xml; charset=utf-8</content-type>
+					<filepath>Resource/implicit/auto4/1.xml</filepath>
+				</data>
+				<verify>
+					<callback>multistatusItems</callback>
+					<arg>
+						<name>count</name>
+						<value>1</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
+		<test name='3' ignore='no'>
+			<description>One item in user01 Calendar</description>
+			<request print-response="no">
+				<method>GET</method>
+				<ruri>$calendarpath1:/1.ics</ruri>
+				<verify>
+					<callback>calendarDataMatch</callback>
+					<arg>
+						<name>filepath</name>
+						<value>Resource/implicit/auto4/suite2/2.ics</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
+		<test name='4' ignore='no'>
+			<description>No items in resource01 Inbox</description>
+			<request user="$useradmin:" pswd="$pswdadmin:" print-response="no">
+				<method>PROPFIND</method>
+				<ruri>$rpathprefix1:/$inbox:/</ruri>
+				<data>
+					<content-type>text/xml; charset=utf-8</content-type>
+					<filepath>Resource/implicit/auto4/1.xml</filepath>
+				</data>
+				<verify>
+					<callback>multistatusItems</callback>
+					<arg>
+						<name>count</name>
+						<value>0</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
+		<test name='5' ignore='no'>
+			<description>One item in resource01 Calendar</description>
+			<request user="$useradmin:" pswd="$pswdadmin:" print-response="no">
+				<method>GETNEW</method>
+				<ruri>$rpathprefix1:/calendar/</ruri>
+				<verify>
+					<callback>calendarDataMatch</callback>
+					<arg>
+						<name>filepath</name>
+						<value>Resource/implicit/auto4/suite2/3.ics</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
+		<test name='6' ignore='no'>
+			<description>Clean-up inboxes</description>
+			<request>
+				<method>DELETEALL</method>
+				<ruri>$pathprefix:/$inbox:/</ruri>
+			</request>
+			<request user="$userid2:" pswd="$pswd2:">
+				<method>DELETEALL</method>
+				<ruri>$pathprefix2:/$inbox:/</ruri>
+			</request>
+			<request user="$useradmin:" pswd="$pswdadmin:">
+				<method>DELETEALL</method>
+				<ruri>$rpathprefix1:/$inbox:/</ruri>
+			</request>
+		</test>
+	</test-suite>
+
+	<test-suite name='#2 4th-day cancel' ignore='no'>
+		<test name='1' ignore='no'>
+			<description>Create new event</description>
+			<request>
+				<method>PUT</method>
+				<ruri>$calendarpath1:/1.ics</ruri>
+				<data>
+					<content-type>text/calendar; charset=utf-8</content-type>
+					<filepath>Resource/implicit/auto4/suite3/1.ics</filepath>
+				</data>
+				<verify>
+					<callback>statusCode</callback>
+				</verify>
+			</request>
+			<request>
+				<method>DELAY</method>
+				<ruri>4</ruri>
+			</request>
+		</test>
+		<test name='2' ignore='no'>
+			<description>One item in user01 Inbox</description>
+			<request print-response="no">
+				<method>PROPFIND</method>
+				<ruri>$pathprefix:/$inbox:/</ruri>
+				<data>
+					<content-type>text/xml; charset=utf-8</content-type>
+					<filepath>Resource/implicit/auto4/1.xml</filepath>
+				</data>
+				<verify>
+					<callback>multistatusItems</callback>
+					<arg>
+						<name>count</name>
+						<value>1</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
+		<test name='3' ignore='no'>
+			<description>One item in user01 Calendar</description>
+			<request print-response="no">
+				<method>GET</method>
+				<ruri>$calendarpath1:/1.ics</ruri>
+				<verify>
+					<callback>calendarDataMatch</callback>
+					<arg>
+						<name>filepath</name>
+						<value>Resource/implicit/auto4/suite3/2.ics</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
+		<test name='4' ignore='no'>
+			<description>No items in resource01 Inbox</description>
+			<request user="$useradmin:" pswd="$pswdadmin:" print-response="no">
+				<method>PROPFIND</method>
+				<ruri>$rpathprefix1:/$inbox:/</ruri>
+				<data>
+					<content-type>text/xml; charset=utf-8</content-type>
+					<filepath>Resource/implicit/auto4/1.xml</filepath>
+				</data>
+				<verify>
+					<callback>multistatusItems</callback>
+					<arg>
+						<name>count</name>
+						<value>0</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
+		<test name='5' ignore='no'>
+			<description>One item in resource01 Calendar</description>
+			<request user="$useradmin:" pswd="$pswdadmin:" print-response="no">
+				<method>GETNEW</method>
+				<ruri>$rpathprefix1:/calendar/</ruri>
+				<verify>
+					<callback>calendarDataMatch</callback>
+					<arg>
+						<name>filepath</name>
+						<value>Resource/implicit/auto4/suite3/3.ics</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
+		<test name='6' ignore='no'>
+			<description>Clean-up inboxes</description>
+			<request>
+				<method>DELETEALL</method>
+				<ruri>$pathprefix:/$inbox:/</ruri>
+			</request>
+			<request user="$userid2:" pswd="$pswd2:">
+				<method>DELETEALL</method>
+				<ruri>$pathprefix2:/$inbox:/</ruri>
+			</request>
+			<request user="$useradmin:" pswd="$pswdadmin:">
+				<method>DELETEALL</method>
+				<ruri>$rpathprefix1:/$inbox:/</ruri>
+			</request>
+		</test>
+	</test-suite>
+
+	<end>
+		<request>
+			<method>DELETEALL</method>
+			<ruri>$pathprefix:/$inbox:/</ruri>
+		</request>
+		<request>
+			<method>DELETEALL</method>
+			<ruri>$pathprefix:/calendar/</ruri>
+		</request>
+		<request user="$userid2:" pswd="$pswd2:">
+			<method>DELETEALL</method>
+			<ruri>$pathprefix2:/$inbox:/</ruri>
+		</request>
+		<request user="$useradmin:" pswd="$pswdadmin:">
+			<method>DELETEALL</method>
+			<ruri>$pathprefix2:/calendar/</ruri>
+		</request>
+		<request user="$useradmin:" pswd="$pswdadmin:">
+			<method>DELETEALL</method>
+			<ruri>$rpathprefix1:/$inbox:/</ruri>
+		</request>
+		<request user="$useradmin:" pswd="$pswdadmin:">
+			<method>DELETEALL</method>
+			<ruri>$rpathprefix1:/calendar/</ruri>
+		</request>
+	</end>
+	
+</caldavtest>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080911/61ac3538/attachment-0001.html 


More information about the calendarserver-changes mailing list