[CalendarServer-changes] [2713] CalDAVTester/branches/users/cdaboo/implicit-2661/scripts/tests/ scheduleimplicit.xml

source_changes at macosforge.org source_changes at macosforge.org
Thu Jul 17 13:10:43 PDT 2008


Revision: 2713
          http://trac.macosforge.org/projects/calendarserver/changeset/2713
Author:   cdaboo at apple.com
Date:     2008-07-17 13:10:43 -0700 (Thu, 17 Jul 2008)
Log Message:
-----------
Test for new OPTIONS header item for implicit scheduling.

Added Paths:
-----------
    CalDAVTester/branches/users/cdaboo/implicit-2661/scripts/tests/scheduleimplicit.xml

Added: CalDAVTester/branches/users/cdaboo/implicit-2661/scripts/tests/scheduleimplicit.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/implicit-2661/scripts/tests/scheduleimplicit.xml	                        (rev 0)
+++ CalDAVTester/branches/users/cdaboo/implicit-2661/scripts/tests/scheduleimplicit.xml	2008-07-17 20:10:43 UTC (rev 2713)
@@ -0,0 +1,65 @@
+<?xml version="1.0" standalone="no"?>
+
+<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
+
+<!--
+ Copyright (c) 2006-2007 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.
+ You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ DRI: Cyrus Daboo, cdaboo at apple.com
+ -->
+
+<caldavtest>
+	<description>Test SCHEDULE method no longer in CalDAV</description>
+
+	<start/>
+	
+	<test-suite name='OPTIONS header' ignore='no'>
+		<test name='1'>
+			<description>Look for options header tag on principal</description>
+			<request print-response="no">
+				<method>OPTIONS</method>
+				<ruri>$principal1:</ruri>
+				<verify>
+					<callback>header</callback>
+					<arg>
+						<name>header</name>
+						<value>*DAV$.*calendar-access.*</value>
+						<value>*DAV$.*calendar-schedule.*</value>
+						<value>*DAV$.*calendar-auto-schedule.*</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
+		<test name='2'>
+			<description>Look for options header tag on calendar</description>
+			<request print-response="no">
+				<method>OPTIONS</method>
+				<ruri>$calendarpath1:/</ruri>
+				<verify>
+					<callback>header</callback>
+					<arg>
+						<name>header</name>
+						<value>*DAV$.*calendar-access.*</value>
+						<value>*DAV$.*calendar-schedule.*</value>
+						<value>*DAV$.*calendar-auto-schedule.*</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/20080717/472021ae/attachment.html 


More information about the calendarserver-changes mailing list