mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-01-27 00:33:34 +00:00
This allows us to have more complex test files where an action is taken, then we test something, then another action is taken, etc. Changes to test files are required so that URL is defined after all the required settings are set. Changes to the result files are either whitespace changes due to above logic changes, or printing out a SQL Result header before each result. I figured it was useful.
123 lines
2.6 KiB
XML
123 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<multistatus xmlns="DAV:">
|
|
<response>
|
|
<href>/caldav.php/user4/</href>
|
|
<propstat>
|
|
<prop>
|
|
<displayname>User 4</displayname>
|
|
<resource-id>
|
|
<href>/caldav.php/.resources/XX</href>
|
|
</resource-id>
|
|
<parent-set>
|
|
<parent>
|
|
<href>/</href>
|
|
<segment>caldav.php</segment>
|
|
</parent>
|
|
</parent-set>
|
|
</prop>
|
|
<status>HTTP/1.1 200 OK</status>
|
|
</propstat>
|
|
</response>
|
|
<response>
|
|
<href>/caldav.php/user4/user2/</href>
|
|
<propstat>
|
|
<prop>
|
|
<displayname>User 2's Calendar, as uploaded by Admin</displayname>
|
|
<resource-id>
|
|
<href>/caldav.php/.resources/XX</href>
|
|
</resource-id>
|
|
<parent-set>
|
|
<parent>
|
|
<href>/caldav.php</href>
|
|
<segment>user4</segment>
|
|
</parent>
|
|
<parent>
|
|
<href>/caldav.php</href>
|
|
<segment>user2</segment>
|
|
</parent>
|
|
</parent-set>
|
|
</prop>
|
|
<status>HTTP/1.1 200 OK</status>
|
|
</propstat>
|
|
</response>
|
|
<response>
|
|
<href>/caldav.php/user4/home/</href>
|
|
<propstat>
|
|
<prop>
|
|
<displayname>user4 home</displayname>
|
|
<resource-id>
|
|
<href>/caldav.php/.resources/XX</href>
|
|
</resource-id>
|
|
<parent-set>
|
|
<parent>
|
|
<href>/caldav.php</href>
|
|
<segment>user4</segment>
|
|
</parent>
|
|
</parent-set>
|
|
</prop>
|
|
<status>HTTP/1.1 200 OK</status>
|
|
</propstat>
|
|
</response>
|
|
<response>
|
|
<href>/caldav.php/user4/addresses/</href>
|
|
<propstat>
|
|
<prop>
|
|
<displayname>user4 addresses</displayname>
|
|
<resource-id>
|
|
<href>/caldav.php/.resources/XX</href>
|
|
</resource-id>
|
|
<parent-set>
|
|
<parent>
|
|
<href>/caldav.php</href>
|
|
<segment>user4</segment>
|
|
</parent>
|
|
</parent-set>
|
|
</prop>
|
|
<status>HTTP/1.1 200 OK</status>
|
|
</propstat>
|
|
</response>
|
|
<response>
|
|
<href>/caldav.php/user4/calendar-proxy-read/</href>
|
|
<propstat>
|
|
<prop>
|
|
<displayname>/user4/calendar-proxy-read/</displayname>
|
|
<parent-set>
|
|
<parent>
|
|
<href>/caldav.php</href>
|
|
<segment>user4</segment>
|
|
</parent>
|
|
</parent-set>
|
|
</prop>
|
|
<status>HTTP/1.1 200 OK</status>
|
|
</propstat>
|
|
<propstat>
|
|
<prop>
|
|
<resource-id/>
|
|
</prop>
|
|
<status>HTTP/1.1 404 Not Found</status>
|
|
</propstat>
|
|
</response>
|
|
<response>
|
|
<href>/caldav.php/user4/calendar-proxy-write/</href>
|
|
<propstat>
|
|
<prop>
|
|
<displayname>/user4/calendar-proxy-write/</displayname>
|
|
<parent-set>
|
|
<parent>
|
|
<href>/caldav.php</href>
|
|
<segment>user4</segment>
|
|
</parent>
|
|
</parent-set>
|
|
</prop>
|
|
<status>HTTP/1.1 200 OK</status>
|
|
</propstat>
|
|
<propstat>
|
|
<prop>
|
|
<resource-id/>
|
|
</prop>
|
|
<status>HTTP/1.1 404 Not Found</status>
|
|
</propstat>
|
|
</response>
|
|
</multistatus>
|
|
|