davical/testing/tests/regression-suite/0900-Moz-REPORT.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

34 lines
953 B
Plaintext

#
# A test from Mozilla after we have run all other tests and have
# events from other calendars in the database.
#
TYPE=REPORT
HEADER=User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20101130 Calendar/0.4a1
HEADER=Accept: text/html,application/xhtml+xml;q=0.9,application/xml;q=0.8,*/*;q=0.7
HEADER=Accept-Language: en-us,en;q=0.5
HEADER=Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
HEADER=Keep-Alive: 300
HEADER=Connection: keep-alive
HEADER=Content-Type: text/xml
HEADER=Depth: 1
HEAD
BEGINDATA
<?xml version="1.0" encoding="UTF-8"?>
<calendar-query xmlns:D="DAV:" xmlns="urn:ietf:params:xml:ns:caldav">
<D:prop>
<calendar-data/>
</D:prop>
<filter>
<comp-filter name="VCALENDAR">
<comp-filter name="VEVENT">
<time-range start="20061125T110000Z" end="20070107T110000Z"/>
</comp-filter>
</comp-filter>
</filter>
</calendar-query>
ENDDATA
URL=http://regression.host/caldav.php/user1/home/