[CalendarServer-changes] [1532]
CalDAVTester/trunk/scripts/tests/errors.xml
source_changes at macosforge.org
source_changes at macosforge.org
Thu May 17 09:50:58 PDT 2007
Revision: 1532
http://trac.macosforge.org/projects/calendarserver/changeset/1532
Author: cdaboo at apple.com
Date: 2007-05-17 09:50:58 -0700 (Thu, 17 May 2007)
Log Message:
-----------
Add a test for an invalid urn:uuid address in scheduling that was causing a 500 error.
Modified Paths:
--------------
CalDAVTester/trunk/scripts/tests/errors.xml
Modified: CalDAVTester/trunk/scripts/tests/errors.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/errors.xml 2007-05-17 16:50:20 UTC (rev 1531)
+++ CalDAVTester/trunk/scripts/tests/errors.xml 2007-05-17 16:50:58 UTC (rev 1532)
@@ -1100,6 +1100,34 @@
</test>
</test-suite>
+ <test-suite name='Invalid urn: calendar user address' ignore='no'>
+ <test name='1'>
+ <description>POST free busy</description>
+ <request print-response='no'>
+ <method>POST</method>
+ <header>
+ <name>Originator</name>
+ <value>urn:uuid:bogus-uuid</value>
+ </header>
+ <header>
+ <name>Recipient</name>
+ <value>$cuaddr2:, $cuaddr3:</value>
+ </header>
+ <ruri>$pathprefix:/$outbox:/</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/schedule/6.txt</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ <arg>
+ <name>status</name>
+ <value>403</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/20070517/726fa18e/attachment.html
More information about the calendarserver-changes
mailing list