mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-22 17:16:06 +00:00
More regression tests. This time emulating Evolution.
This commit is contained in:
parent
bdced8dbad
commit
f5c1856be2
6
testing/tests/regression-suite/100-Evo-OPTIONS-1.test
Normal file
6
testing/tests/regression-suite/100-Evo-OPTIONS-1.test
Normal file
@ -0,0 +1,6 @@
|
||||
#
|
||||
# Do an initial OPTIONS request
|
||||
TYPE=OPTIONS
|
||||
URL=http://mycaldav/caldav.php/user1/home/
|
||||
NOAUTH
|
||||
HEAD
|
||||
6
testing/tests/regression-suite/101-Evo-OPTIONS-1.test
Normal file
6
testing/tests/regression-suite/101-Evo-OPTIONS-1.test
Normal file
@ -0,0 +1,6 @@
|
||||
#
|
||||
# Do another OPTIONS request, this time with credentials
|
||||
TYPE=OPTIONS
|
||||
URL=http://mycaldav/caldav.php/user1/home/
|
||||
AUTH=user1:user1
|
||||
HEAD
|
||||
12
testing/tests/regression-suite/102-Evo-REPORT-1.data
Normal file
12
testing/tests/regression-suite/102-Evo-REPORT-1.data
Normal file
@ -0,0 +1,12 @@
|
||||
<C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:D="DAV:">
|
||||
<D:prop>
|
||||
<D:getetag/>
|
||||
</D:prop>
|
||||
<C:filter>
|
||||
<C:comp-filter name="VCALENDAR">
|
||||
<C:comp-filter name="VEVENT">
|
||||
<C:is-defined/>
|
||||
</C:comp-filter>
|
||||
</C:comp-filter>
|
||||
</C:filter>
|
||||
</C:calendar-query>
|
||||
8
testing/tests/regression-suite/102-Evo-REPORT-1.test
Normal file
8
testing/tests/regression-suite/102-Evo-REPORT-1.test
Normal file
@ -0,0 +1,8 @@
|
||||
#
|
||||
# Do a REPORT request
|
||||
TYPE=REPORT
|
||||
URL=http://mycaldav/caldav.php/user1/home/
|
||||
HEAD
|
||||
HEADER=Depth: 1
|
||||
HEADER=User-Agent: Evolution/1.8.1
|
||||
HEADER=Content-Type: text/xml
|
||||
7
testing/tests/regression-suite/103-Evo-GET-1.test
Normal file
7
testing/tests/regression-suite/103-Evo-GET-1.test
Normal file
@ -0,0 +1,7 @@
|
||||
#
|
||||
# Now we GET the entry that was in the report.
|
||||
#
|
||||
TYPE=GET
|
||||
URL=http://mycaldav/caldav.php/user1/home/F56B49B10FC923D20FE2DC92D6580340-0.ics
|
||||
HEADER=User-Agent: Evolution/1.8.1
|
||||
HEAD
|
||||
Loading…
x
Reference in New Issue
Block a user