[CalendarServer-changes] [158] CalDAVTester/trunk
source_changes at macosforge.org
source_changes at macosforge.org
Tue Sep 19 14:14:18 PDT 2006
Revision: 158
Author: cdaboo at apple.com
Date: 2006-09-19 14:14:14 -0700 (Tue, 19 Sep 2006)
Log Message:
-----------
Removal of non-existant property is not an error as per 2518 12.13.1 and recent Twisted change. Also,
test undoing a change to an existing property value.
Modified Paths:
--------------
CalDAVTester/trunk/Resource/proppatches/1.xml
CalDAVTester/trunk/Resource/proppatches/2.xml
CalDAVTester/trunk/Resource/proppatches/5.xml
CalDAVTester/trunk/proppatch.xml
Modified: CalDAVTester/trunk/Resource/proppatches/1.xml
===================================================================
--- CalDAVTester/trunk/Resource/proppatches/1.xml 2006-09-19 21:00:33 UTC (rev 157)
+++ CalDAVTester/trunk/Resource/proppatches/1.xml 2006-09-19 21:14:14 UTC (rev 158)
@@ -3,6 +3,7 @@
<D:set>
<D:prop>
<D:details>My Name</D:details>
+<D:details2>My Name 2</D:details2>
</D:prop>
</D:set>
</D:propertyupdate>
Modified: CalDAVTester/trunk/Resource/proppatches/2.xml
===================================================================
--- CalDAVTester/trunk/Resource/proppatches/2.xml 2006-09-19 21:00:33 UTC (rev 157)
+++ CalDAVTester/trunk/Resource/proppatches/2.xml 2006-09-19 21:14:14 UTC (rev 158)
@@ -2,5 +2,6 @@
<D:propfind xmlns:D="DAV:">
<D:prop>
<D:details/>
+<D:details2/>
</D:prop>
</D:propfind>
Modified: CalDAVTester/trunk/Resource/proppatches/5.xml
===================================================================
--- CalDAVTester/trunk/Resource/proppatches/5.xml 2006-09-19 21:00:33 UTC (rev 157)
+++ CalDAVTester/trunk/Resource/proppatches/5.xml 2006-09-19 21:14:14 UTC (rev 158)
@@ -3,6 +3,7 @@
<D:set>
<D:prop>
<D:details>My Name</D:details>
+<D:details2>My Name 3</D:details2>
<D:resourcetype><D:collection/></D:resourcetype>
</D:prop>
</D:set>
Modified: CalDAVTester/trunk/proppatch.xml
===================================================================
--- CalDAVTester/trunk/proppatch.xml 2006-09-19 21:00:33 UTC (rev 157)
+++ CalDAVTester/trunk/proppatch.xml 2006-09-19 21:14:14 UTC (rev 158)
@@ -24,7 +24,7 @@
<start/>
<test-suite name='prop patches'>
- <test name='1'>
+ <test name='1' ignore="no">
<description>PROPPATCH of details: good</description>
<request print-response='no'>
<method>PROPPATCH</method>
@@ -37,6 +37,7 @@
<arg>
<name>okprops</name>
<value>DAV:details</value>
+ <value>DAV:details2</value>
</arg>
</verify>
</request>
@@ -55,11 +56,12 @@
<arg>
<name>okprops</name>
<value>DAV:details$My Name</value>
+ <value>DAV:details2$My Name 2</value>
</arg>
</verify>
</request>
</test>
- <test name='2'>
+ <test name='2' ignore="no">
<description>PROPPATCH of details: remove it</description>
<request print-response='no'>
<method>PROPPATCH</method>
@@ -88,6 +90,10 @@
<verify>
<callback>propfindItems</callback>
<arg>
+ <name>okprops</name>
+ <value>DAV:details2$My Name 2</value>
+ </arg>
+ <arg>
<name>badprops</name>
<value>DAV:details</value>
</arg>
@@ -105,7 +111,7 @@
<verify>
<callback>propfindItems</callback>
<arg>
- <name>badprops</name>
+ <name>okprops</name>
<value>DAV:missing</value>
</arg>
</verify>
@@ -124,10 +130,33 @@
<arg>
<name>badprops</name>
<value>DAV:details</value>
+ <value>DAV:details2</value>
<value>DAV:resourcetype</value>
</arg>
</verify>
</request>
+ <request print-response='no'>
+ <method>PROPFIND</method>
+ <header>
+ <name>Depth</name>
+ <value>0</value>
+ </header>
+ <data>
+ <content-type>text/xml; charset=utf-8</content-type>
+ <filepath>Resource/proppatches/2.xml</filepath>
+ </data>
+ <verify>
+ <callback>propfindItems</callback>
+ <arg>
+ <name>okprops</name>
+ <value>DAV:details2$My Name 2</value>
+ </arg>
+ <arg>
+ <name>badprops</name>
+ <value>DAV:details</value>
+ </arg>
+ </verify>
+ </request>
</test>
</test-suite>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20060919/13723bae/attachment.html
More information about the calendarserver-changes
mailing list