[CalendarServer-changes] [7816] CalDAVTester/trunk/scripts/tests/CardDAV/mkcol.xml

source_changes at macosforge.org source_changes at macosforge.org
Wed Jul 20 19:06:14 PDT 2011


Revision: 7816
          http://trac.macosforge.org/projects/calendarserver/changeset/7816
Author:   cdaboo at apple.com
Date:     2011-07-20 19:06:13 -0700 (Wed, 20 Jul 2011)
Log Message:
-----------
Test for extended-mkcol in DAV header.

Modified Paths:
--------------
    CalDAVTester/trunk/scripts/tests/CardDAV/mkcol.xml

Modified: CalDAVTester/trunk/scripts/tests/CardDAV/mkcol.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/CardDAV/mkcol.xml	2011-07-20 20:00:05 UTC (rev 7815)
+++ CalDAVTester/trunk/scripts/tests/CardDAV/mkcol.xml	2011-07-21 02:06:13 UTC (rev 7816)
@@ -3,7 +3,7 @@
 <!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
 
 <!--
- Copyright (c) 2006-2010 Apple Inc. All rights reserved.
+ Copyright (c) 2006-2011 Apple Inc. All rights reserved.
 
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
@@ -25,6 +25,23 @@
 
 	<start/>
 	
+	<test-suite name='OPTIONS header' ignore='no'>
+		<test name='1'>
+			<description>Look for options header tag</description>
+			<request print-response="no">
+				<method>OPTIONS</method>
+				<ruri>$addressbookhome1:/</ruri>
+				<verify>
+					<callback>header</callback>
+					<arg>
+						<name>header</name>
+						<value>*DAV$.*extended-mkcol.*</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
+	</test-suite>
+
 	<test-suite name='MKCOL with body'>
 		<test name='1'>
 			<description>MKCOL with correct request body</description>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110720/efde7fca/attachment.html>


More information about the calendarserver-changes mailing list