mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-18 01:31:21 +00:00
This allows us to have more complex test files where an action is taken, then we test something, then another action is taken, etc. Changes to test files are required so that URL is defined after all the required settings are set. Changes to the result files are either whitespace changes due to above logic changes, or printing out a SQL Result header before each result. I figured it was useful.
53 lines
1.5 KiB
Plaintext
53 lines
1.5 KiB
Plaintext
#
|
|
# PUT a new task in the calendar
|
|
#
|
|
TYPE=PUT
|
|
|
|
HEADER=User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.7pre) Gecko/20070805 Calendar/0.7pre
|
|
HEADER=Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
|
|
HEADER=Accept-Language: en-us,en;q=0.5
|
|
HEADER=Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
|
|
HEADER=Content-Type: text/calendar; charset=utf-8
|
|
|
|
HEAD
|
|
|
|
BEGINDATA
|
|
BEGIN:VCALENDAR
|
|
PRODID:-//Mozilla Calendar//NONSGML Sunbird//EN
|
|
VERSION:2.0
|
|
BEGIN:VTIMEZONE
|
|
TZID:/mozilla.org/20070129_1/Antarctica/McMurdo
|
|
X-LIC-LOCATION:Antarctica/McMurdo
|
|
BEGIN:STANDARD
|
|
TZOFFSETFROM:+1300
|
|
TZOFFSETTO:+1200
|
|
TZNAME:NZST
|
|
DTSTART:19700315T030000
|
|
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=3SU;BYMONTH=3
|
|
END:STANDARD
|
|
BEGIN:DAYLIGHT
|
|
TZOFFSETFROM:+1200
|
|
TZOFFSETTO:+1300
|
|
TZNAME:NZDT
|
|
DTSTART:19701004T020000
|
|
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=10
|
|
END:DAYLIGHT
|
|
END:VTIMEZONE
|
|
BEGIN:VTODO
|
|
CREATED:20070806T223244Z
|
|
LAST-MODIFIED:20070806T223411Z
|
|
DTSTAMP:20070806T223244Z
|
|
UID:b1679f77-673d-4f46-b3eb-2420e1bba301
|
|
SUMMARY:A Cancelled Task\, with a start and due date
|
|
STATUS:CANCELLED
|
|
DTSTART;TZID=/mozilla.org/20070129_1/Antarctica/McMurdo:20070808T111500
|
|
DUE;TZID=/mozilla.org/20070129_1/Antarctica/McMurdo:20070808T111500
|
|
X-MOZ-LOCATIONPATH:b1679f77-673d-4f46-b3eb-2420e1bba301.ics
|
|
DESCRIPTION:This is a task with a Start and a Due date\, but it has been
|
|
cancelled.
|
|
END:VTODO
|
|
END:VCALENDAR
|
|
ENDDATA
|
|
|
|
URL=http://regression.host/caldav.php/user1/home/b1679f77-673d-4f46-b3eb-2420e1bba301.ics
|