[CalendarServer-changes] [5403] CalDAVTester/branches/users/cdaboo/sharing-5228
source_changes at macosforge.org
source_changes at macosforge.org
Thu Mar 25 18:46:49 PDT 2010
Revision: 5403
http://trac.macosforge.org/projects/calendarserver/changeset/5403
Author: cdaboo at apple.com
Date: 2010-03-25 18:46:48 -0700 (Thu, 25 Mar 2010)
Log Message:
-----------
Tests for per-user calendar data in shared calendars and per-user freebusy state.
Added Paths:
-----------
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/complex-change02/
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/complex-change02/1.ics
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/complex-change02/2.ics
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/complex-change02/3.ics
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/complex-put/
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/complex-put/1.ics
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/complex-put/2.ics
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-change01/
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-change01/1.ics
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-change01/2.ics
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-change02/
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-change02/1.ics
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-change02/2.ics
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-change02/3.ics
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-freebusy/
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-freebusy/1.ics
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-freebusy/2.ics
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-freebusy/3.ics
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-put/
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-put/1.ics
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-put/2.ics
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/Common/POST/
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/Common/POST/sharinginvite23.xml
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/Common/POST/sharingreply2.xml
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/Common/POST/sharingreply3.xml
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/Common/PROPPATCH/
CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/Common/PROPPATCH/calendar-transp-opaque.xml
CalDAVTester/branches/users/cdaboo/sharing-5228/scripts/tests/CalDAV/sharing-create.xml
CalDAVTester/branches/users/cdaboo/sharing-5228/scripts/tests/CalDAV/sharing-peruser-data.xml
Added: CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/complex-change02/1.ics
===================================================================
--- CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/complex-change02/1.ics (rev 0)
+++ CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/complex-change02/1.ics 2010-03-26 01:46:48 UTC (rev 5403)
@@ -0,0 +1,55 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//PYVOBJECT//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:user01-uid-2
+DTSTART;TZID=US/Eastern:20060101T080000
+DURATION:PT1H
+RRULE:FREQ=DAILY;COUNT=10
+DTSTAMP:20051222T210310Z
+SUMMARY:event 2
+BEGIN:VALARM
+ACTION:AUDIO
+TRIGGER;RELATED=START:-PT30M
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+UID:user01-uid-2
+RECURRENCE-ID;TZID=US/Eastern:20060102T080000
+DTSTART;TZID=US/Eastern:20060102T080000
+DURATION:PT1H
+DTSTAMP:20051222T210310Z
+SUMMARY:event 2
+BEGIN:VALARM
+ACTION:AUDIO
+TRIGGER;RELATED=START:-PT10M
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+UID:user01-uid-2
+RECURRENCE-ID;TZID=US/Eastern:20060103T080000
+DTSTART;TZID=US/Eastern:20060103T090000
+DURATION:PT1H
+DTSTAMP:20051222T210310Z
+SUMMARY:event 2
+TRANSP:TRANSPARENT
+END:VEVENT
+END:VCALENDAR
Added: CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/complex-change02/2.ics
===================================================================
--- CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/complex-change02/2.ics (rev 0)
+++ CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/complex-change02/2.ics 2010-03-26 01:46:48 UTC (rev 5403)
@@ -0,0 +1,56 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//PYVOBJECT//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:user01-uid-2
+DTSTART;TZID=US/Eastern:20060101T080000
+DURATION:PT1H
+RRULE:FREQ=DAILY;COUNT=10
+DTSTAMP:20051222T210310Z
+SUMMARY:event 2
+BEGIN:VALARM
+ACTION:AUDIO
+TRIGGER;RELATED=START:-PT10M
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+UID:user01-uid-2
+RECURRENCE-ID;TZID=US/Eastern:20060103T080000
+DTSTART;TZID=US/Eastern:20060103T090000
+DURATION:PT1H
+DTSTAMP:20051222T210310Z
+SUMMARY:event 2
+TRANSP:OPAQUE
+END:VEVENT
+BEGIN:VEVENT
+UID:user01-uid-2
+RECURRENCE-ID;TZID=US/Eastern:20060102T080000
+DTSTART;TZID=US/Eastern:20060102T080000
+DURATION:PT1H
+DTSTAMP:20051222T210310Z
+SUMMARY:event 2
+TRANSP:TRANSPARENT
+BEGIN:VALARM
+ACTION:AUDIO
+TRIGGER;RELATED=START:-PT20M
+END:VALARM
+END:VEVENT
+END:VCALENDAR
Added: CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/complex-change02/3.ics
===================================================================
--- CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/complex-change02/3.ics (rev 0)
+++ CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/complex-change02/3.ics 2010-03-26 01:46:48 UTC (rev 5403)
@@ -0,0 +1,38 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//PYVOBJECT//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:user01-uid-2
+DTSTART;TZID=US/Eastern:20060101T080000
+DURATION:PT1H
+RRULE:FREQ=DAILY;COUNT=10
+DTSTAMP:20051222T210310Z
+SUMMARY:event 2
+END:VEVENT
+BEGIN:VEVENT
+UID:user01-uid-2
+RECURRENCE-ID;TZID=US/Eastern:20060103T080000
+DTSTART;TZID=US/Eastern:20060103T090000
+DURATION:PT1H
+DTSTAMP:20051222T210310Z
+SUMMARY:event 2
+END:VEVENT
+END:VCALENDAR
Added: CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/complex-put/1.ics
===================================================================
--- CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/complex-put/1.ics (rev 0)
+++ CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/complex-put/1.ics 2010-03-26 01:46:48 UTC (rev 5403)
@@ -0,0 +1,56 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//PYVOBJECT//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:user01-uid-2
+DTSTART;TZID=US/Eastern:20060101T080000
+DURATION:PT1H
+RRULE:FREQ=DAILY;COUNT=10
+DTSTAMP:20051222T210310Z
+SUMMARY:event 2
+BEGIN:VALARM
+ACTION:AUDIO
+TRIGGER;RELATED=START:-PT10M
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+UID:user01-uid-2
+RECURRENCE-ID;TZID=US/Eastern:20060102T080000
+DTSTART;TZID=US/Eastern:20060102T080000
+DURATION:PT1H
+DTSTAMP:20051222T210310Z
+SUMMARY:event 2
+TRANSP:TRANSPARENT
+BEGIN:VALARM
+ACTION:AUDIO
+TRIGGER;RELATED=START:-PT20M
+END:VALARM
+END:VEVENT
+BEGIN:VEVENT
+UID:user01-uid-2
+RECURRENCE-ID;TZID=US/Eastern:20060103T080000
+DTSTART;TZID=US/Eastern:20060103T090000
+DURATION:PT1H
+DTSTAMP:20051222T210310Z
+SUMMARY:event 2
+TRANSP:OPAQUE
+END:VEVENT
+END:VCALENDAR
Added: CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/complex-put/2.ics
===================================================================
--- CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/complex-put/2.ics (rev 0)
+++ CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/complex-put/2.ics 2010-03-26 01:46:48 UTC (rev 5403)
@@ -0,0 +1,38 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//PYVOBJECT//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:user01-uid-2
+DTSTART;TZID=US/Eastern:20060101T080000
+DURATION:PT1H
+RRULE:FREQ=DAILY;COUNT=10
+DTSTAMP:20051222T210310Z
+SUMMARY:event 2
+END:VEVENT
+BEGIN:VEVENT
+UID:user01-uid-2
+RECURRENCE-ID;TZID=US/Eastern:20060103T080000
+DTSTART;TZID=US/Eastern:20060103T090000
+DURATION:PT1H
+DTSTAMP:20051222T210310Z
+SUMMARY:event 2
+END:VEVENT
+END:VCALENDAR
Added: CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-change01/1.ics
===================================================================
--- CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-change01/1.ics (rev 0)
+++ CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-change01/1.ics 2010-03-26 01:46:48 UTC (rev 5403)
@@ -0,0 +1,33 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//PYVOBJECT//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:user01-uid
+DTSTART;TZID=US/Eastern:20060101T180000
+DURATION:PT1H
+DTSTAMP:20051222T210310Z
+SUMMARY:event 1.1
+BEGIN:VALARM
+ACTION:AUDIO
+TRIGGER;RELATED=START:-PT5M
+END:VALARM
+END:VEVENT
+END:VCALENDAR
Added: CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-change01/2.ics
===================================================================
--- CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-change01/2.ics (rev 0)
+++ CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-change01/2.ics 2010-03-26 01:46:48 UTC (rev 5403)
@@ -0,0 +1,29 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//PYVOBJECT//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:user01-uid
+DTSTART;TZID=US/Eastern:20060101T180000
+DURATION:PT1H
+DTSTAMP:20051222T210310Z
+SUMMARY:event 1.1
+END:VEVENT
+END:VCALENDAR
Added: CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-change02/1.ics
===================================================================
--- CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-change02/1.ics (rev 0)
+++ CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-change02/1.ics 2010-03-26 01:46:48 UTC (rev 5403)
@@ -0,0 +1,34 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//PYVOBJECT//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:user01-uid
+DTSTART;TZID=US/Eastern:20060101T180000
+DURATION:PT1H
+DTSTAMP:20051222T210310Z
+SUMMARY:event 1.2
+TRANSP:TRANSPARENT
+BEGIN:VALARM
+ACTION:AUDIO
+TRIGGER;RELATED=START:-PT15M
+END:VALARM
+END:VEVENT
+END:VCALENDAR
Added: CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-change02/2.ics
===================================================================
--- CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-change02/2.ics (rev 0)
+++ CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-change02/2.ics 2010-03-26 01:46:48 UTC (rev 5403)
@@ -0,0 +1,33 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//PYVOBJECT//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:user01-uid
+DTSTART;TZID=US/Eastern:20060101T180000
+DURATION:PT1H
+DTSTAMP:20051222T210310Z
+SUMMARY:event 1.2
+BEGIN:VALARM
+ACTION:AUDIO
+TRIGGER;RELATED=START:-PT5M
+END:VALARM
+END:VEVENT
+END:VCALENDAR
Added: CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-change02/3.ics
===================================================================
--- CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-change02/3.ics (rev 0)
+++ CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-change02/3.ics 2010-03-26 01:46:48 UTC (rev 5403)
@@ -0,0 +1,29 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//PYVOBJECT//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:user01-uid
+DTSTART;TZID=US/Eastern:20060101T180000
+DURATION:PT1H
+DTSTAMP:20051222T210310Z
+SUMMARY:event 1.2
+END:VEVENT
+END:VCALENDAR
Added: CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-freebusy/1.ics
===================================================================
--- CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-freebusy/1.ics (rev 0)
+++ CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-freebusy/1.ics 2010-03-26 01:46:48 UTC (rev 5403)
@@ -0,0 +1,16 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+METHOD:REQUEST
+BEGIN:VFREEBUSY
+UID:20060110T231240Z-4011c71-187-6f73-fb
+ORGANIZER;CN=$username1::$cuaddr1:
+ATTENDEE;CN=$username1::$cuaddr1:
+ATTENDEE;CN=$username2::$cuaddr2:
+ATTENDEE;CN=$username3::$cuaddr3:
+DTSTART:20060101T000000Z
+DTSTAMP:20060309T185105Z
+DTEND:20060105T000000Z
+END:VFREEBUSY
+END:VCALENDAR
Added: CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-freebusy/2.ics
===================================================================
--- CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-freebusy/2.ics (rev 0)
+++ CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-freebusy/2.ics 2010-03-26 01:46:48 UTC (rev 5403)
@@ -0,0 +1,16 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+METHOD:REQUEST
+BEGIN:VFREEBUSY
+UID:20060110T231240Z-4011c71-187-6f73-fb
+ORGANIZER;CN=$username2::$cuaddr2:
+ATTENDEE;CN=$username1::$cuaddr1:
+ATTENDEE;CN=$username2::$cuaddr2:
+ATTENDEE;CN=$username3::$cuaddr3:
+DTSTART:20060101T000000Z
+DTSTAMP:20060309T185105Z
+DTEND:20060105T000000Z
+END:VFREEBUSY
+END:VCALENDAR
Added: CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-freebusy/3.ics
===================================================================
--- CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-freebusy/3.ics (rev 0)
+++ CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-freebusy/3.ics 2010-03-26 01:46:48 UTC (rev 5403)
@@ -0,0 +1,16 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+METHOD:REQUEST
+BEGIN:VFREEBUSY
+UID:20060110T231240Z-4011c71-187-6f73-fb
+ORGANIZER;CN=$username3::$cuaddr3:
+ATTENDEE;CN=$username1::$cuaddr1:
+ATTENDEE;CN=$username2::$cuaddr2:
+ATTENDEE;CN=$username3::$cuaddr3:
+DTSTART:20060101T000000Z
+DTSTAMP:20060309T185105Z
+DTEND:20060105T000000Z
+END:VFREEBUSY
+END:VCALENDAR
Added: CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-put/1.ics
===================================================================
--- CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-put/1.ics (rev 0)
+++ CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-put/1.ics 2010-03-26 01:46:48 UTC (rev 5403)
@@ -0,0 +1,33 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//PYVOBJECT//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:user01-uid
+DTSTART;TZID=US/Eastern:20060101T180000
+DURATION:PT1H
+DTSTAMP:20051222T210310Z
+SUMMARY:event 1
+BEGIN:VALARM
+ACTION:AUDIO
+TRIGGER;RELATED=START:-PT10M
+END:VALARM
+END:VEVENT
+END:VCALENDAR
Added: CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-put/2.ics
===================================================================
--- CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-put/2.ics (rev 0)
+++ CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/CalDAV/sharing/peruser-data/simple-put/2.ics 2010-03-26 01:46:48 UTC (rev 5403)
@@ -0,0 +1,29 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//PYVOBJECT//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:user01-uid
+DTSTART;TZID=US/Eastern:20060101T180000
+DURATION:PT1H
+DTSTAMP:20051222T210310Z
+SUMMARY:event 1
+END:VEVENT
+END:VCALENDAR
Added: CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/Common/POST/sharinginvite23.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/Common/POST/sharinginvite23.xml (rev 0)
+++ CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/Common/POST/sharinginvite23.xml 2010-03-26 01:46:48 UTC (rev 5403)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<CS:share xmlns:D="DAV:" xmlns:CS="http://calendarserver.org/ns/">
+ <CS:set>
+ <D:href>mailto:user02 at example.com</D:href>
+ <CS:summary>My Shared Calendar</CS:summary>
+ <CS:read-write/>
+ </CS:set>
+ <CS:set>
+ <D:href>mailto:user03 at example.com</D:href>
+ <CS:summary>My Shared Calendar</CS:summary>
+ <CS:read/>
+ </CS:set>
+</CS:share>
Added: CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/Common/POST/sharingreply2.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/Common/POST/sharingreply2.xml (rev 0)
+++ CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/Common/POST/sharingreply2.xml 2010-03-26 01:46:48 UTC (rev 5403)
@@ -0,0 +1,10 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<invite-reply xmlns='http://calendarserver.org/ns/'>
+ <href xmlns='DAV:'>/principals/__uids__/user02/</href>
+ <invite-accepted/>
+ <hosturl>
+ <href xmlns='DAV:'>/calendars/__uids__/user01/shared</href>
+ </hosturl>
+ <in-reply-to>$inviteuid2:</in-reply-to>
+ <summary>The Shared Calendar</summary>
+</invite-reply>
Added: CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/Common/POST/sharingreply3.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/Common/POST/sharingreply3.xml (rev 0)
+++ CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/Common/POST/sharingreply3.xml 2010-03-26 01:46:48 UTC (rev 5403)
@@ -0,0 +1,10 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<invite-reply xmlns='http://calendarserver.org/ns/'>
+ <href xmlns='DAV:'>/principals/__uids__/user03/</href>
+ <invite-accepted/>
+ <hosturl>
+ <href xmlns='DAV:'>/calendars/__uids__/user01/shared</href>
+ </hosturl>
+ <in-reply-to>$inviteuid3:</in-reply-to>
+ <summary>The Shared Calendar</summary>
+</invite-reply>
Added: CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/Common/PROPPATCH/calendar-transp-opaque.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/Common/PROPPATCH/calendar-transp-opaque.xml (rev 0)
+++ CalDAVTester/branches/users/cdaboo/sharing-5228/Resource/Common/PROPPATCH/calendar-transp-opaque.xml 2010-03-26 01:46:48 UTC (rev 5403)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<D:propertyupdate xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
+<D:set>
+<D:prop>
+<C:schedule-calendar-transp><C:opaque/></C:schedule-calendar-transp>
+</D:prop>
+</D:set>
+</D:propertyupdate>
Added: CalDAVTester/branches/users/cdaboo/sharing-5228/scripts/tests/CalDAV/sharing-create.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/sharing-5228/scripts/tests/CalDAV/sharing-create.xml (rev 0)
+++ CalDAVTester/branches/users/cdaboo/sharing-5228/scripts/tests/CalDAV/sharing-create.xml 2010-03-26 01:46:48 UTC (rev 5403)
@@ -0,0 +1,161 @@
+<?xml version="1.0" standalone="no"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006-2010 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 ignore-all='yes'>
+ <description>Test calendar sharing replies</description>
+
+ <require-feature>
+ <feature>caldav</feature>
+ <feature>shared-calendars</feature>
+ </require-feature>
+
+ <start/>
+
+ <test-suite name='Create calendar' ignore='no'>
+ <test name='1' ignore='no'>
+ <description>POST invitation</description>
+ <request end-delete="no">
+ <method>MKCALENDAR</method>
+ <ruri>$pathprefix1:/shared/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/Common/MKCALENDAR/sharedcalendar.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+ <test-suite name='Generate invite' ignore='no'>
+ <test name='1' ignore='no'>
+ <description>POST invitation</description>
+ <request print-response='no'>
+ <method>POST</method>
+ <ruri>$pathprefix1:/shared/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/CalDAV/sharing/replies/accept/1.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ <test name='2'>
+ <description>Check Sharee notification collection</description>
+ <request user="$userid2:" pswd="$pswd2:" print-response='no'>
+ <method>WAITCOUNT 1</method>
+ <ruri>$notificationpath2:/</ruri>
+ </request>
+ <request user="$userid2:" pswd="$pswd2:" print-response='no'>
+ <method>GETNEW</method>
+ <ruri>$notificationpath2:/</ruri>
+ <verify>
+ <callback>xmlDataMatch</callback>
+ <arg>
+ <name>filepath</name>
+ <value>Resource/CalDAV/sharing/replies/accept/2.xml</value>
+ </arg>
+ <arg>
+ <name>filter</name>
+ <value>{http://calendarserver.org/ns/}dtstamp</value>
+ <value>{http://calendarserver.org/ns/}uid</value>
+ </arg>
+ </verify>
+ <grabelement>
+ <name>{http://calendarserver.org/ns/}invite-notification/{http://calendarserver.org/ns/}uid</name>
+ <variable>$inviteuid:</variable>
+ </grabelement>
+ </request>
+ </test>
+ </test-suite>
+
+ <test-suite name='Accept' ignore='no'>
+ <test name='1'>
+ <description>Sharee replies ACCEPTED</description>
+ <request user="$userid2:" pswd="$pswd2:" print-response='no'>
+ <method>GETNEW</method>
+ <ruri>$notificationpath2:/</ruri>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ <grabelement>
+ <name>{http://calendarserver.org/ns/}invite-notification/{http://calendarserver.org/ns/}uid</name>
+ <variable>$inviteuid:</variable>
+ </grabelement>
+ </request>
+ <request user="$userid2:" pswd="$pswd2:" print-response='no'>
+ <method>POST</method>
+ <ruri>$pathprefix2:/</ruri>
+ <data substitutions='yes'>
+ <content-type>application/xml; charset=utf-8</content-type>
+ <filepath>Resource/CalDAV/sharing/replies/accept/3.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ <test name='2' ignore='no'>
+ <description>Check accept status</description>
+ <request print-response='no'>
+ <method>PROPFIND</method>
+ <ruri>$pathprefix1:/shared/</ruri>
+ <header>
+ <name>Depth</name>
+ <value>0</value>
+ </header>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/CalDAV/sharing/replies/accept/4.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ </test>
+ <test name='3'>
+ <description>Check Sharer notification collection</description>
+ <request>
+ <method>WAITCOUNT 1</method>
+ <ruri>$notificationpath1:/</ruri>
+ </request>
+ <request print-response='no'>
+ <method>GETNEW</method>
+ <ruri>$notificationpath1:/</ruri>
+ <verify>
+ <callback>xmlDataMatch</callback>
+ <arg>
+ <name>filepath</name>
+ <value>Resource/CalDAV/sharing/replies/accept/6.xml</value>
+ </arg>
+ <arg>
+ <name>filter</name>
+ <value>{http://calendarserver.org/ns/}dtstamp</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <end/>
+
+</caldavtest>
Added: CalDAVTester/branches/users/cdaboo/sharing-5228/scripts/tests/CalDAV/sharing-peruser-data.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/sharing-5228/scripts/tests/CalDAV/sharing-peruser-data.xml (rev 0)
+++ CalDAVTester/branches/users/cdaboo/sharing-5228/scripts/tests/CalDAV/sharing-peruser-data.xml 2010-03-26 01:46:48 UTC (rev 5403)
@@ -0,0 +1,657 @@
+<?xml version="1.0" standalone="no"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006-2010 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 ignore-all='no'>
+ <description>Test calendar sharing per-user data</description>
+
+ <require-feature>
+ <feature>caldav</feature>
+ <feature>shared-calendars</feature>
+ </require-feature>
+
+ <start>
+ <request end-delete="yes">
+ <method>MKCALENDAR</method>
+ <ruri>$pathprefix1:/shared/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/Common/MKCALENDAR/sharedcalendar.xml</filepath>
+ </data>
+ </request>
+ <request print-response='no'>
+ <method>POST</method>
+ <ruri>$pathprefix1:/shared/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/Common/POST/sharinginvite23.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ <request user="$userid2:" pswd="$pswd2:" print-response='no'>
+ <method>WAITCOUNT 1</method>
+ <ruri>$notificationpath2:/</ruri>
+ </request>
+ <request user="$userid2:" pswd="$pswd2:" print-response='no'>
+ <method>GETNEW</method>
+ <ruri>$notificationpath2:/</ruri>
+ <grabelement>
+ <name>{http://calendarserver.org/ns/}invite-notification/{http://calendarserver.org/ns/}uid</name>
+ <variable>$inviteuid2:</variable>
+ </grabelement>
+ </request>
+ <request user="$userid2:" pswd="$pswd2:" print-response='no'>
+ <method>POST</method>
+ <ruri>$pathprefix2:/</ruri>
+ <data substitutions='yes'>
+ <content-type>application/xml; charset=utf-8</content-type>
+ <filepath>Resource/Common/POST/sharingreply2.xml</filepath>
+ </data>
+ <grabelement>
+ <name>{DAV:}href</name>
+ <variable>$sharedcalendar2:</variable>
+ </grabelement>
+ </request>
+ <request user="$userid3:" pswd="$pswd3:" print-response='no'>
+ <method>WAITCOUNT 1</method>
+ <ruri>$notificationpath3:/</ruri>
+ </request>
+ <request user="$userid3:" pswd="$pswd3:" print-response='no'>
+ <method>GETNEW</method>
+ <ruri>$notificationpath3:/</ruri>
+ <grabelement>
+ <name>{http://calendarserver.org/ns/}invite-notification/{http://calendarserver.org/ns/}uid</name>
+ <variable>$inviteuid3:</variable>
+ </grabelement>
+ </request>
+ <request user="$userid3:" pswd="$pswd3:" print-response='no'>
+ <method>POST</method>
+ <ruri>$pathprefix3:/</ruri>
+ <data substitutions='yes'>
+ <content-type>application/xml; charset=utf-8</content-type>
+ <filepath>Resource/Common/POST/sharingreply3.xml</filepath>
+ </data>
+ <grabelement>
+ <name>{DAV:}href</name>
+ <variable>$sharedcalendar3:</variable>
+ </grabelement>
+ </request>
+ </start>
+
+ <test-suite name='Initial event' ignore='no'>
+ <test name='1' ignore='no'>
+ <description>User01 store to shared</description>
+ <request user="$userid1:" pswd="$pswd1:" print-response="no">
+ <method>PUT</method>
+ <ruri>$pathprefix1:/shared/1.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/CalDAV/sharing/peruser-data/simple-put/1.ics</filepath>
+ </data>
+ </request>
+ </test>
+ <test name='2' ignore='no'>
+ <description>User02 sees event</description>
+ <request user="$userid2:" pswd="$pswd2:" print-response="no">
+ <method>GETNEW</method>
+ <ruri>$sharedcalendar2:/</ruri>
+ <verify>
+ <callback>calendarDataMatch</callback>
+ <arg>
+ <name>filepath</name>
+ <value>Resource/CalDAV/sharing/peruser-data/simple-put/2.ics</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='3' ignore='no'>
+ <description>User03 sees event</description>
+ <request user="$userid3:" pswd="$pswd3:" print-response="no">
+ <method>GETNEW</method>
+ <ruri>$sharedcalendar3:/</ruri>
+ <verify>
+ <callback>calendarDataMatch</callback>
+ <arg>
+ <name>filepath</name>
+ <value>Resource/CalDAV/sharing/peruser-data/simple-put/2.ics</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <test-suite name='User01 changed event' ignore='no'>
+ <test name='1' ignore='no'>
+ <description>User01 store to shared</description>
+ <request user="$userid1:" pswd="$pswd1:" print-response="no">
+ <method>PUT</method>
+ <ruri>$pathprefix1:/shared/1.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/CalDAV/sharing/peruser-data/simple-change01/1.ics</filepath>
+ </data>
+ </request>
+ </test>
+ <test name='2' ignore='no'>
+ <description>User02 sees event</description>
+ <request user="$userid2:" pswd="$pswd2:" print-response="no">
+ <method>GETNEW</method>
+ <ruri>$sharedcalendar2:/</ruri>
+ <verify>
+ <callback>calendarDataMatch</callback>
+ <arg>
+ <name>filepath</name>
+ <value>Resource/CalDAV/sharing/peruser-data/simple-change01/2.ics</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='3' ignore='no'>
+ <description>User03 sees event</description>
+ <request user="$userid3:" pswd="$pswd3:" print-response="no">
+ <method>GETNEW</method>
+ <ruri>$sharedcalendar3:/</ruri>
+ <verify>
+ <callback>calendarDataMatch</callback>
+ <arg>
+ <name>filepath</name>
+ <value>Resource/CalDAV/sharing/peruser-data/simple-change01/2.ics</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <test-suite name='User02 changed event' ignore='no'>
+ <test name='1' ignore='no'>
+ <description>User02 store to shared</description>
+ <request user="$userid2:" pswd="$pswd2:" print-response="no">
+ <method>PUT</method>
+ <ruri>$sharedcalendar2:/1.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/CalDAV/sharing/peruser-data/simple-change02/1.ics</filepath>
+ </data>
+ </request>
+ </test>
+ <test name='2' ignore='no'>
+ <description>User01 sees event</description>
+ <request user="$userid1:" pswd="$pswd1:" print-response="no">
+ <method>GET</method>
+ <ruri>$pathprefix1:/shared/1.ics</ruri>
+ <verify>
+ <callback>calendarDataMatch</callback>
+ <arg>
+ <name>filepath</name>
+ <value>Resource/CalDAV/sharing/peruser-data/simple-change02/2.ics</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='3' ignore='no'>
+ <description>User03 sees event</description>
+ <request user="$userid3:" pswd="$pswd3:" print-response="no">
+ <method>GETNEW</method>
+ <ruri>$sharedcalendar3:/</ruri>
+ <verify>
+ <callback>calendarDataMatch</callback>
+ <arg>
+ <name>filepath</name>
+ <value>Resource/CalDAV/sharing/peruser-data/simple-change02/3.ics</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <test-suite name='Different freebusy' ignore='no'>
+ <test name='1'>
+ <description>Set properties on new calendars</description>
+ <request print-response='no'>
+ <method>PROPPATCH</method>
+ <ruri>$pathprefix1:/shared/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/Common/PROPPATCH/calendar-transp-opaque.xml</filepath>
+ </data>
+ <verify>
+ <callback>propfindItems</callback>
+ <arg>
+ <name>okprops</name>
+ <value>urn:ietf:params:xml:ns:caldavschedule-calendar-transp</value>
+ </arg>
+ </verify>
+ </request>
+ <request user="$userid2:" pswd="$pswd2:" print-response="no">
+ <method>PROPPATCH</method>
+ <ruri>$sharedcalendar2:/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/Common/PROPPATCH/calendar-transp-opaque.xml</filepath>
+ </data>
+ <verify>
+ <callback>propfindItems</callback>
+ <arg>
+ <name>okprops</name>
+ <value>urn:ietf:params:xml:ns:caldavschedule-calendar-transp</value>
+ </arg>
+ </verify>
+ </request>
+ <request user="$userid3:" pswd="$pswd3:" print-response="no">
+ <method>PROPPATCH</method>
+ <ruri>$sharedcalendar3:/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/Common/PROPPATCH/calendar-transp-opaque.xml</filepath>
+ </data>
+ <verify>
+ <callback>propfindItems</callback>
+ <arg>
+ <name>okprops</name>
+ <value>urn:ietf:params:xml:ns:caldavschedule-calendar-transp</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='2' ignore='no'>
+ <description>User01 freebusy</description>
+ <request print-response='no'>
+ <method>POST</method>
+ <ruri>$outboxpath1:/</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/CalDAV/sharing/peruser-data/simple-freebusy/1.ics</filepath>
+ </data>
+ <verify>
+ <callback>postFreeBusy</callback>
+ <arg>
+ <name>attendee</name>
+ <value>$cuaddr1:</value>
+ </arg>
+ <arg>
+ <name>busy</name>
+ <value>20060101T230000Z/20060102T000000Z</value>
+ </arg>
+ </verify>
+ <verify>
+ <callback>postFreeBusy</callback>
+ <arg>
+ <name>attendee</name>
+ <value>$cuaddr2:</value>
+ </arg>
+ </verify>
+ <verify>
+ <callback>postFreeBusy</callback>
+ <arg>
+ <name>attendee</name>
+ <value>$cuaddr3:</value>
+ </arg>
+ <arg>
+ <name>busy</name>
+ <value>20060101T230000Z/20060102T000000Z</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='3' ignore='no'>
+ <description>User02 freebusy</description>
+ <request user="$userid2:" pswd="$pswd2:" print-response="no">
+ <method>POST</method>
+ <ruri>$outboxpath2:/</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/CalDAV/sharing/peruser-data/simple-freebusy/2.ics</filepath>
+ </data>
+ <verify>
+ <callback>postFreeBusy</callback>
+ <arg>
+ <name>attendee</name>
+ <value>$cuaddr1:</value>
+ </arg>
+ <arg>
+ <name>busy</name>
+ <value>20060101T230000Z/20060102T000000Z</value>
+ </arg>
+ </verify>
+ <verify>
+ <callback>postFreeBusy</callback>
+ <arg>
+ <name>attendee</name>
+ <value>$cuaddr2:</value>
+ </arg>
+ </verify>
+ <verify>
+ <callback>postFreeBusy</callback>
+ <arg>
+ <name>attendee</name>
+ <value>$cuaddr3:</value>
+ </arg>
+ <arg>
+ <name>busy</name>
+ <value>20060101T230000Z/20060102T000000Z</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='4' ignore='no'>
+ <description>User03 freebusy</description>
+ <request user="$userid3:" pswd="$pswd3:" print-response="no">
+ <method>POST</method>
+ <ruri>$outboxpath3:/</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/CalDAV/sharing/peruser-data/simple-freebusy/3.ics</filepath>
+ </data>
+ <verify>
+ <callback>postFreeBusy</callback>
+ <arg>
+ <name>attendee</name>
+ <value>$cuaddr1:</value>
+ </arg>
+ <arg>
+ <name>busy</name>
+ <value>20060101T230000Z/20060102T000000Z</value>
+ </arg>
+ </verify>
+ <verify>
+ <callback>postFreeBusy</callback>
+ <arg>
+ <name>attendee</name>
+ <value>$cuaddr2:</value>
+ </arg>
+ </verify>
+ <verify>
+ <callback>postFreeBusy</callback>
+ <arg>
+ <name>attendee</name>
+ <value>$cuaddr3:</value>
+ </arg>
+ <arg>
+ <name>busy</name>
+ <value>20060101T230000Z/20060102T000000Z</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <test-suite name='User01 complex recurring store' ignore='no'>
+ <test name='1' ignore='no'>
+ <description>User01 store to shared</description>
+ <request user="$userid1:" pswd="$pswd1:" print-response="no">
+ <method>PUT</method>
+ <ruri>$pathprefix1:/shared/2.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/CalDAV/sharing/peruser-data/complex-put/1.ics</filepath>
+ </data>
+ </request>
+ </test>
+ <test name='2' ignore='no'>
+ <description>User02 sees event</description>
+ <request user="$userid2:" pswd="$pswd2:" print-response="no">
+ <method>GETNEW</method>
+ <ruri>$sharedcalendar2:/</ruri>
+ <verify>
+ <callback>calendarDataMatch</callback>
+ <arg>
+ <name>filepath</name>
+ <value>Resource/CalDAV/sharing/peruser-data/complex-put/2.ics</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='3' ignore='no'>
+ <description>User03 sees event</description>
+ <request user="$userid3:" pswd="$pswd3:" print-response="no">
+ <method>GETNEW</method>
+ <ruri>$sharedcalendar3:/</ruri>
+ <verify>
+ <callback>calendarDataMatch</callback>
+ <arg>
+ <name>filepath</name>
+ <value>Resource/CalDAV/sharing/peruser-data/complex-put/2.ics</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <test-suite name='User02 complex recurring store' ignore='no'>
+ <test name='1' ignore='no'>
+ <description>User02 store to shared</description>
+ <request user="$userid2:" pswd="$pswd2:" print-response="no">
+ <method>PUT</method>
+ <ruri>$sharedcalendar2:/2.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/CalDAV/sharing/peruser-data/complex-change02/1.ics</filepath>
+ </data>
+ </request>
+ </test>
+ <test name='2' ignore='no'>
+ <description>User01 sees event</description>
+ <request user="$userid1:" pswd="$pswd1:" print-response="no">
+ <method>GET</method>
+ <ruri>$pathprefix1:/shared/2.ics</ruri>
+ <verify>
+ <callback>calendarDataMatch</callback>
+ <arg>
+ <name>filepath</name>
+ <value>Resource/CalDAV/sharing/peruser-data/complex-change02/2.ics</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='3' ignore='no'>
+ <description>User03 sees event</description>
+ <request user="$userid3:" pswd="$pswd3:" print-response="no">
+ <method>GETNEW</method>
+ <ruri>$sharedcalendar3:/</ruri>
+ <verify>
+ <callback>calendarDataMatch</callback>
+ <arg>
+ <name>filepath</name>
+ <value>Resource/CalDAV/sharing/peruser-data/complex-change02/3.ics</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <test-suite name='Complex freebusy' ignore='no'>
+ <test name='1' ignore='no'>
+ <description>User01 freebusy</description>
+ <request print-response='no'>
+ <method>POST</method>
+ <ruri>$outboxpath1:/</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/CalDAV/sharing/peruser-data/simple-freebusy/1.ics</filepath>
+ </data>
+ <verify>
+ <callback>postFreeBusy</callback>
+ <arg>
+ <name>attendee</name>
+ <value>$cuaddr1:</value>
+ </arg>
+ <arg>
+ <name>busy</name>
+ <value>20060101T130000Z/20060101T140000Z</value>
+ <value>20060101T230000Z/20060102T000000Z</value>
+ <value>20060103T140000Z/20060103T150000Z</value>
+ <value>20060104T130000Z/20060104T140000Z</value>
+ </arg>
+ </verify>
+ <verify>
+ <callback>postFreeBusy</callback>
+ <arg>
+ <name>attendee</name>
+ <value>$cuaddr2:</value>
+ </arg>
+ <arg>
+ <name>busy</name>
+ <value>20060101T130000Z/20060101T140000Z</value>
+ <value>20060102T130000Z/20060102T140000Z</value>
+ <value>20060104T130000Z/20060104T140000Z</value>
+ </arg>
+ </verify>
+ <verify>
+ <callback>postFreeBusy</callback>
+ <arg>
+ <name>attendee</name>
+ <value>$cuaddr3:</value>
+ </arg>
+ <arg>
+ <name>busy</name>
+ <value>20060101T130000Z/20060101T140000Z</value>
+ <value>20060101T230000Z/20060102T000000Z</value>
+ <value>20060102T130000Z/20060102T140000Z</value>
+ <value>20060103T140000Z/20060103T150000Z</value>
+ <value>20060104T130000Z/20060104T140000Z</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='2' ignore='no'>
+ <description>User02 freebusy</description>
+ <request user="$userid2:" pswd="$pswd2:" print-response="no">
+ <method>POST</method>
+ <ruri>$outboxpath2:/</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/CalDAV/sharing/peruser-data/simple-freebusy/2.ics</filepath>
+ </data>
+ <verify>
+ <callback>postFreeBusy</callback>
+ <arg>
+ <name>attendee</name>
+ <value>$cuaddr1:</value>
+ </arg>
+ <arg>
+ <name>busy</name>
+ <value>20060101T130000Z/20060101T140000Z</value>
+ <value>20060101T230000Z/20060102T000000Z</value>
+ <value>20060103T140000Z/20060103T150000Z</value>
+ <value>20060104T130000Z/20060104T140000Z</value>
+ </arg>
+ </verify>
+ <verify>
+ <callback>postFreeBusy</callback>
+ <arg>
+ <name>attendee</name>
+ <value>$cuaddr2:</value>
+ </arg>
+ <arg>
+ <name>busy</name>
+ <value>20060101T130000Z/20060101T140000Z</value>
+ <value>20060102T130000Z/20060102T140000Z</value>
+ <value>20060104T130000Z/20060104T140000Z</value>
+ </arg>
+ </verify>
+ <verify>
+ <callback>postFreeBusy</callback>
+ <arg>
+ <name>attendee</name>
+ <value>$cuaddr3:</value>
+ </arg>
+ <arg>
+ <name>busy</name>
+ <value>20060101T130000Z/20060101T140000Z</value>
+ <value>20060101T230000Z/20060102T000000Z</value>
+ <value>20060102T130000Z/20060102T140000Z</value>
+ <value>20060103T140000Z/20060103T150000Z</value>
+ <value>20060104T130000Z/20060104T140000Z</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='3' ignore='no'>
+ <description>User03 freebusy</description>
+ <request user="$userid3:" pswd="$pswd3:" print-response="no">
+ <method>POST</method>
+ <ruri>$outboxpath3:/</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/CalDAV/sharing/peruser-data/simple-freebusy/3.ics</filepath>
+ </data>
+ <verify>
+ <callback>postFreeBusy</callback>
+ <arg>
+ <name>attendee</name>
+ <value>$cuaddr1:</value>
+ </arg>
+ <arg>
+ <name>busy</name>
+ <value>20060101T130000Z/20060101T140000Z</value>
+ <value>20060101T230000Z/20060102T000000Z</value>
+ <value>20060103T140000Z/20060103T150000Z</value>
+ <value>20060104T130000Z/20060104T140000Z</value>
+ </arg>
+ </verify>
+ <verify>
+ <callback>postFreeBusy</callback>
+ <arg>
+ <name>attendee</name>
+ <value>$cuaddr2:</value>
+ </arg>
+ <arg>
+ <name>busy</name>
+ <value>20060101T130000Z/20060101T140000Z</value>
+ <value>20060102T130000Z/20060102T140000Z</value>
+ <value>20060104T130000Z/20060104T140000Z</value>
+ </arg>
+ </verify>
+ <verify>
+ <callback>postFreeBusy</callback>
+ <arg>
+ <name>attendee</name>
+ <value>$cuaddr3:</value>
+ </arg>
+ <arg>
+ <name>busy</name>
+ <value>20060101T130000Z/20060101T140000Z</value>
+ <value>20060101T230000Z/20060102T000000Z</value>
+ <value>20060102T130000Z/20060102T140000Z</value>
+ <value>20060103T140000Z/20060103T150000Z</value>
+ <value>20060104T130000Z/20060104T140000Z</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
+ <end>
+ <request>
+ <method>DELETEALL</method>
+ <ruri>$notificationpath1:/</ruri>
+ </request>
+ <request user="$userid2:" pswd="$pswd2:">
+ <method>DELETEALL</method>
+ <ruri>$notificationpath2:/</ruri>
+ </request>
+ <request user="$userid3:" pswd="$pswd3:">
+ <method>DELETEALL</method>
+ <ruri>$notificationpath3:/</ruri>
+ </request>
+ </end>
+
+</caldavtest>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100325/bee78dc2/attachment-0001.html>
More information about the calendarserver-changes
mailing list