[CalendarServer-changes] [7823] CalDAVTester/trunk
source_changes at macosforge.org
source_changes at macosforge.org
Mon Jul 25 07:33:46 PDT 2011
Revision: 7823
http://trac.macosforge.org/projects/calendarserver/changeset/7823
Author: cdaboo at apple.com
Date: 2011-07-25 07:33:44 -0700 (Mon, 25 Jul 2011)
Log Message:
-----------
Test VTODO indexing when only COMPLETED is present.
Modified Paths:
--------------
CalDAVTester/trunk/scripts/tests/CalDAV/put.xml
Added Paths:
-----------
CalDAVTester/trunk/Resource/CalDAV/todo/12.ics
Added: CalDAVTester/trunk/Resource/CalDAV/todo/12.ics
===================================================================
--- CalDAVTester/trunk/Resource/CalDAV/todo/12.ics (rev 0)
+++ CalDAVTester/trunk/Resource/CalDAV/todo/12.ics 2011-07-25 14:33:44 UTC (rev 7823)
@@ -0,0 +1,12 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTODO
+DTSTAMP:20060313T145305Z
+COMPLETED:20060313T180000Z
+STATUS:COMPLETED
+SUMMARY:Task #5
+UID:7BC9FFBA66695DD1FA345FCC-05 at example.local
+END:VTODO
+END:VCALENDAR
Modified: CalDAVTester/trunk/scripts/tests/CalDAV/put.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/CalDAV/put.xml 2011-07-22 20:41:04 UTC (rev 7822)
+++ CalDAVTester/trunk/scripts/tests/CalDAV/put.xml 2011-07-25 14:33:44 UTC (rev 7823)
@@ -216,6 +216,31 @@
</verify>
</request>
</test>
+ <test name='5' ignore='no'>
+ <description>Plain VTODO with COMPLETED only</description>
+ <request end-delete='yes'>
+ <method>PUT</method>
+ <ruri>$calendarpath1:/5todo.ics</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/CalDAV/todo/12.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ </verify>
+ </request>
+ <request>
+ <method>GET</method>
+ <ruri>$calendarpath1:/5todo.ics</ruri>
+ <verify>
+ <callback>calendarDataMatch</callback>
+ <arg>
+ <name>filepath</name>
+ <value>Resource/CalDAV/todo/12.ics</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
</test-suite>
<test-suite name='Problem VEVENTs - EXDATE & various combinations of date-time/date values' ignore='no'>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110725/74880c6b/attachment.html>
More information about the calendarserver-changes
mailing list