mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-18 01:31:21 +00:00
There is now a Perl script that'll generate tests and result files to a wide variety of dates. From this we currently don't support < 1 AD or > 9999 AD. run_regressions is modified to remove the UNTIL option as I want to use a character after the test number to allow "subtests".
31 lines
782 B
Plaintext
31 lines
782 B
Plaintext
#
|
|
# REPORT on event for 19010101, created by previous test.
|
|
#
|
|
TYPE=REPORT
|
|
URL=http://regression.host/caldav.php/user1/past-and-future/
|
|
AUTH=user1:user1
|
|
HEADER=Content-Type: text/xml; charset="UTF-8"
|
|
HEADER=Depth: 0
|
|
HEAD
|
|
|
|
REPLACE=/^ETag: "[0-9a-f]+"/ETag: "a fine looking etag"/
|
|
REPLACE=/^DTSTAMP:\d+T\d+Z/DTSTAMP:xx/
|
|
REPLACE=/^Content-Length: \d+/Content-Length: xx/
|
|
|
|
BEGINDATA
|
|
<?xml version='1.0' encoding='utf-8'?>
|
|
<C:calendar-query xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
|
|
<D:prop>
|
|
<C:calendar-data/>
|
|
</D:prop>
|
|
<C:filter>
|
|
<C:comp-filter name="VCALENDAR">
|
|
<C:comp-filter name="VEVENT">
|
|
<C:time-range start="19010101T000000Z" end="19010101T020000Z"/>
|
|
</C:comp-filter>
|
|
</C:comp-filter>
|
|
</C:filter>
|
|
</C:calendar-query>
|
|
ENDDATA
|
|
|