More regression tests.

This commit is contained in:
Andrew McMillan 2006-11-04 14:30:01 +13:00
parent 7c3482cc89
commit 493632a437
6 changed files with 98 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#
# We now have a calendar so we can PUT an event into it...
TYPE=PUT
URL=http://mycaldav/caldav.php/user1/home/3F4CF6227300FD062D9EF3CDFB30D32D-0.ics
HEADER=Content-Type: text/calendar; charset=utf-8
HEAD
DATA=3F4CF6227300FD062D9EF3CDFB30D32D-0.ics

View File

@ -0,0 +1,10 @@
#
# Before creating a calendar in Mulberry, we should be able
# to do a PROPFIND and it should not be there.
TYPE=PROPFIND
URL=http://mycaldav/caldav.php/user1/home/
HEADER=Depth: 1
HEADER=Content-Type: text/xml; charset=utf-8
HEAD
# We re-use the data from the PROPFIND request before we made the calendar
DATA=003-Mulberry-1

View File

@ -0,0 +1,7 @@
#
# We now have a calendar so we can PUT an event into it...
TYPE=PUT
URL=http://mycaldav/caldav.php/user1/home/3F4CF6227300FD062D9EF3CDFB30D32D-0.ics
HEADER=Content-Type: text/calendar; charset=utf-8
HEAD
DATA=3F4CF6227300FD062D9EF3CDFB30D32D-0-modified.ics

View File

@ -0,0 +1,10 @@
#
# Before creating a calendar in Mulberry, we should be able
# to do a PROPFIND and it should not be there.
TYPE=PROPFIND
URL=http://mycaldav/caldav.php/user1/home/
HEADER=Depth: 1
HEADER=Content-Type: text/xml; charset=utf-8
HEAD
# We re-use the data from the PROPFIND request before we made the calendar
DATA=003-Mulberry-1

View File

@ -0,0 +1,33 @@
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//mulberrymail.com//Mulberry v4.0//EN
VERSION:2.0
BEGIN:VTIMEZONE
LAST-MODIFIED:20040110T032845Z
TZID:New Zealand Standard Time
X-LIC-LOCATION:Pacific/Auckland
BEGIN:DAYLIGHT
DTSTART:20000404T020000
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
TZNAME:NZDT
TZOFFSETFROM:+1200
TZOFFSETTO:+1300
END:DAYLIGHT
BEGIN:STANDARD
DTSTART:20001026T020000
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=10
TZNAME:NZST
TZOFFSETFROM:+1300
TZOFFSETTO:+1200
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP:20061102T090217Z
DTSTART;TZID=New Zealand Standard Time:20061102T123000
DURATION:PT1H
LAST-MODIFIED:20061104T002921Z
SEQUENCE:1
SUMMARY:Lunch with David
UID:5A55230C8866CA8D3D325F3A@CA1CBED546AAE36FF3BC722E
END:VEVENT
END:VCALENDAR

View File

@ -0,0 +1,31 @@
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//mulberrymail.com//Mulberry v4.0//EN
VERSION:2.0
BEGIN:VTIMEZONE
LAST-MODIFIED:20040110T032845Z
TZID:New Zealand Standard Time
X-LIC-LOCATION:Pacific/Auckland
BEGIN:DAYLIGHT
DTSTART:20000404T020000
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
TZNAME:NZDT
TZOFFSETFROM:+1200
TZOFFSETTO:+1300
END:DAYLIGHT
BEGIN:STANDARD
DTSTART:20001026T020000
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=10
TZNAME:NZST
TZOFFSETFROM:+1300
TZOFFSETTO:+1200
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP:20061102T090217Z
DTSTART;TZID=New Zealand Standard Time:20061103T123000
DURATION:PT1H
SUMMARY:Lunch with David
UID:5A55230C8866CA8D3D325F3A@CA1CBED546AAE36FF3BC722E
END:VEVENT
END:VCALENDAR