[CalendarServer-changes] [2085] CalDAVTester/branches/users/cdaboo/private_events-2082

source_changes at macosforge.org source_changes at macosforge.org
Wed Jan 2 09:22:59 PST 2008


Revision: 2085
          http://trac.macosforge.org/projects/calendarserver/changeset/2085
Author:   cdaboo at apple.com
Date:     2008-01-02 09:22:57 -0800 (Wed, 02 Jan 2008)

Log Message:
-----------
DAV compliance class test.

Added Paths:
-----------
    CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/
    CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/1.xml
    CalDAVTester/branches/users/cdaboo/private_events-2082/scripts/tests/privateevents.xml

Added: CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/1.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/1.xml	                        (rev 0)
+++ CalDAVTester/branches/users/cdaboo/private_events-2082/Resource/privateevents/1.xml	2008-01-02 17:22:57 UTC (rev 2085)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<D:propfind xmlns:D="DAV:">
+<D:prop>
+<D:resourcetype/>
+</D:prop>
+</D:propfind>

Added: CalDAVTester/branches/users/cdaboo/private_events-2082/scripts/tests/privateevents.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/private_events-2082/scripts/tests/privateevents.xml	                        (rev 0)
+++ CalDAVTester/branches/users/cdaboo/private_events-2082/scripts/tests/privateevents.xml	2008-01-02 17:22:57 UTC (rev 2085)
@@ -0,0 +1,51 @@
+<?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 private events features</description>
+
+	<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>$principal1:</ruri>
+				<data>
+					<content-type>text/xml; charset=utf-8</content-type>
+					<filepath>Resource/privateevents/1.xml</filepath>
+				</data>
+				<verify>
+					<callback>header</callback>
+					<arg>
+						<name>header</name>
+						<value>*DAV$.*calendarserver-private-events.*</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/20080102/439c3cc8/attachment.html


More information about the calendarserver-changes mailing list