mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-21 01:54:23 +00:00
Regression tests for match on calendar-home-set.
This commit is contained in:
parent
03a7083402
commit
4ae71bf848
24
testing/tests/regression-suite/237-Moz-REPORT.result
Normal file
24
testing/tests/regression-suite/237-Moz-REPORT.result
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
|
||||||
|
<response>
|
||||||
|
<href>/caldav.php/user1/</href>
|
||||||
|
<propstat>
|
||||||
|
<prop>
|
||||||
|
<C:calendar-home-set>
|
||||||
|
<href>/caldav.php/user1/</href>
|
||||||
|
</C:calendar-home-set>
|
||||||
|
<C:calendar-user-address-set>
|
||||||
|
<href>mailto:user1@example.net</href>
|
||||||
|
<href>/caldav.php/user1/</href>
|
||||||
|
</C:calendar-user-address-set>
|
||||||
|
<C:schedule-inbox-URL>
|
||||||
|
<href>/caldav.php/user1/.in/</href>
|
||||||
|
</C:schedule-inbox-URL>
|
||||||
|
<C:schedule-outbox-URL>
|
||||||
|
<href>/caldav.php/user1/.out/</href>
|
||||||
|
</C:schedule-outbox-URL>
|
||||||
|
</prop>
|
||||||
|
<status>HTTP/1.1 200 OK</status>
|
||||||
|
</propstat>
|
||||||
|
</response>
|
||||||
|
</multistatus>
|
||||||
28
testing/tests/regression-suite/237-Moz-REPORT.test
Normal file
28
testing/tests/regression-suite/237-Moz-REPORT.test
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
#
|
||||||
|
# Check for REPORT calendar-query of VTODO within time range
|
||||||
|
#
|
||||||
|
TYPE=REPORT
|
||||||
|
URL=http://mycaldav/caldav.php/user1/home/
|
||||||
|
HEADER=User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.13pre) Gecko/20080916 Debian/unstable (Codename:sid) Iceowl/0.8
|
||||||
|
HEADER=Accept: text/xml
|
||||||
|
HEADER=Accept-Language: en-us,en;q=0.5
|
||||||
|
HEADER=Accept-Encoding: gzip,deflate
|
||||||
|
HEADER=Accept-Charset: utf-8,*;q=0.1
|
||||||
|
HEADER=Content-Type: text/xml; charset=utf-8
|
||||||
|
|
||||||
|
BEGINDATA
|
||||||
|
<D:principal-property-search xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
|
||||||
|
<D:property-search>
|
||||||
|
<D:prop>
|
||||||
|
<C:calendar-home-set/>
|
||||||
|
</D:prop>
|
||||||
|
<D:match>/caldav.php/user1</D:match>
|
||||||
|
</D:property-search>
|
||||||
|
<D:prop>
|
||||||
|
<C:calendar-home-set/>
|
||||||
|
<C:calendar-user-address-set/>
|
||||||
|
<C:schedule-inbox-URL/>
|
||||||
|
<C:schedule-outbox-URL/>
|
||||||
|
</D:prop>
|
||||||
|
</D:principal-property-search>
|
||||||
|
ENDDATA
|
||||||
Loading…
x
Reference in New Issue
Block a user