mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-20 01:44:15 +00:00
Tests for open-ended time-range calendar-query.
This commit is contained in:
parent
67ccb2ae03
commit
93b790cd52
41
testing/tests/regression-suite/0543-iCal5-REPORT.result
Normal file
41
testing/tests/regression-suite/0543-iCal5-REPORT.result
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||||
|
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||||
|
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||||
|
ETag: "488fe5f72406ee18b5238feabfd50afc"
|
||||||
|
Content-Length: 973
|
||||||
|
Content-Type: text/xml; charset="utf-8"
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<multistatus xmlns="DAV:">
|
||||||
|
<response>
|
||||||
|
<href>/caldav.php/user1/home/e70576e9-c1e0-431e-a507-0386fd82f223.ics</href>
|
||||||
|
<propstat>
|
||||||
|
<prop>
|
||||||
|
<getetag>"e8060931f30c1798ac58ffbe4ec0bffc"</getetag>
|
||||||
|
<getcontenttype>text/calendar</getcontenttype>
|
||||||
|
</prop>
|
||||||
|
<status>HTTP/1.1 200 OK</status>
|
||||||
|
</propstat>
|
||||||
|
</response>
|
||||||
|
<response>
|
||||||
|
<href>/caldav.php/user1/home/da81c0ee-7871-11db-c6d6-f6927c144649.ics</href>
|
||||||
|
<propstat>
|
||||||
|
<prop>
|
||||||
|
<getetag>"6f16959eee5c920b45548840b1e9ea19"</getetag>
|
||||||
|
<getcontenttype>text/calendar</getcontenttype>
|
||||||
|
</prop>
|
||||||
|
<status>HTTP/1.1 200 OK</status>
|
||||||
|
</propstat>
|
||||||
|
</response>
|
||||||
|
<response>
|
||||||
|
<href>/caldav.php/user1/home/70D23799-4A68-4905-AB9F-4D47BA693CFD.ics</href>
|
||||||
|
<propstat>
|
||||||
|
<prop>
|
||||||
|
<getetag>"257b9df4aaf573a578af4aadd033abf4"</getetag>
|
||||||
|
<getcontenttype>text/calendar</getcontenttype>
|
||||||
|
</prop>
|
||||||
|
<status>HTTP/1.1 200 OK</status>
|
||||||
|
</propstat>
|
||||||
|
</response>
|
||||||
|
</multistatus>
|
||||||
30
testing/tests/regression-suite/0543-iCal5-REPORT.test
Normal file
30
testing/tests/regression-suite/0543-iCal5-REPORT.test
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
#
|
||||||
|
# Testing with a process similar to iCal5
|
||||||
|
# - using an open-ended time query.
|
||||||
|
#
|
||||||
|
TYPE=REPORT
|
||||||
|
URL=http://regression.host/caldav.php/user1/home/
|
||||||
|
HEAD
|
||||||
|
|
||||||
|
HEADER=DAVKit/4.0 (729); CalendarStore/4.0 (965); iCal/4.0 (1362); Mac OS X/10.6.1 (10B504)
|
||||||
|
HEADER=Content-Type: text/xml
|
||||||
|
HEADER=Depth: 1
|
||||||
|
|
||||||
|
#
|
||||||
|
#
|
||||||
|
BEGINDATA
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav">
|
||||||
|
<C:filter>
|
||||||
|
<C:comp-filter name="VCALENDAR">
|
||||||
|
<C:comp-filter name="VEVENT">
|
||||||
|
<C:time-range start="20080815T000000Z"/>
|
||||||
|
</C:comp-filter>
|
||||||
|
</C:comp-filter>
|
||||||
|
</C:filter>
|
||||||
|
<A:prop xmlns:A="DAV:">
|
||||||
|
<A:getetag/>
|
||||||
|
<A:getcontenttype/>
|
||||||
|
</A:prop>
|
||||||
|
</C:calendar-query>
|
||||||
|
ENDDATA
|
||||||
Loading…
x
Reference in New Issue
Block a user