mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-27 02:54:27 +00:00
Some initial test cases for Cadaver use.
This commit is contained in:
parent
b6de0dc7ed
commit
3a4931db60
@ -0,0 +1,6 @@
|
||||
#
|
||||
# Basic testing with Cadaver DAV client
|
||||
#
|
||||
TYPE=OPTIONS
|
||||
URL=http://mycaldav/caldav.php/user1/home/
|
||||
HEADER=User-Agent: cadaver/0.22.3 neon/0.25.5
|
||||
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<propfind xmlns="DAV:"><prop>
|
||||
<getcontentlength xmlns="DAV:"/>
|
||||
<getlastmodified xmlns="DAV:"/>
|
||||
<executable xmlns="http://apache.org/dav/props/"/>
|
||||
<resourcetype xmlns="DAV:"/>
|
||||
<checked-in xmlns="DAV:"/>
|
||||
<checked-out xmlns="DAV:"/>
|
||||
</prop></propfind>
|
||||
12
testing/tests/regression-suite/401-Cadaver-PROPFIND-1.test
Normal file
12
testing/tests/regression-suite/401-Cadaver-PROPFIND-1.test
Normal file
@ -0,0 +1,12 @@
|
||||
#
|
||||
# Using CADAVER to do a PROPFIND
|
||||
#
|
||||
TYPE=PROPFIND
|
||||
URL=http://mycaldav/caldav.php/user1/home/
|
||||
HEADER=User-Agent: cadaver/0.22.3 neon/0.25.5
|
||||
HEADER=Connection: TE
|
||||
HEADER=TE: trailers
|
||||
HEADER=Depth: 0
|
||||
HEADER=Content-Length: 297
|
||||
HEADER=Content-Type: application/xml
|
||||
|
||||
9
testing/tests/regression-suite/402-Cadaver-GET-1.test
Normal file
9
testing/tests/regression-suite/402-Cadaver-GET-1.test
Normal file
@ -0,0 +1,9 @@
|
||||
#
|
||||
# Doing a GET with cadaver
|
||||
#
|
||||
TYPE=GET
|
||||
URL=http://mycaldav/caldav.php/user1/home/20061101T073004Z.ics
|
||||
HEADER=User-Agent: cadaver/0.22.3 neon/0.25.5
|
||||
HEADER=Connection: TE
|
||||
HEADER=TE: trailers
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user