mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-26 02:44:29 +00:00
New tests for iCal compatibility.
This commit is contained in:
parent
c92f2be806
commit
e2db25849b
40
testing/tests/regression-suite/523-iCal-PROPFIND.result
Normal file
40
testing/tests/regression-suite/523-iCal-PROPFIND.result
Normal file
@ -0,0 +1,40 @@
|
||||
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
|
||||
Content-Location: /caldav.php/user2/
|
||||
ETag: "647ac4da10b24009f6ae914c1d3e1241"
|
||||
Content-Length: 924
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:C1="http://calendarserver.org/ns/">
|
||||
<response>
|
||||
<href>/caldav.php/user2/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<displayname>User 2</displayname>
|
||||
<C:calendar-home-set>
|
||||
<href>/caldav.php/user2/</href>
|
||||
</C:calendar-home-set>
|
||||
<C:schedule-inbox-URL>
|
||||
<href>/caldav.php/user2/.in/</href>
|
||||
</C:schedule-inbox-URL>
|
||||
<C:schedule-outbox-URL>
|
||||
<href>/caldav.php/user2/.out/</href>
|
||||
</C:schedule-outbox-URL>
|
||||
<C:calendar-user-address-set>
|
||||
<href>mailto:user2@example.net</href>
|
||||
<href>/caldav.php/user2/</href>
|
||||
</C:calendar-user-address-set>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C1:dropbox-home-URL/>
|
||||
<C1:notifications-URL/>
|
||||
</prop>
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
</multistatus>
|
||||
27
testing/tests/regression-suite/523-iCal-PROPFIND.test
Normal file
27
testing/tests/regression-suite/523-iCal-PROPFIND.test
Normal file
@ -0,0 +1,27 @@
|
||||
#
|
||||
# Testing with a process similar to iCal 10.5
|
||||
#
|
||||
TYPE=PROPFIND
|
||||
URL=http://mycaldav/caldav.php/user2
|
||||
HEAD
|
||||
|
||||
AUTH=user2:user2
|
||||
|
||||
HEADER=User-Agent: DAVKit/3.0.6 (653); CalendarStore/3.0.6 (847); iCal/3.0.6 (1273); Mac OS X/10.5.6 (9G55)
|
||||
HEADER=Content-Type: text/xml
|
||||
HEADER=Depth: 0
|
||||
|
||||
BEGINDATA
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<x0:propfind xmlns:x2="http://calendarserver.org/ns/" xmlns:x1="urn:ietf:params:xml:ns:caldav" xmlns:x0="DAV:">
|
||||
<x0:prop>
|
||||
<x1:calendar-home-set/>
|
||||
<x1:calendar-user-address-set/>
|
||||
<x1:schedule-inbox-URL/>
|
||||
<x1:schedule-outbox-URL/>
|
||||
<x2:dropbox-home-URL/>
|
||||
<x2:notifications-URL/>
|
||||
<x0:displayname/>
|
||||
</x0:prop>
|
||||
</x0:propfind>
|
||||
ENDDATA
|
||||
Loading…
x
Reference in New Issue
Block a user