[CalendarServer-changes] [14795] CalDAVTester/trunk/scripts/tests
source_changes at macosforge.org
source_changes at macosforge.org
Mon May 18 05:50:17 PDT 2015
Revision: 14795
http://trac.calendarserver.org//changeset/14795
Author: cdaboo at apple.com
Date: 2015-05-18 05:50:17 -0700 (Mon, 18 May 2015)
Log Message:
-----------
Tests for PUTs on various collections.
Modified Paths:
--------------
CalDAVTester/trunk/scripts/tests/CalDAV/errors.xml
CalDAVTester/trunk/scripts/tests/CardDAV/errors.xml
Modified: CalDAVTester/trunk/scripts/tests/CalDAV/errors.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/CalDAV/errors.xml 2015-05-18 12:19:17 UTC (rev 14794)
+++ CalDAVTester/trunk/scripts/tests/CalDAV/errors.xml 2015-05-18 12:50:17 UTC (rev 14795)
@@ -631,6 +631,42 @@
</verify>
</request>
</test>
+ <test name='25'>
+ <description>PUT to home</description>
+ <request>
+ <method>PUT</method>
+ <ruri>$calendarhome1:/</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/CalDAV/errors/49.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ <arg>
+ <name>status</name>
+ <value>403</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='26'>
+ <description>PUT to collection</description>
+ <request>
+ <method>PUT</method>
+ <ruri>$calendarpath1:/</ruri>
+ <data>
+ <content-type>text/calendar; charset=utf-8</content-type>
+ <filepath>Resource/CalDAV/errors/49.ics</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ <arg>
+ <name>status</name>
+ <value>403</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
</test-suite>
<test-suite name='COPY'>
Modified: CalDAVTester/trunk/scripts/tests/CardDAV/errors.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/CardDAV/errors.xml 2015-05-18 12:19:17 UTC (rev 14794)
+++ CalDAVTester/trunk/scripts/tests/CardDAV/errors.xml 2015-05-18 12:50:17 UTC (rev 14795)
@@ -200,6 +200,42 @@
</verify>
</request>
</test>
+ <test name='25'>
+ <description>PUT to home</description>
+ <request>
+ <method>PUT</method>
+ <ruri>$addressbookhome1:/</ruri>
+ <data>
+ <content-type>text/vcard; charset=utf-8</content-type>
+ <filepath>Resource/CardDAV/vcarderrors/8.vcf</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ <arg>
+ <name>status</name>
+ <value>403</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
+ <test name='26'>
+ <description>PUT to collection</description>
+ <request>
+ <method>PUT</method>
+ <ruri>$addressbookpath1:/</ruri>
+ <data>
+ <content-type>text/vcard; charset=utf-8</content-type>
+ <filepath>Resource/CardDAV/vcarderrors/8.vcf</filepath>
+ </data>
+ <verify>
+ <callback>statusCode</callback>
+ <arg>
+ <name>status</name>
+ <value>403</value>
+ </arg>
+ </verify>
+ </request>
+ </test>
</test-suite>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20150518/d5376fc5/attachment.html>
More information about the calendarserver-changes
mailing list