[CalendarServer-changes] [5888] CalDAVTester/trunk
source_changes at macosforge.org
source_changes at macosforge.org
Tue Jul 13 22:15:33 PDT 2010
Revision: 5888
http://trac.macosforge.org/projects/calendarserver/changeset/5888
Author: glyph at apple.com
Date: 2010-07-13 22:15:32 -0700 (Tue, 13 Jul 2010)
Log Message:
-----------
add an event to pair up with the dropbox
Modified Paths:
--------------
CalDAVTester/trunk/scripts/tests/CalDAV/calendaruserproxy.xml
Added Paths:
-----------
CalDAVTester/trunk/Resource/CalDAV/dropbox/2.ics
Added: CalDAVTester/trunk/Resource/CalDAV/dropbox/2.ics
===================================================================
--- CalDAVTester/trunk/Resource/CalDAV/dropbox/2.ics (rev 0)
+++ CalDAVTester/trunk/Resource/CalDAV/dropbox/2.ics 2010-07-14 05:15:32 UTC (rev 5888)
@@ -0,0 +1,37 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+DTSTAMP:20051222T205953Z
+CREATED:20060101T150000Z
+DTSTART;TZID=US/Eastern:20060101T100000
+DURATION:PT1H
+SUMMARY:event 1
+UID:event1 at ninevah.local
+ORGANIZER;CN=$username1::$cuaddr1:
+ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED:$cuaddr1:
+ATTENDEE;CN=$username2:;PARTSTAT=NEEDS-ACTION:$cuaddr2:
+ATTENDEE;CN=$username3:;PARTSTAT=NEEDS-ACTION:$cuaddr3:
+ATTACH;VALUE=URI:$host:$dropboxpath1:/ABCEFG/caldavd.plist
+X-APPLE-DROPBOX:$dropboxpath1:/ABCEFG
+END:VEVENT
+END:VCALENDAR
Modified: CalDAVTester/trunk/scripts/tests/CalDAV/calendaruserproxy.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/CalDAV/calendaruserproxy.xml 2010-07-14 04:50:41 UTC (rev 5887)
+++ CalDAVTester/trunk/scripts/tests/CalDAV/calendaruserproxy.xml 2010-07-14 05:15:32 UTC (rev 5888)
@@ -1295,6 +1295,22 @@
</test>
<test name='2'>
<description>Create drop box</description>
+ <request user="$userid2:" pswd="$pswd2:"
+ end-delete='yes'>
+ <method>PUT</method>
+ <ruri>$calendarpath1:/dropbox-abcefg.ics</ruri>
+ <verify>
+ <callback>statusCode</callback>
+ <arg>
+ <name>status</name>
+ <value>204</value>
+ </arg>
+ </verify>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/CalDAV/dropbox/1.ics</filepath>
+ </data>
+ </request>
<request user='$userid2:' pswd='$pswd2:'>
<method>MKCOL</method>
<ruri>$dropboxpath1:/ABCEFG/</ruri>
@@ -1347,6 +1363,22 @@
</test>
<test name='6'>
<description>Add user03 read privilege on collection</description>
+ <request user="$userid2:" pswd="$pswd2:"
+ end-delete='yes'>
+ <method>PUT</method>
+ <ruri>$calendarpath1:/dropbox-abcefg.ics</ruri>
+ <verify>
+ <callback>statusCode</callback>
+ <arg>
+ <name>status</name>
+ <value>204</value>
+ </arg>
+ </verify>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/CalDAV/dropbox/2.ics</filepath>
+ </data>
+ </request>
<request user='$userid2:' pswd='$pswd2:' >
<method>ACL</method>
<ruri>$dropboxpath1:/ABCEFG/</ruri>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100713/08e35d2c/attachment-0001.html>
More information about the calendarserver-changes
mailing list