[CalendarServer-changes] [5707] CalDAVTester/trunk/scripts/tests/CalDAV/sync-report.xml
source_changes at macosforge.org
source_changes at macosforge.org
Tue Jun 8 20:36:51 PDT 2010
Revision: 5707
http://trac.macosforge.org/projects/calendarserver/changeset/5707
Author: cdaboo at apple.com
Date: 2010-06-08 20:36:48 -0700 (Tue, 08 Jun 2010)
Log Message:
-----------
Add tests for sync REPORT on inbox.
Modified Paths:
--------------
CalDAVTester/trunk/scripts/tests/CalDAV/sync-report.xml
Modified: CalDAVTester/trunk/scripts/tests/CalDAV/sync-report.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/CalDAV/sync-report.xml 2010-06-09 03:33:17 UTC (rev 5706)
+++ CalDAVTester/trunk/scripts/tests/CalDAV/sync-report.xml 2010-06-09 03:36:48 UTC (rev 5707)
@@ -112,6 +112,28 @@
</verify>
</request>
</test>
+ <test name='3' ignore='no'>
+ <description>On inbox</description>
+ <request>
+ <method>PROPFIND</method>
+ <ruri>$inboxpath1:/</ruri>
+ <header>
+ <name>Depth</name>
+ <value>0</value>
+ </header>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/CalDAV/reports/sync/1.xml</filepath>
+ </data>
+ <verify>
+ <callback>propfindValues</callback>
+ <arg>
+ <name>props</name>
+ <value>DAV:supported-report-set$.*sync-collection.*</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
</test-suite>
<test-suite name='simple reports - empty token - no props' ignore='no'>
@@ -713,6 +735,26 @@
</test>
</test-suite>
+ <test-suite name='simple reports - empty inbox' ignore='no'>
+ <test name='1' ignore='no'>
+ <description>initial query</description>
+ <request print-response='no'>
+ <method>REPORT</method>
+ <ruri>$inboxpath1:/</ruri>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/CalDAV/reports/sync/2.xml</filepath>
+ </data>
+ <verify>
+ <callback>multistatusItems</callback>
+ <arg>
+ <name>okhrefs</name>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
<end/>
</caldavtest>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100608/66c3f303/attachment.html>
More information about the calendarserver-changes
mailing list