mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-01 16:11:20 +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.
89 lines
2.3 KiB
Plaintext
89 lines
2.3 KiB
Plaintext
HTTP/1.1 201 Created
|
|
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
|
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
|
DAV: extended-mkcol, bind, addressbook, calendar-auto-schedule, calendar-proxy
|
|
ETag: "c057c3eb789b944e76f4d77fccf36ea1"
|
|
Content-Length: 0
|
|
Content-Type: text/plain; charset="utf-8"
|
|
|
|
|
|
SQL Query 1 Result:
|
|
CalDAV Data: >BEGIN:VCALENDAR
|
|
VERSION:2.0
|
|
PRODID:-//Apple Inc.//iCal 3.0//EN
|
|
CALSCALE:GREGORIAN
|
|
BEGIN:VTIMEZONE
|
|
TZID:Pacific/Auckland
|
|
BEGIN:STANDARD
|
|
TZOFFSETFROM:+1300
|
|
TZOFFSETTO:+1200
|
|
DTSTART:19900318T030000
|
|
RRULE:FREQ=YEARLY;UNTIL=20070317T140000Z;BYMONTH=3;BYDAY=3SU
|
|
TZNAME:NZST
|
|
END:STANDARD
|
|
BEGIN:DAYLIGHT
|
|
TZOFFSETFROM:+1200
|
|
TZOFFSETTO:+1300
|
|
DTSTART:20070930T020000
|
|
RRULE:FREQ=YEARLY;BYMONTH=9;BYDAY=-1SU
|
|
TZNAME:NZDT
|
|
END:DAYLIGHT
|
|
BEGIN:STANDARD
|
|
TZOFFSETFROM:+1300
|
|
TZOFFSETTO:+1200
|
|
DTSTART:20080406T030000
|
|
RRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU
|
|
TZNAME:NZST
|
|
END:STANDARD
|
|
END:VTIMEZONE
|
|
BEGIN:VEVENT
|
|
SEQUENCE:7
|
|
DESCRIPTION:Lunch will be needed
|
|
UID:3C1BF85D-3F28-413F-844F-80EBD33B8EE6
|
|
TRANSP:OPAQUE
|
|
DTSTART;TZID=Pacific/Auckland:20071123T120000
|
|
DTSTAMP:20071124T221900Z
|
|
SUMMARY:Beard Meeting
|
|
CREATED:20071124T221521Z
|
|
DTEND;TZID=Pacific/Auckland:20071123T140000
|
|
RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=4FR
|
|
BEGIN:VALARM
|
|
X-WR-ALARMUID:F5B2B4CF-E7F2-47B3-8243-8CB829E81122
|
|
ACTION:EMAIL
|
|
DESCRIPTION:This is an event reminder
|
|
SUMMARY:Alarm notification
|
|
ATTENDEE:mailto:andrew@mcmillan.net.nz
|
|
TRIGGER:-P8D
|
|
END:VALARM
|
|
BEGIN:VALARM
|
|
X-WR-ALARMUID:3A336F1D-550D-412F-9BDE-EBE8B03E8A53
|
|
ACTION:AUDIO
|
|
TRIGGER:-PT15M
|
|
ATTACH;VALUE=URI:Basso
|
|
END:VALARM
|
|
END:VEVENT
|
|
END:VCALENDAR
|
|
<
|
|
caldav_type: >VEVENT<
|
|
class: >NULL<
|
|
dav_etag: >c057c3eb789b944e76f4d77fccf36ea1<
|
|
description: >Lunch will be needed<
|
|
dtend: >2007-11-23 14:00:00<
|
|
dtstamp: >2007-11-24 22:19:00<
|
|
dtstart: >2007-11-23 12:00:00<
|
|
due: >NULL<
|
|
last_modified: >2007-11-24 22:19:00<
|
|
location: >NULL<
|
|
logged_user: >10<
|
|
percent_complete: >NULL<
|
|
priority: >NULL<
|
|
rrule: >FREQ=MONTHLY;INTERVAL=1;BYDAY=4FR<
|
|
status: >NULL<
|
|
summary: >Beard Meeting<
|
|
transp: >OPAQUE<
|
|
tz_id: >Pacific/Auckland<
|
|
uid: >3C1BF85D-3F28-413F-844F-80EBD33B8EE6<
|
|
url: >NULL<
|
|
user_no: >101<
|
|
|