mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-28 15:40:14 +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.
35 lines
688 B
Plaintext
35 lines
688 B
Plaintext
#
|
|
# Testing for Spec compliance. PROPFIND on the root
|
|
#
|
|
TYPE=PROPFIND
|
|
HEADER=User-Agent: RFC2518 Spec Tests
|
|
HEADER=Depth: 1
|
|
HEADER=Content-Type: application/xml
|
|
|
|
REPLACE=#<creationdate>2\d{3}-\d\d-\d\dT\d\d:\d\d:\d\d[+-]\d\d:\d\d</creationdate>#<creationdate>YYYY-MM-DDThh:mm:ss+ZZ:ZZ</creationdate>#
|
|
|
|
|
|
BEGINDATA
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<propfind xmlns="DAV:">
|
|
<prop>
|
|
<acl/>
|
|
<creationdate/>
|
|
<displayname/>
|
|
<getcontentlanguage/>
|
|
<getcontentlength/>
|
|
<getcontenttype/>
|
|
<getetag/>
|
|
<getlastmodified/>
|
|
<lockdiscovery/>
|
|
<resourcetype/>
|
|
<source/>
|
|
<supportedlock/>
|
|
<checked-in/>
|
|
<checked-out/>
|
|
</prop>
|
|
</propfind>
|
|
ENDDATA
|
|
|
|
URL=http://regression.host/
|