[CalendarServer-changes] [3775] CalDAVTester/trunk
source_changes at macosforge.org
source_changes at macosforge.org
Mon Mar 2 09:58:26 PST 2009
Revision: 3775
http://trac.macosforge.org/projects/calendarserver/changeset/3775
Author: cdaboo at apple.com
Date: 2009-03-02 09:58:26 -0800 (Mon, 02 Mar 2009)
Log Message:
-----------
Test that an attendee's calendar data is not changed when another attendee sends a
private comment to the Organizer without a partstat change.
Modified Paths:
--------------
CalDAVTester/trunk/Resource/privatecomments/25.ics
CalDAVTester/trunk/scripts/tests/privatecomments.xml
Added Paths:
-----------
CalDAVTester/trunk/Resource/privatecomments/39.xml
Modified: CalDAVTester/trunk/Resource/privatecomments/25.ics
===================================================================
--- CalDAVTester/trunk/Resource/privatecomments/25.ics 2009-03-02 16:23:30 UTC (rev 3774)
+++ CalDAVTester/trunk/Resource/privatecomments/25.ics 2009-03-02 17:58:26 UTC (rev 3775)
@@ -1,7 +1,7 @@
BEGIN:VCALENDAR
VERSION:2.0
CALSCALE:GREGORIAN
-PRODID:-//CALENDARSERVER.ORG//NONSGML Version 1//EN
+PRODID:-//Example Inc.//Example Calendar//EN
BEGIN:VTIMEZONE
TZID:US/Eastern
LAST-MODIFIED:20040110T032845Z
@@ -29,7 +29,8 @@
ATTENDEE;CN=$username3:;PARTSTAT=ACCEPTED;X-CALENDARSERVER-EMAIL=$email3::$cuaddrurn3:
CREATED:20060101T150000Z
DTSTAMP:20051222T205953Z
-ORGANIZER;CN=$username1:;X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1:
+ORGANIZER;CN=$username1:;SCHEDULE-STATUS="1.2;Scheduling message has been deli
+ vered";X-CALENDARSERVER-EMAIL=$email1::$cuaddrurn1:
SUMMARY:event 1
X-CALENDARSERVER-PRIVATE-COMMENT:Hey this looks cool
END:VEVENT
Added: CalDAVTester/trunk/Resource/privatecomments/39.xml
===================================================================
--- CalDAVTester/trunk/Resource/privatecomments/39.xml (rev 0)
+++ CalDAVTester/trunk/Resource/privatecomments/39.xml 2009-03-02 17:58:26 UTC (rev 3775)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<D:propfind xmlns:D="DAV:">
+<D:prop>
+<D:getlastmodified/>
+</D:prop>
+</D:propfind>
Modified: CalDAVTester/trunk/scripts/tests/privatecomments.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/privatecomments.xml 2009-03-02 16:23:30 UTC (rev 3774)
+++ CalDAVTester/trunk/scripts/tests/privatecomments.xml 2009-03-02 17:58:26 UTC (rev 3775)
@@ -417,6 +417,21 @@
</arg>
</verify>
</request>
+ <request user="$userid3:" pswd="$pswd3:" print-response='no'>
+ <method>PROPFIND</method>
+ <ruri>$</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/privatecomments/39.xml</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ <grabproperty>
+ <property>DAV:getlastmodified</property>
+ <variable>$attendee2-getlastmodified:</variable>
+ </grabproperty>
+ </request>
</test>
</test-suite>
@@ -522,7 +537,7 @@
</request>
</test>
<test name='6'>
- <description>Attendee 2 data changed</description>
+ <description>Attendee 2 data unchanged</description>
<request user="$userid3:" pswd="$pswd3:" print-response='no'>
<method>GETNEW</method>
<ruri>$calendarpath3:/</ruri>
@@ -534,6 +549,21 @@
</arg>
</verify>
</request>
+ <request user="$userid3:" pswd="$pswd3:" print-response='no'>
+ <method>PROPFIND</method>
+ <ruri>$</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/privatecomments/39.xml</filepath>
+ </data>
+ <verify>
+ <callback>propfindItems</callback>
+ <arg>
+ <name>okprops</name>
+ <value>DAV:getlastmodified$$attendee2-getlastmodified:</value>
+ </arg>
+ </verify>
+ </request>
</test>
</test-suite>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090302/6f906cfd/attachment-0001.html>
More information about the calendarserver-changes
mailing list