mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-06-05 04:20:17 +00:00
More Chandler emulation regression tests.
This commit is contained in:
parent
b7bb25926a
commit
bee8476223
@ -1,6 +1,7 @@
|
||||
#
|
||||
# Chandler expects to find the calendar. Here it confirms
|
||||
# that it actually is one.
|
||||
#
|
||||
TYPE=PROPFIND
|
||||
URL=http://mycaldav/caldav.php/user1/home/
|
||||
HEADER=Depth: 0
|
||||
|
||||
13
testing/tests/regression-suite/305-Chandler-PROPFIND-3.test
Normal file
13
testing/tests/regression-suite/305-Chandler-PROPFIND-3.test
Normal file
@ -0,0 +1,13 @@
|
||||
#
|
||||
# When we get Chandler to do a "Sync All" it will do an OPTIONS request
|
||||
# followed by three PROPFIND requests. The first PROPFIND request will
|
||||
# be for "Depth: 0", but is otherwise identical to the other two.
|
||||
# We've already tested the first, so now we'll do the second.
|
||||
TYPE=PROPFIND
|
||||
URL=http://mycaldav/caldav.php/user1/home/
|
||||
HEADER=Depth: 1
|
||||
HEADER=Content-Type: text/xml; charset=utf-8
|
||||
HEAD
|
||||
|
||||
# The data from our first Chandler-like PROPFIND
|
||||
DATA=303-Chandler-PROPFIND-1
|
||||
10
testing/tests/regression-suite/306-Chandler-PUT-1.test
Normal file
10
testing/tests/regression-suite/306-Chandler-PUT-1.test
Normal file
@ -0,0 +1,10 @@
|
||||
#
|
||||
# PUT request like Chandler does it.
|
||||
#
|
||||
TYPE=PUT
|
||||
URL=http://mycaldav/caldav.php/user1/home/71e2ae82-7870-11db-c6d6-f6927c144649.ics
|
||||
HEADER=Content-Type: text/calendar
|
||||
HEAD
|
||||
#
|
||||
# Somewhat atypical Chandler data since I insisted it use a timezone on this occasion
|
||||
DATA=71e2ae82-7870-11db-c6d6-f6927c144649.ics
|
||||
10
testing/tests/regression-suite/307-Chandler-PUT-2.test
Normal file
10
testing/tests/regression-suite/307-Chandler-PUT-2.test
Normal file
@ -0,0 +1,10 @@
|
||||
#
|
||||
# PUT request like Chandler does it.
|
||||
#
|
||||
TYPE=PUT
|
||||
URL=http://mycaldav/caldav.php/user1/home/da81c0ee-7871-11db-c6d6-f6927c144649.ics
|
||||
HEADER=Content-Type: text/calendar
|
||||
HEAD
|
||||
#
|
||||
# More typical Chandler data, without any timezone information.
|
||||
DATA=da81c0ee-7871-11db-c6d6-f6927c144649.ics
|
||||
@ -0,0 +1,31 @@
|
||||
BEGIN:VCALENDAR
|
||||
VERSION:2.0
|
||||
PRODID:-//PYVOBJECT//NONSGML Version 1//EN
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:Pacific/Auckland
|
||||
BEGIN:STANDARD
|
||||
DTSTART:20000319T030000
|
||||
RRULE:FREQ=YEARLY;BYDAY=3SU;BYMONTH=3
|
||||
TZNAME:Pacific/Auckland
|
||||
TZOFFSETFROM:+1300
|
||||
TZOFFSETTO:+1200
|
||||
END:STANDARD
|
||||
BEGIN:DAYLIGHT
|
||||
DTSTART:20001001T020000
|
||||
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=10
|
||||
TZNAME:Pacific/Auckland
|
||||
TZOFFSETFROM:+1200
|
||||
TZOFFSETTO:+1300
|
||||
END:DAYLIGHT
|
||||
END:VTIMEZONE
|
||||
BEGIN:VEVENT
|
||||
UID:71e2ae82-7870-11db-c6d6-f6927c144649
|
||||
DTSTART;TZID=Pacific/Auckland:20061103T160000
|
||||
DTEND;TZID=Pacific/Auckland:20061103T174500
|
||||
DESCRIPTION:
|
||||
LOCATION:Level 3
|
||||
RRULE:FREQ=WEEKLY;INTERVAL=2;UNTIL=20071222T235900
|
||||
STATUS:CONFIRMED
|
||||
SUMMARY:Beer O'Clock
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
@ -0,0 +1,14 @@
|
||||
BEGIN:VCALENDAR
|
||||
VERSION:2.0
|
||||
PRODID:-//PYVOBJECT//NONSGML Version 1//EN
|
||||
BEGIN:VEVENT
|
||||
UID:da81c0ee-7871-11db-c6d6-f6927c144649
|
||||
DTSTART:20061103T073000
|
||||
DTEND:20061103T093000
|
||||
DESCRIPTION:
|
||||
LOCATION:Olivia's
|
||||
RRULE:FREQ=MONTHLY
|
||||
STATUS:CONFIRMED
|
||||
SUMMARY:Morning Mgmt Mtg
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
Loading…
x
Reference in New Issue
Block a user