[Bedework-commit] caldavTest r159 - trunk/tests/calws

svnadmin at bedework.org svnadmin at bedework.org
Thu Sep 16 10:42:11 EDT 2010


Author: douglm
Date: 2010-09-16 10:42:11 -0400 (Thu, 16 Sep 2010)
New Revision: 159

Added:
   trunk/tests/calws/query.test
Log:
Some fixes to icalendar translation to XML

Fix up the POST method so it can handle CalDAV queries for the web service

Fix up the REPORT method so it works when I do that

Added: trunk/tests/calws/query.test
===================================================================
--- trunk/tests/calws/query.test	                        (rev 0)
+++ trunk/tests/calws/query.test	2010-09-16 14:42:11 UTC (rev 159)
@@ -0,0 +1,27 @@
+DESCRIPTION: Try report on calendar
+
+METHOD: POST
+
+AUTH: true
+
+URL: /ucalws/user/douglm/calendar/
+
+DEPTH: 1
+
+CONTENTTYPE: text/xml
+
+CONTENT:
+<?xml version="1.0" encoding="utf-8" ?>
+<C:calendar-query xmlns:D="DAV:"
+                     xmlns:C="urn:ietf:params:xml:ns:caldav">
+  <D:prop>
+    <D:getetag/>
+    <C:calendar-data/>
+  </D:prop>
+  <C:filter>
+    <C:comp-filter name="VCALENDAR">
+      <C:comp-filter name="VEVENT">
+      </C:comp-filter>
+    </C:comp-filter>
+  </C:filter>
+</C:calendar-query>



More information about the Bedework-commit mailing list