davical/testing/tests/regression-suite/0548-iCal-PROPFIND.test
Andrew Ruthven 7c47658bee Make the curl and SQL requests when we see them
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.
2024-04-01 22:57:10 +13:00

57 lines
2.2 KiB
Plaintext

#
# Testing with a process similar to iCal on Lion
#
TYPE=PROPFIND
HEAD
HEADER=User-Agent: CalendarStore/5.0.2 (1166); iCal/5.0.2 (1571); Mac OS X/10.7.3 (11D50b)
HEADER=Accept: */*
HEADER=Accept-Language: en-us
HEADER=Accept-Encoding: gzip, deflate
HEADER=Content-Type: text/xml
HEADER=Depth: 1
BEGINDATA
<?xml version="1.0" encoding="UTF-8"?>
<A:propfind xmlns:A="DAV:">
<A:prop>
<A:add-member/>
<B:allowed-sharing-modes xmlns:B="http://calendarserver.org/ns/"/>
<D:bulk-requests xmlns:D="http://me.com/_namespace/"/>
<E:calendar-color xmlns:E="http://apple.com/ns/ical/"/>
<C:calendar-description xmlns:C="urn:ietf:params:xml:ns:caldav"/>
<C:calendar-free-busy-set xmlns:C="urn:ietf:params:xml:ns:caldav"/>
<E:calendar-order xmlns:E="http://apple.com/ns/ical/"/>
<C:calendar-timezone xmlns:C="urn:ietf:params:xml:ns:caldav"/>
<A:current-user-privilege-set/>
<A:displayname/>
<B:getctag xmlns:B="http://calendarserver.org/ns/"/>
<F:max-image-size xmlns:F="urn:ietf:params:xml:ns:carddav"/>
<F:max-resource-size xmlns:F="urn:ietf:params:xml:ns:carddav"/>
<B:me-card xmlns:B="http://calendarserver.org/ns/"/>
<A:owner/>
<B:publish-url xmlns:B="http://calendarserver.org/ns/"/>
<B:push-transports xmlns:B="http://calendarserver.org/ns/"/>
<B:pushkey xmlns:B="http://calendarserver.org/ns/"/>
<A:quota-available-bytes/>
<A:quota-used-bytes/>
<E:refreshrate xmlns:E="http://apple.com/ns/ical/"/>
<A:resource-id/>
<A:resourcetype/>
<C:schedule-calendar-transp xmlns:C="urn:ietf:params:xml:ns:caldav"/>
<C:schedule-default-calendar-URL xmlns:C="urn:ietf:params:xml:ns:caldav"/>
<B:source xmlns:B="http://calendarserver.org/ns/"/>
<B:subscribed-strip-alarms xmlns:B="http://calendarserver.org/ns/"/>
<B:subscribed-strip-attachments xmlns:B="http://calendarserver.org/ns/"/>
<B:subscribed-strip-todos xmlns:B="http://calendarserver.org/ns/"/>
<C:supported-calendar-component-set xmlns:C="urn:ietf:params:xml:ns:caldav"/>
<A:supported-report-set/>
<A:sync-token/>
<B:xmpp-server xmlns:B="http://calendarserver.org/ns/"/>
<B:xmpp-uri xmlns:B="http://calendarserver.org/ns/"/>
</A:prop>
</A:propfind>
ENDDATA
URL=http://regression.host/caldav.php/user1/