Revision
1526
Author
cdaboo@apple.com
Date
2007-05-15 09:06:46 -0700 (Tue, 15 May 2007)

Log Message

Add test to verify that quota is on by default. Also we now have to ignore tests that check for the absence of quota as
it cannot be turned off once it is on by default.

Modified Paths

Diff

Modified: CalDAVTester/trunk/scripts/tests/quota.xml (1525 => 1526)


--- CalDAVTester/trunk/scripts/tests/quota.xml	2007-05-14 19:37:21 UTC (rev 1525)
+++ CalDAVTester/trunk/scripts/tests/quota.xml	2007-05-15 16:06:46 UTC (rev 1526)
@@ -206,6 +206,33 @@
 		</request>
 	</start>
 	
+	<test-suite name='Quota enabled by default on calendar home' ignore='no'>
+		<test name='1' ignore='no'>
+			<description>allprop on non-quota collection</description>
+			<request user="$userid2:" pswd="$pswd2:" print-response='no'>
+				<method>PROPFIND</method>
+				<header>
+					<name>Depth</name>
+					<value>0</value>
+				</header>
+				<ruri>$pathprefix2:/</ruri>
+				<data>
+					<content-type>text/xml; charset=utf-8</content-type>
+					<filepath>Resource/quota/3.xml</filepath>
+				</data>
+				<verify>
+					<callback>propfindItems</callback>
+					<arg>
+						<name>okprops</name>
+						<value>DAV:resourcetype</value>
+						<value>DAV:quota-available-bytes</value>
+						<value>DAV:quota-used-bytes</value>
+					</arg>
+				</verify>
+			</request>
+		</test>
+	</test-suite>
+
 	<test-suite name='Properties on collections' ignore='no'>
 		<test name='1' ignore='no'>
 			<description>allprop on non-quota collection</description>
@@ -253,7 +280,7 @@
 				</verify>
 			</request>
 		</test>
-		<test name='3' ignore='no'>
+		<test name='3' ignore='yes'>
 			<description>propname on non-quota collection</description>
 			<request print-response='no'>
 				<method>PROPFIND</method>
@@ -299,7 +326,7 @@
 				</verify>
 			</request>
 		</test>
-		<test name='5' ignore='no'>
+		<test name='5' ignore='yes'>
 			<description>props on non-quota collection</description>
 			<request print-response='no'>
 				<method>PROPFIND</method>
@@ -399,7 +426,7 @@
 				</verify>
 			</request>
 		</test>
-		<test name='3' ignore='no'>
+		<test name='3' ignore='yes'>
 			<description>propname on non-quota collection</description>
 			<request print-response='no'>
 				<method>PROPFIND</method>
@@ -445,7 +472,7 @@
 				</verify>
 			</request>
 		</test>
-		<test name='5' ignore='no'>
+		<test name='5' ignore='yes'>
 			<description>props on non-quota collection</description>
 			<request print-response='no'>
 				<method>PROPFIND</method>
@@ -545,7 +572,7 @@
 				</verify>
 			</request>
 		</test>
-		<test name='3' ignore='no'>
+		<test name='3' ignore='yes'>
 			<description>propname on non-quota collection</description>
 			<request print-response='no'>
 				<method>PROPFIND</method>
@@ -591,7 +618,7 @@
 				</verify>
 			</request>
 		</test>
-		<test name='5' ignore='no'>
+		<test name='5' ignore='yes'>
 			<description>props on non-quota collection</description>
 			<request print-response='no'>
 				<method>PROPFIND</method>
@@ -691,7 +718,7 @@
 				</verify>
 			</request>
 		</test>
-		<test name='3' ignore='no'>
+		<test name='3' ignore='yes'>
 			<description>propname on non-quota collection</description>
 			<request print-response='no'>
 				<method>PROPFIND</method>
@@ -737,7 +764,7 @@
 				</verify>
 			</request>
 		</test>
-		<test name='5' ignore='no'>
+		<test name='5' ignore='yes'>
 			<description>props on non-quota collection</description>
 			<request print-response='no'>
 				<method>PROPFIND</method>