More regression tests. This time emulating Evolution.

This commit is contained in:
Andrew McMillan 2006-11-01 09:04:25 +13:00
parent bdced8dbad
commit f5c1856be2
5 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,6 @@
#
# Do an initial OPTIONS request
TYPE=OPTIONS
URL=http://mycaldav/caldav.php/user1/home/
NOAUTH
HEAD

View 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

View 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>

View 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

View 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