[CalendarServer-changes] [10892] CalDAVTester/branches/users/gaya/sharedgroupstester/scripts/tests/ CardDAV/mkcol.xml

source_changes at macosforge.org source_changes at macosforge.org
Mon Mar 11 21:05:21 PDT 2013


Revision: 10892
          http://trac.calendarserver.org//changeset/10892
Author:   gaya at apple.com
Date:     2013-03-11 21:05:21 -0700 (Mon, 11 Mar 2013)
Log Message:
-----------
In CalDAV/mkcol.xml, test that OPTIONS Allow header does not contain MKCALENDAR

Modified Paths:
--------------
    CalDAVTester/branches/users/gaya/sharedgroupstester/scripts/tests/CardDAV/mkcol.xml

Modified: CalDAVTester/branches/users/gaya/sharedgroupstester/scripts/tests/CardDAV/mkcol.xml
===================================================================
--- CalDAVTester/branches/users/gaya/sharedgroupstester/scripts/tests/CardDAV/mkcol.xml	2013-03-12 01:16:12 UTC (rev 10891)
+++ CalDAVTester/branches/users/gaya/sharedgroupstester/scripts/tests/CardDAV/mkcol.xml	2013-03-12 04:05:21 UTC (rev 10892)
@@ -27,7 +27,7 @@
 	
 	<test-suite name='OPTIONS header' ignore='no'>
 		<test name='1'>
-			<description>Look for options header DAV</description>
+			<description>OPTIONS DAV: header does not contain extended-mkcol</description>
 			<request print-response="no">
 				<method>OPTIONS</method>
 				<ruri>$addressbookhome1:/</ruri>
@@ -41,7 +41,7 @@
 			</request>
 		</test>
 		<test name='2'>
-			<description>Look for options header Allow</description>
+			<description>OPTIONS Allow: header does not contain MKCOL</description>
 			<request print-response="no">
 				<method>OPTIONS</method>
 				<ruri>$addressbookhome1:/</ruri>
@@ -54,6 +54,20 @@
 				</verify>
 			</request>
 		</test>
+		<test name='3'>
+			<description>OPTIONS Allow: header does not contain MKCALENDAR</description>
+			<request print-response="no">
+				<method>OPTIONS</method>
+				<ruri>$addressbookhome1:/</ruri>
+				<verify>
+					<callback>header</callback>
+					<arg>
+						<name>header</name>
+						<value>*Allow!.*MKCALENDAR.*</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
 	</test-suite>
 
 	<test-suite name='MKCOL with body'>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130311/beb4821b/attachment.html>


More information about the calendarserver-changes mailing list