[CalendarServer-changes] [1577] CalDAVTester/trunk/scripts/tests/errors.xml

source_changes at macosforge.org source_changes at macosforge.org
Tue May 29 10:06:25 PDT 2007


Revision: 1577
          http://trac.macosforge.org/projects/calendarserver/changeset/1577
Author:   cdaboo at apple.com
Date:     2007-05-29 10:06:24 -0700 (Tue, 29 May 2007)

Log Message:
-----------
The query report now allows up to 1000 events so we need to add one event to our 1000 event calendar
in order to trigger the 'too many items' error.

Modified Paths:
--------------
    CalDAVTester/trunk/scripts/tests/errors.xml

Modified: CalDAVTester/trunk/scripts/tests/errors.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/errors.xml	2007-05-25 23:19:35 UTC (rev 1576)
+++ CalDAVTester/trunk/scripts/tests/errors.xml	2007-05-29 17:06:24 UTC (rev 1577)
@@ -1026,7 +1026,18 @@
 
 	<test-suite name='REPORT/too big' ignore='no'>
 		<test name='1'>
-			<description>query with too many results</description>
+			<description>add one event to make it a 1001 event calendar</description>
+			<request end-delete="yes" print-response='no'>
+				<method>PUT</method>
+				<ruri>$pathprefix:/calendar.1000/abc.ics</ruri>
+				<data>
+					<content-type>text/calendar; charset=utf-8</content-type>
+					<filepath>Resource/errors/6.txt</filepath>
+				</data>
+				<verify>
+					<callback>statusCode</callback>
+				</verify>
+			</request>
 			<request print-response='no'>
 				<method>REPORT</method>
 				<ruri>$pathprefix:/calendar.1000/</ruri>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070529/cf19dad7/attachment.html


More information about the calendarserver-changes mailing list