[CalendarServer-changes] [10319] CalDAVTester/trunk
source_changes at macosforge.org
source_changes at macosforge.org
Thu Jan 24 11:34:25 PST 2013
Revision: 10319
http://trac.calendarserver.org//changeset/10319
Author: cdaboo at apple.com
Date: 2013-01-24 11:34:24 -0800 (Thu, 24 Jan 2013)
Log Message:
-----------
Test case for an invalid sync token.
Modified Paths:
--------------
CalDAVTester/trunk/scripts/tests/CalDAV/sync-report.xml
Added Paths:
-----------
CalDAVTester/trunk/Resource/CalDAV/reports/sync/11.xml
Added: CalDAVTester/trunk/Resource/CalDAV/reports/sync/11.xml
===================================================================
--- CalDAVTester/trunk/Resource/CalDAV/reports/sync/11.xml (rev 0)
+++ CalDAVTester/trunk/Resource/CalDAV/reports/sync/11.xml 2013-01-24 19:34:24 UTC (rev 10319)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<D:sync-collection xmlns:D="DAV:">
+<D:sync-token>null</D:sync-token>
+<D:prop>
+<D:getetag/>
+</D:prop>
+</D:sync-collection>
Modified: CalDAVTester/trunk/scripts/tests/CalDAV/sync-report.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/CalDAV/sync-report.xml 2013-01-24 00:53:56 UTC (rev 10318)
+++ CalDAVTester/trunk/scripts/tests/CalDAV/sync-report.xml 2013-01-24 19:34:24 UTC (rev 10319)
@@ -2707,6 +2707,31 @@
</test>
</test-suite>
+ <test-suite name='simple reports - valid token' ignore='no'>
+ <test name='1' ignore='no'>
+ <description>initial query</description>
+ <request print-response='no'>
+ <method>REPORT</method>
+ <ruri>$calendarpath1:/</ruri>
+ <header>
+ <name>Depth</name>
+ <value>1</value>
+ </header>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/CalDAV/reports/sync/11.xml</filepath>
+ </data>
+ <verify>
+ <callback>prepostcondition</callback>
+ <arg>
+ <name>error</name>
+ <value>{DAV:}valid-sync-token</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ </test-suite>
+
<end/>
</caldavtest>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130124/9d3b8c26/attachment-0001.html>
More information about the calendarserver-changes
mailing list