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

source_changes at macosforge.org source_changes at macosforge.org
Fri Aug 8 13:08:21 PDT 2008


Revision: 2791
          http://trac.macosforge.org/projects/calendarserver/changeset/2791
Author:   cdaboo at apple.com
Date:     2008-08-08 13:08:21 -0700 (Fri, 08 Aug 2008)
Log Message:
-----------
Test to make sure default calendar is provisioned as opaque for freebusy.

Modified Paths:
--------------
    CalDAVTester/branches/users/cdaboo/implicit-2661/scripts/tests/implicitcalendartransp.xml

Modified: CalDAVTester/branches/users/cdaboo/implicit-2661/scripts/tests/implicitcalendartransp.xml
===================================================================
--- CalDAVTester/branches/users/cdaboo/implicit-2661/scripts/tests/implicitcalendartransp.xml	2008-08-08 20:07:33 UTC (rev 2790)
+++ CalDAVTester/branches/users/cdaboo/implicit-2661/scripts/tests/implicitcalendartransp.xml	2008-08-08 20:08:21 UTC (rev 2791)
@@ -100,6 +100,31 @@
 		</test>
 	</test-suite>
 
+	<test-suite name='Default Calendar' ignore='no'>
+		<test name='1'>
+			<description>Look for property on new calendar</description>
+			<request print-response="no">
+				<method>PROPFIND</method>
+				<header>
+					<name>Depth</name>
+					<value>0</value>
+				</header>
+				<ruri>$calendarpath1:/</ruri>
+				<data>
+					<content-type>text/xml; charset=utf-8</content-type>
+					<filepath>Resource/implicit/calendartransp/1.xml</filepath>
+				</data>
+				<verify>
+					<callback>propfindItems</callback>
+					<arg>
+						<name>okprops</name>
+						<value>urn:ietf:params:xml:ns:caldavschedule-calendar-transp$&lt;opaque/&gt;</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
+	</test-suite>
+
 	<test-suite name='New Calendar - free-busy-set compatibility' ignore='no'>
 		<test name='1'>
 			<description>Create new calendar</description>
@@ -396,6 +421,28 @@
 				</verify>
 			</request>
 		</test>
+		<test name='16'>
+			<description>Look for free-busy-set fro default calendar</description>
+			<request print-response="no">
+				<method>PROPFIND</method>
+				<header>
+					<name>Depth</name>
+					<value>0</value>
+				</header>
+				<ruri>$pathprefix:/$inbox:/</ruri>
+				<data>
+					<content-type>text/xml; charset=utf-8</content-type>
+					<filepath>Resource/implicit/calendartransp/3.xml</filepath>
+				</data>
+				<verify>
+					<callback>dataString</callback>
+					<arg>
+						<name>contains</name>
+						<value>$pathprefix:/calendar</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
 	</test-suite>
 
 	<end/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080808/b18dd3e4/attachment.html 


More information about the calendarserver-changes mailing list