Revision: 3580 http://trac.macosforge.org/projects/calendarserver/changeset/3580 Author: cdaboo@apple.com Date: 2009-01-09 09:09:46 -0800 (Fri, 09 Jan 2009) Log Message: ----------- Tests for mixed accept/decline of auto-accept locations. Modified Paths: -------------- CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto1/suite4/2.ics CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto1/suite4/3.ics CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto1/suite4/4.ics CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto1/suite7/2.ics CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto1/suite7/3.ics CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto1/suite7/4.ics CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto2/suite6/2.ics CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto2/suite6/3.ics Added Paths: ----------- CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/1.xml CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite1/ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite1/1.ics CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite1/2.ics CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite1/3.ics CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite2/ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite2/1.ics CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite2/2.ics CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite2/3.ics CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite3/ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite3/1.ics CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite3/2.ics CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite3/3.ics CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite4/ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite4/1.ics CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite4/2.ics CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite4/3.ics CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/scripts/tests/implicitauto5.xml Modified: CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto1/suite4/2.ics =================================================================== --- CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto1/suite4/2.ics 2009-01-09 17:07:58 UTC (rev 3579) +++ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto1/suite4/2.ics 2009-01-09 17:09:46 UTC (rev 3580) @@ -9,6 +9,23 @@ ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: ATTENDEE;CN=$username2:;RSVP=TRUE;SCHEDULE-STATUS="1.2 ;Scheduling message has been delivered";X-CALENDARSERVER-EMAIL=$email2::$cuaddrurn2: +ATTENDEE;CN=$resourcename1:;PARTSTAT=ACCEPTED;SCHEDULE-STATUS="2.0;Success":$rcuaddrurn1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +STATUS:CONFIRMED +SUMMARY:Example - recurring conflict +TRANSP:OPAQUE +END:VEVENT +BEGIN:VEVENT +UID:event-3 +RECURRENCE-ID:20060208T200000Z +DTSTART:20060208T200000Z +DTEND:20060208T210000Z +ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +ATTENDEE;CN=$username2:;RSVP=TRUE;SCHEDULE-STATUS="1.2 + ;Scheduling message has been delivered";X-CALENDARSERVER-EMAIL=$email2::$cuaddrurn2: ATTENDEE;CN=$resourcename1:;PARTSTAT=DECLINED;SCHEDULE-STATUS="2.0;Success":$rcuaddrurn1: CREATED:20060110T231240Z DESCRIPTION:Call-in Modified: CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto1/suite4/3.ics =================================================================== --- CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto1/suite4/3.ics 2009-01-09 17:07:58 UTC (rev 3579) +++ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto1/suite4/3.ics 2009-01-09 17:09:46 UTC (rev 3580) @@ -8,6 +8,23 @@ RRULE:FREQ=DAILY;COUNT=5 ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: ATTENDEE;CN=$username2:;RSVP=TRUE;X-CALENDARSERVER-EMAIL=$email2::$cuaddrurn2: +ATTENDEE;CN=$resourcename1:;PARTSTAT=ACCEPTED:$rcuaddrurn1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +STATUS:CONFIRMED +SUMMARY:Example - recurring conflict +TRANSP:OPAQUE +X-APPLE-NEEDS-REPLY:TRUE +END:VEVENT +BEGIN:VEVENT +UID:event-3 +RECURRENCE-ID:20060208T200000Z +DTSTART:20060208T200000Z +DTEND:20060208T210000Z +ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +ATTENDEE;CN=$username2:;RSVP=TRUE;X-CALENDARSERVER-EMAIL=$email2::$cuaddrurn2: ATTENDEE;CN=$resourcename1:;PARTSTAT=DECLINED:$rcuaddrurn1: CREATED:20060110T231240Z DESCRIPTION:Call-in Modified: CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto1/suite4/4.ics =================================================================== --- CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto1/suite4/4.ics 2009-01-09 17:07:58 UTC (rev 3579) +++ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto1/suite4/4.ics 2009-01-09 17:09:46 UTC (rev 3580) @@ -8,6 +8,23 @@ RRULE:FREQ=DAILY;COUNT=5 ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: ATTENDEE;CN=$username2:;RSVP=TRUE;X-CALENDARSERVER-EMAIL=$email2::$cuaddrurn2: +ATTENDEE;CN=$resourcename1:;PARTSTAT=ACCEPTED:$rcuaddrurn1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1:;SCHEDULE-STATUS="1.2 + ;Scheduling message has been delivered";X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +STATUS:CONFIRMED +SUMMARY:Example - recurring conflict +TRANSP:OPAQUE +END:VEVENT +BEGIN:VEVENT +UID:event-3 +RECURRENCE-ID:20060208T200000Z +DTSTART:20060208T200000Z +DTEND:20060208T210000Z +ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +ATTENDEE;CN=$username2:;RSVP=TRUE;X-CALENDARSERVER-EMAIL=$email2::$cuaddrurn2: ATTENDEE;CN=$resourcename1:;PARTSTAT=DECLINED:$rcuaddrurn1: CREATED:20060110T231240Z DESCRIPTION:Call-in Modified: CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto1/suite7/2.ics =================================================================== --- CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto1/suite7/2.ics 2009-01-09 17:07:58 UTC (rev 3579) +++ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto1/suite7/2.ics 2009-01-09 17:09:46 UTC (rev 3580) @@ -9,6 +9,23 @@ ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: ATTENDEE;CN=$username2:;RSVP=TRUE;SCHEDULE-STATUS="1.2 ;Scheduling message has been delivered";X-CALENDARSERVER-EMAIL=$email2::$cuaddrurn2: +ATTENDEE;CN=$resourcename1:;PARTSTAT=ACCEPTED;SCHEDULE-STATUS="2.0;Success":$rcuaddrurn1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +STATUS:CONFIRMED +SUMMARY:Example - recurring with recurring conflict +TRANSP:OPAQUE +END:VEVENT +BEGIN:VEVENT +UID:event-6 +RECURRENCE-ID:20060210T100000Z +DTSTART:20060210T100000Z +DTEND:20060210T101000Z +ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +ATTENDEE;CN=$username2:;RSVP=TRUE;SCHEDULE-STATUS="1.2 + ;Scheduling message has been delivered";X-CALENDARSERVER-EMAIL=$email2::$cuaddrurn2: ATTENDEE;CN=$resourcename1:;PARTSTAT=DECLINED;SCHEDULE-STATUS="2.0;Success":$rcuaddrurn1: CREATED:20060110T231240Z DESCRIPTION:Call-in Modified: CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto1/suite7/3.ics =================================================================== --- CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto1/suite7/3.ics 2009-01-09 17:07:58 UTC (rev 3579) +++ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto1/suite7/3.ics 2009-01-09 17:09:46 UTC (rev 3580) @@ -8,6 +8,23 @@ RRULE:FREQ=HOURLY;COUNT=8 ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: ATTENDEE;CN=$username2:;RSVP=TRUE;X-CALENDARSERVER-EMAIL=$email2::$cuaddrurn2: +ATTENDEE;CN=$resourcename1:;PARTSTAT=ACCEPTED:$rcuaddrurn1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +STATUS:CONFIRMED +SUMMARY:Example - recurring with recurring conflict +TRANSP:OPAQUE +X-APPLE-NEEDS-REPLY:TRUE +END:VEVENT +BEGIN:VEVENT +UID:event-6 +RECURRENCE-ID:20060210T100000Z +DTSTART:20060210T100000Z +DTEND:20060210T101000Z +ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +ATTENDEE;CN=$username2:;RSVP=TRUE;X-CALENDARSERVER-EMAIL=$email2::$cuaddrurn2: ATTENDEE;CN=$resourcename1:;PARTSTAT=DECLINED:$rcuaddrurn1: CREATED:20060110T231240Z DESCRIPTION:Call-in Modified: CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto1/suite7/4.ics =================================================================== --- CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto1/suite7/4.ics 2009-01-09 17:07:58 UTC (rev 3579) +++ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto1/suite7/4.ics 2009-01-09 17:09:46 UTC (rev 3580) @@ -8,6 +8,23 @@ RRULE:FREQ=HOURLY;COUNT=8 ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: ATTENDEE;CN=$username2:;RSVP=TRUE;X-CALENDARSERVER-EMAIL=$email2::$cuaddrurn2: +ATTENDEE;CN=$resourcename1:;PARTSTAT=ACCEPTED:$rcuaddrurn1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1:;SCHEDULE-STATUS="1.2 + ;Scheduling message has been delivered";X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +STATUS:CONFIRMED +SUMMARY:Example - recurring with recurring conflict +TRANSP:OPAQUE +END:VEVENT +BEGIN:VEVENT +UID:event-6 +RECURRENCE-ID:20060210T100000Z +DTSTART:20060210T100000Z +DTEND:20060210T101000Z +ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +ATTENDEE;CN=$username2:;RSVP=TRUE;X-CALENDARSERVER-EMAIL=$email2::$cuaddrurn2: ATTENDEE;CN=$resourcename1:;PARTSTAT=DECLINED:$rcuaddrurn1: CREATED:20060110T231240Z DESCRIPTION:Call-in Modified: CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto2/suite6/2.ics =================================================================== --- CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto2/suite6/2.ics 2009-01-09 17:07:58 UTC (rev 3579) +++ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto2/suite6/2.ics 2009-01-09 17:09:46 UTC (rev 3580) @@ -20,7 +20,7 @@ DTEND:20060215T120000Z RECURRENCE-ID:20060215T100000Z ATTENDEE;PARTSTAT=ACCEPTED;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: -ATTENDEE;RSVP=TRUE;PARTSTAT=DECLINED;SCHEDULE-STATUS="2.0;Success";CN=$resourcename1::$rcuaddrurn1: +ATTENDEE;RSVP=TRUE;PARTSTAT=ACCEPTED;SCHEDULE-STATUS="2.0;Success";CN=$resourcename1::$rcuaddrurn1: CREATED:20060110T231240Z DESCRIPTION:Call-in DTSTAMP:20060309T185105Z Modified: CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto2/suite6/3.ics =================================================================== --- CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto2/suite6/3.ics 2009-01-09 17:07:58 UTC (rev 3579) +++ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto2/suite6/3.ics 2009-01-09 17:09:46 UTC (rev 3580) @@ -7,14 +7,14 @@ DTEND:20060215T120000Z RECURRENCE-ID:20060215T100000Z ATTENDEE;PARTSTAT=ACCEPTED;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: -ATTENDEE;PARTSTAT=DECLINED;RSVP=TRUE;CN=$resourcename1::$rcuaddrurn1: +ATTENDEE;PARTSTAT=ACCEPTED;RSVP=TRUE;CN=$resourcename1::$rcuaddrurn1: CREATED:20060110T231240Z DESCRIPTION:Call-in DTSTAMP:20060309T185105Z ORGANIZER;CN=$username1:;SCHEDULE-STATUS="1.2 ;Scheduling message has been delivered";X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: SUMMARY:Recurring event - override #1 -TRANSP:TRANSPARENT +TRANSP:OPAQUE END:VEVENT BEGIN:VEVENT UID:event-2 Added: CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/1.xml =================================================================== --- CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/1.xml (rev 0) +++ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/1.xml 2009-01-09 17:09:46 UTC (rev 3580) @@ -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/location-partial-accept-3574/Resource/implicit/auto5/suite1/1.ics =================================================================== --- CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite1/1.ics (rev 0) +++ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite1/1.ics 2009-01-09 17:09:46 UTC (rev 3580) @@ -0,0 +1,17 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID:-//Example Inc.//Example Calendar//EN +BEGIN:VEVENT +UID:event-1 +DTSTART:20060209T000000Z +DTEND:20060209T230000Z +ATTENDEE;PARTSTAT=ACCEPTED;CN=$username1::$cuaddralt1: +ATTENDEE;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=$resourcename1::$rcuaddralt1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1::$cuaddralt1: +SUMMARY:Blocking event +TRANSP:OPAQUE +END:VEVENT +END:VCALENDAR Added: CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite1/2.ics =================================================================== --- CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite1/2.ics (rev 0) +++ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite1/2.ics 2009-01-09 17:09:46 UTC (rev 3580) @@ -0,0 +1,17 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID:-//Example Inc.//Example Calendar//EN +BEGIN:VEVENT +UID:event-1 +DTSTART:20060209T000000Z +DTEND:20060209T230000Z +ATTENDEE;PARTSTAT=ACCEPTED;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +ATTENDEE;RSVP=TRUE;PARTSTAT=ACCEPTED;SCHEDULE-STATUS="2.0;Success";CN=$resourcename1::$rcuaddrurn1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +SUMMARY:Blocking event +TRANSP:OPAQUE +END:VEVENT +END:VCALENDAR Added: CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite1/3.ics =================================================================== --- CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite1/3.ics (rev 0) +++ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite1/3.ics 2009-01-09 17:09:46 UTC (rev 3580) @@ -0,0 +1,18 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID:-//CALENDARSERVER.ORG//NONSGML Version 1//EN +BEGIN:VEVENT +UID:event-1 +DTSTART:20060209T000000Z +DTEND:20060209T230000Z +ATTENDEE;PARTSTAT=ACCEPTED;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +ATTENDEE;PARTSTAT=ACCEPTED;RSVP=TRUE;CN=$resourcename1::$rcuaddrurn1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1:;SCHEDULE-STATUS="1.2 + ;Scheduling message has been delivered";X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +SUMMARY:Blocking event +TRANSP:OPAQUE +END:VEVENT +END:VCALENDAR Added: CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite2/1.ics =================================================================== --- CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite2/1.ics (rev 0) +++ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite2/1.ics 2009-01-09 17:09:46 UTC (rev 3580) @@ -0,0 +1,18 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID:-//Example Inc.//Example Calendar//EN +BEGIN:VEVENT +UID:event-2 +DTSTART:20060207T100000Z +DTEND:20060207T110000Z +ATTENDEE;PARTSTAT=ACCEPTED;CN=$username1::$cuaddralt1: +ATTENDEE;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=$resourcename1::$rcuaddralt1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1::$cuaddralt1: +RRULE:FREQ=DAILY;COUNT=5 +SUMMARY:Recurring event - 2 +TRANSP:OPAQUE +END:VEVENT +END:VCALENDAR Added: CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite2/2.ics =================================================================== --- CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite2/2.ics (rev 0) +++ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite2/2.ics 2009-01-09 17:09:46 UTC (rev 3580) @@ -0,0 +1,32 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID:-//Example Inc.//Example Calendar//EN +BEGIN:VEVENT +UID:event-2 +DTSTART:20060207T100000Z +DTEND:20060207T110000Z +ATTENDEE;PARTSTAT=ACCEPTED;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +ATTENDEE;RSVP=TRUE;PARTSTAT=ACCEPTED;SCHEDULE-STATUS="2.0;Success";CN=$resourcename1::$rcuaddrurn1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +RRULE:FREQ=DAILY;COUNT=5 +SUMMARY:Recurring event - 2 +TRANSP:OPAQUE +END:VEVENT +BEGIN:VEVENT +UID:event-2 +RECURRENCE-ID:20060209T100000Z +DTSTART:20060209T100000Z +DTEND:20060209T110000Z +ATTENDEE;PARTSTAT=ACCEPTED;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +ATTENDEE;RSVP=TRUE;PARTSTAT=DECLINED;SCHEDULE-STATUS="2.0;Success";CN=$resourcename1::$rcuaddrurn1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +SUMMARY:Recurring event - 2 +TRANSP:OPAQUE +END:VEVENT +END:VCALENDAR Added: CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite2/3.ics =================================================================== --- CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite2/3.ics (rev 0) +++ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite2/3.ics 2009-01-09 17:09:46 UTC (rev 3580) @@ -0,0 +1,34 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID:-//CALENDARSERVER.ORG//NONSGML Version 1//EN +BEGIN:VEVENT +UID:event-2 +DTSTART:20060207T100000Z +DTEND:20060207T110000Z +ATTENDEE;PARTSTAT=ACCEPTED;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +ATTENDEE;PARTSTAT=ACCEPTED;RSVP=TRUE;CN=$resourcename1::$rcuaddrurn1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1:;SCHEDULE-STATUS="1.2 + ;Scheduling message has been delivered";X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +RRULE:FREQ=DAILY;COUNT=5 +SUMMARY:Recurring event - 2 +TRANSP:OPAQUE +END:VEVENT +BEGIN:VEVENT +UID:event-2 +RECURRENCE-ID:20060209T100000Z +DTSTART:20060209T100000Z +DTEND:20060209T110000Z +ATTENDEE;PARTSTAT=ACCEPTED;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +ATTENDEE;PARTSTAT=DECLINED;RSVP=TRUE;CN=$resourcename1::$rcuaddrurn1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1:;SCHEDULE-STATUS="1.2 + ;Scheduling message has been delivered";X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +SUMMARY:Recurring event - 2 +TRANSP:TRANSPARENT +END:VEVENT +END:VCALENDAR Added: CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite3/1.ics =================================================================== --- CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite3/1.ics (rev 0) +++ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite3/1.ics 2009-01-09 17:09:46 UTC (rev 3580) @@ -0,0 +1,31 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID:-//Example Inc.//Example Calendar//EN +BEGIN:VEVENT +UID:event-3 +DTSTART:20060207T120000Z +DTEND:20060207T130000Z +ATTENDEE;PARTSTAT=ACCEPTED;CN=$username1::$cuaddralt1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1::$cuaddralt1: +RRULE:FREQ=DAILY;COUNT=5 +SUMMARY:Recurring event - 3 +TRANSP:OPAQUE +END:VEVENT +BEGIN:VEVENT +UID:event-3 +RECURRENCE-ID:20060209T120000Z +DTSTART:20060209T123000Z +DTEND:20060209T133000Z +ATTENDEE;PARTSTAT=ACCEPTED;CN=$username1::$cuaddralt1: +ATTENDEE;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=$resourcename1::$rcuaddralt1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1::$cuaddralt1: +SUMMARY:Recurring event - 3 +TRANSP:OPAQUE +END:VEVENT +END:VCALENDAR Added: CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite3/2.ics =================================================================== --- CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite3/2.ics (rev 0) +++ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite3/2.ics 2009-01-09 17:09:46 UTC (rev 3580) @@ -0,0 +1,31 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID:-//Example Inc.//Example Calendar//EN +BEGIN:VEVENT +UID:event-3 +DTSTART:20060207T120000Z +DTEND:20060207T130000Z +ATTENDEE;PARTSTAT=ACCEPTED;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +RRULE:FREQ=DAILY;COUNT=5 +SUMMARY:Recurring event - 3 +TRANSP:OPAQUE +END:VEVENT +BEGIN:VEVENT +UID:event-3 +RECURRENCE-ID:20060209T120000Z +DTSTART:20060209T123000Z +DTEND:20060209T133000Z +ATTENDEE;PARTSTAT=ACCEPTED;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +ATTENDEE;RSVP=TRUE;PARTSTAT=DECLINED;SCHEDULE-STATUS="2.0;Success";CN=$resourcename1::$rcuaddrurn1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +SUMMARY:Recurring event - 3 +TRANSP:OPAQUE +END:VEVENT +END:VCALENDAR Added: CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite3/3.ics =================================================================== --- CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite3/3.ics (rev 0) +++ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite3/3.ics 2009-01-09 17:09:46 UTC (rev 3580) @@ -0,0 +1,19 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID:-//CALENDARSERVER.ORG//NONSGML Version 1//EN +BEGIN:VEVENT +UID:event-3 +RECURRENCE-ID:20060209T120000Z +DTSTART:20060209T123000Z +DTEND:20060209T133000Z +ATTENDEE;PARTSTAT=ACCEPTED;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +ATTENDEE;PARTSTAT=DECLINED;RSVP=TRUE;CN=$resourcename1::$rcuaddrurn1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1:;SCHEDULE-STATUS="1.2 + ;Scheduling message has been delivered";X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +SUMMARY:Recurring event - 3 +TRANSP:TRANSPARENT +END:VEVENT +END:VCALENDAR Added: CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite4/1.ics =================================================================== --- CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite4/1.ics (rev 0) +++ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite4/1.ics 2009-01-09 17:09:46 UTC (rev 3580) @@ -0,0 +1,45 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID:-//Example Inc.//Example Calendar//EN +BEGIN:VEVENT +UID:event-4 +DTSTART:20060207T150000Z +DTEND:20060207T160000Z +ATTENDEE;PARTSTAT=ACCEPTED;CN=$username1::$cuaddralt1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1::$cuaddralt1: +RRULE:FREQ=DAILY;COUNT=5 +SUMMARY:Recurring event - 4 +TRANSP:OPAQUE +END:VEVENT +BEGIN:VEVENT +UID:event-4 +RECURRENCE-ID:20060209T150000Z +DTSTART:20060209T153000Z +DTEND:20060209T163000Z +ATTENDEE;PARTSTAT=ACCEPTED;CN=$username1::$cuaddralt1: +ATTENDEE;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=$resourcename1::$rcuaddralt1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1::$cuaddralt1: +SUMMARY:Recurring event - 4 +TRANSP:OPAQUE +END:VEVENT +BEGIN:VEVENT +UID:event-4 +RECURRENCE-ID:20060210T150000Z +DTSTART:20060210T153000Z +DTEND:20060210T163000Z +ATTENDEE;PARTSTAT=ACCEPTED;CN=$username1::$cuaddralt1: +ATTENDEE;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=$resourcename1::$rcuaddralt1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1::$cuaddralt1: +SUMMARY:Recurring event - 4 +TRANSP:OPAQUE +END:VEVENT +END:VCALENDAR Added: CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite4/2.ics =================================================================== --- CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite4/2.ics (rev 0) +++ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite4/2.ics 2009-01-09 17:09:46 UTC (rev 3580) @@ -0,0 +1,45 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID:-//Example Inc.//Example Calendar//EN +BEGIN:VEVENT +UID:event-4 +DTSTART:20060207T150000Z +DTEND:20060207T160000Z +ATTENDEE;PARTSTAT=ACCEPTED;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +RRULE:FREQ=DAILY;COUNT=5 +SUMMARY:Recurring event - 4 +TRANSP:OPAQUE +END:VEVENT +BEGIN:VEVENT +UID:event-4 +RECURRENCE-ID:20060209T150000Z +DTSTART:20060209T153000Z +DTEND:20060209T163000Z +ATTENDEE;PARTSTAT=ACCEPTED;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +ATTENDEE;RSVP=TRUE;PARTSTAT=DECLINED;SCHEDULE-STATUS="2.0;Success";CN=$resourcename1::$rcuaddrurn1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +SUMMARY:Recurring event - 4 +TRANSP:OPAQUE +END:VEVENT +BEGIN:VEVENT +UID:event-4 +RECURRENCE-ID:20060210T150000Z +DTSTART:20060210T153000Z +DTEND:20060210T163000Z +ATTENDEE;PARTSTAT=ACCEPTED;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +ATTENDEE;RSVP=TRUE;PARTSTAT=ACCEPTED;SCHEDULE-STATUS="2.0;Success";CN=$resourcename1::$rcuaddrurn1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +SUMMARY:Recurring event - 4 +TRANSP:OPAQUE +END:VEVENT +END:VCALENDAR Added: CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite4/3.ics =================================================================== --- CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite4/3.ics (rev 0) +++ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/Resource/implicit/auto5/suite4/3.ics 2009-01-09 17:09:46 UTC (rev 3580) @@ -0,0 +1,34 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID:-//CALENDARSERVER.ORG//NONSGML Version 1//EN +BEGIN:VEVENT +UID:event-4 +RECURRENCE-ID:20060209T150000Z +DTSTART:20060209T153000Z +DTEND:20060209T163000Z +ATTENDEE;PARTSTAT=ACCEPTED;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +ATTENDEE;PARTSTAT=DECLINED;RSVP=TRUE;CN=$resourcename1::$rcuaddrurn1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1:;SCHEDULE-STATUS="1.2 + ;Scheduling message has been delivered";X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +SUMMARY:Recurring event - 4 +TRANSP:TRANSPARENT +END:VEVENT +BEGIN:VEVENT +UID:event-4 +RECURRENCE-ID:20060210T150000Z +DTSTART:20060210T153000Z +DTEND:20060210T163000Z +ATTENDEE;PARTSTAT=ACCEPTED;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +ATTENDEE;PARTSTAT=ACCEPTED;RSVP=TRUE;CN=$resourcename1::$rcuaddrurn1: +CREATED:20060110T231240Z +DESCRIPTION:Call-in +DTSTAMP:20060309T185105Z +ORGANIZER;CN=$username1:;SCHEDULE-STATUS="1.2 + ;Scheduling message has been delivered";X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1: +SUMMARY:Recurring event - 4 +TRANSP:OPAQUE +END:VEVENT +END:VCALENDAR Added: CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/scripts/tests/implicitauto5.xml =================================================================== --- CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/scripts/tests/implicitauto5.xml (rev 0) +++ CalDAVTester/branches/users/cdaboo/location-partial-accept-3574/scripts/tests/implicitauto5.xml 2009-01-09 17:09:46 UTC (rev 3580) @@ -0,0 +1,466 @@ +<?xml version="1.0" standalone="no"?> + +<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd"> + +<!-- + Copyright (c) 2006-2009 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. + --> + +<caldavtest> + <description>Test implicit scheduling for auto-accept location partial replies</description> + + <start> + <request> + <method>DELETEALL</method> + <ruri>$inboxpath1:/</ruri> + </request> + <request user="$useradmin:" pswd="$pswdadmin:"> + <method>DELETEALL</method> + <ruri>$rinboxpath1:/</ruri> + </request> + <request user="$useradmin:" pswd="$pswdadmin:"> + <method>DELETEALL</method> + <ruri>$rcalendarpath1:/</ruri> + </request> + </start> + + <test-suite name='#1 Block out one day in a week' 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/auto5/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>$inboxpath1:/</ruri> + <data> + <content-type>text/xml; charset=utf-8</content-type> + <filepath>Resource/implicit/auto5/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/auto5/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>$rinboxpath1:/</ruri> + <data> + <content-type>text/xml; charset=utf-8</content-type> + <filepath>Resource/implicit/auto5/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>$rcalendarpath1:/</ruri> + <verify> + <callback>calendarDataMatch</callback> + <arg> + <name>filepath</name> + <value>Resource/implicit/auto5/suite1/3.ics</value> + </arg> + </verify> + </request> + </test> + <test name='6' ignore='no'> + <description>Clean-up inboxes</description> + <request> + <method>DELETEALL</method> + <ruri>$inboxpath1:/</ruri> + </request> + <request user="$userid2:" pswd="$pswd2:"> + <method>DELETEALL</method> + <ruri>$inboxpath2:/</ruri> + </request> + <request user="$useradmin:" pswd="$pswdadmin:"> + <method>DELETEALL</method> + <ruri>$rinboxpath1:/</ruri> + </request> + </test> + </test-suite> + + <test-suite name='#2 Full recurrence with partial decline' ignore='no'> + <test name='1' ignore='no'> + <description>Create new event</description> + <request> + <method>PUT</method> + <ruri>$calendarpath1:/2.ics</ruri> + <data> + <content-type>text/calendar; charset=utf-8</content-type> + <filepath>Resource/implicit/auto5/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>$inboxpath1:/</ruri> + <data> + <content-type>text/xml; charset=utf-8</content-type> + <filepath>Resource/implicit/auto5/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:/2.ics</ruri> + <verify> + <callback>calendarDataMatch</callback> + <arg> + <name>filepath</name> + <value>Resource/implicit/auto5/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>$rinboxpath1:/</ruri> + <data> + <content-type>text/xml; charset=utf-8</content-type> + <filepath>Resource/implicit/auto5/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>$rcalendarpath1:/</ruri> + <verify> + <callback>calendarDataMatch</callback> + <arg> + <name>filepath</name> + <value>Resource/implicit/auto5/suite2/3.ics</value> + </arg> + </verify> + </request> + </test> + <test name='6' ignore='no'> + <description>Clean-up inboxes</description> + <request> + <method>DELETEALL</method> + <ruri>$inboxpath1:/</ruri> + </request> + <request user="$userid2:" pswd="$pswd2:"> + <method>DELETEALL</method> + <ruri>$inboxpath2:/</ruri> + </request> + <request user="$useradmin:" pswd="$pswdadmin:"> + <method>DELETEALL</method> + <ruri>$rinboxpath1:/</ruri> + </request> + </test> + </test-suite> + + <test-suite name='#3 Partial recurrence with decline only' ignore='no'> + <test name='1' ignore='no'> + <description>Create new event</description> + <request> + <method>PUT</method> + <ruri>$calendarpath1:/3.ics</ruri> + <data> + <content-type>text/calendar; charset=utf-8</content-type> + <filepath>Resource/implicit/auto5/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>$inboxpath1:/</ruri> + <data> + <content-type>text/xml; charset=utf-8</content-type> + <filepath>Resource/implicit/auto5/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:/3.ics</ruri> + <verify> + <callback>calendarDataMatch</callback> + <arg> + <name>filepath</name> + <value>Resource/implicit/auto5/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>$rinboxpath1:/</ruri> + <data> + <content-type>text/xml; charset=utf-8</content-type> + <filepath>Resource/implicit/auto5/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>$rcalendarpath1:/</ruri> + <verify> + <callback>calendarDataMatch</callback> + <arg> + <name>filepath</name> + <value>Resource/implicit/auto5/suite3/3.ics</value> + </arg> + </verify> + </request> + </test> + <test name='6' ignore='no'> + <description>Clean-up inboxes</description> + <request> + <method>DELETEALL</method> + <ruri>$inboxpath1:/</ruri> + </request> + <request user="$userid2:" pswd="$pswd2:"> + <method>DELETEALL</method> + <ruri>$inboxpath2:/</ruri> + </request> + <request user="$useradmin:" pswd="$pswdadmin:"> + <method>DELETEALL</method> + <ruri>$rinboxpath1:/</ruri> + </request> + </test> + </test-suite> + + <test-suite name='#4 Partial recurrence with mixed partstat' ignore='no'> + <test name='1' ignore='no'> + <description>Create new event</description> + <request> + <method>PUT</method> + <ruri>$calendarpath1:/4.ics</ruri> + <data> + <content-type>text/calendar; charset=utf-8</content-type> + <filepath>Resource/implicit/auto5/suite4/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>$inboxpath1:/</ruri> + <data> + <content-type>text/xml; charset=utf-8</content-type> + <filepath>Resource/implicit/auto5/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:/4.ics</ruri> + <verify> + <callback>calendarDataMatch</callback> + <arg> + <name>filepath</name> + <value>Resource/implicit/auto5/suite4/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>$rinboxpath1:/</ruri> + <data> + <content-type>text/xml; charset=utf-8</content-type> + <filepath>Resource/implicit/auto5/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>$rcalendarpath1:/</ruri> + <verify> + <callback>calendarDataMatch</callback> + <arg> + <name>filepath</name> + <value>Resource/implicit/auto5/suite4/3.ics</value> + </arg> + </verify> + </request> + </test> + <test name='6' ignore='no'> + <description>Clean-up inboxes</description> + <request> + <method>DELETEALL</method> + <ruri>$inboxpath1:/</ruri> + </request> + <request user="$userid2:" pswd="$pswd2:"> + <method>DELETEALL</method> + <ruri>$inboxpath2:/</ruri> + </request> + <request user="$useradmin:" pswd="$pswdadmin:"> + <method>DELETEALL</method> + <ruri>$rinboxpath1:/</ruri> + </request> + </test> + </test-suite> + + <end> + <request> + <method>DELETEALL</method> + <ruri>$inboxpath1:/</ruri> + </request> + <request> + <method>DELETEALL</method> + <ruri>$calendarpath1:/</ruri> + </request> + <request user="$userid2:" pswd="$pswd2:"> + <method>DELETEALL</method> + <ruri>$inboxpath2:/</ruri> + </request> + <request user="$useradmin:" pswd="$pswdadmin:"> + <method>DELETEALL</method> + <ruri>$calendarpath2:/</ruri> + </request> + <request user="$useradmin:" pswd="$pswdadmin:"> + <method>DELETEALL</method> + <ruri>$rinboxpath1:/</ruri> + </request> + <request user="$useradmin:" pswd="$pswdadmin:"> + <method>DELETEALL</method> + <ruri>$rcalendarpath1:/</ruri> + </request> + </end> + +</caldavtest>
participants (1)
-
source_changes@macosforge.org