mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-07-13 10:40:20 +00:00
More regression tests.
This commit is contained in:
parent
7c3482cc89
commit
493632a437
7
testing/tests/regression-suite/012-Mulberry-PUT-2.test
Normal file
7
testing/tests/regression-suite/012-Mulberry-PUT-2.test
Normal 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
|
||||
10
testing/tests/regression-suite/013-Mulberry-PROPFIND-5.test
Normal file
10
testing/tests/regression-suite/013-Mulberry-PROPFIND-5.test
Normal 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
|
||||
7
testing/tests/regression-suite/014-Mulberry-PUT-3.test
Normal file
7
testing/tests/regression-suite/014-Mulberry-PUT-3.test
Normal 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
|
||||
10
testing/tests/regression-suite/015-Mulberry-PROPFIND-6.test
Normal file
10
testing/tests/regression-suite/015-Mulberry-PROPFIND-6.test
Normal 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
|
||||
@ -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
|
||||
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user