summaryrefslogtreecommitdiff
path: root/test/Resource
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2013-07-17 15:19:33 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2013-07-17 15:19:33 (GMT)
commit358afce60a38f8e6da0dba9fdc0241237e2947d5 (patch)
tree337150ac8f96dc78a18e1aa7d122b11f455ddbf0 /test/Resource
parent113f921dfeece7e3115fd861016c4943e0cc0571 (diff)
downloadiRony-358afce60a38f8e6da0dba9fdc0241237e2947d5.tar.gz
Add integration tests based on the CalDAVTester suite
Diffstat (limited to 'test/Resource')
-rw-r--r--test/Resource/CalDAV/caldaviop/1/1_1.txt31
-rw-r--r--test/Resource/CalDAV/caldaviop/1/1_2.txt31
-rw-r--r--test/Resource/CalDAV/caldaviop/1/1_3.txt34
-rw-r--r--test/Resource/CalDAV/caldaviop/1/1_4.txt34
-rw-r--r--test/Resource/CalDAV/caldaviop/2/2_1.txt33
-rw-r--r--test/Resource/CalDAV/caldaviop/2/2_2.txt33
-rw-r--r--test/Resource/CalDAV/caldaviop/2/2_3.txt33
-rw-r--r--test/Resource/CalDAV/caldaviop/2/2_4.txt36
-rw-r--r--test/Resource/CalDAV/caldaviop/2/2_5.txt40
-rw-r--r--test/Resource/CalDAV/caldaviop/2/2_6.txt43
-rw-r--r--test/Resource/CalDAV/caldaviop/2/2_7.txt35
-rw-r--r--test/Resource/CalDAV/caldaviop/2/2_8.txt44
-rw-r--r--test/Resource/CalDAV/caldaviop/2/2_9.txt40
-rw-r--r--test/Resource/CalDAV/caldaviop/4/4_1.txt30
-rw-r--r--test/Resource/CalDAV/caldaviop/4/4_2.txt31
-rw-r--r--test/Resource/CalDAV/caldaviop/4/4_3.txt39
-rw-r--r--test/Resource/CalDAV/caldaviop/4/4_4a.txt31
-rw-r--r--test/Resource/CalDAV/caldaviop/4/4_4b.txt34
-rw-r--r--test/Resource/CalDAV/caldaviop/4/4_5a.txt39
-rw-r--r--test/Resource/CalDAV/caldaviop/4/4_5b.txt34
-rw-r--r--test/Resource/CalDAV/ctag/1.xml6
-rw-r--r--test/Resource/CalDAV/ctag/2.ics33
-rw-r--r--test/Resource/CalDAV/ctag/3.xml11
-rw-r--r--test/Resource/CalDAV/current-user-principal/1.xml6
-rw-r--r--test/Resource/CalDAV/event/1.txt30
-rw-r--r--test/Resource/CalDAV/event/2.txt31
-rw-r--r--test/Resource/CalDAV/event/3.txt32
-rw-r--r--test/Resource/CalDAV/event/4.txt34
28 files changed, 888 insertions, 0 deletions
diff --git a/test/Resource/CalDAV/caldaviop/1/1_1.txt b/test/Resource/CalDAV/caldaviop/1/1_1.txt
new file mode 100644
index 0000000..02d4093
--- /dev/null
+++ b/test/Resource/CalDAV/caldaviop/1/1_1.txt
@@ -0,0 +1,31 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+DTSTAMP:20051228T232517Z
+DTSTART;TZID=US/Eastern:$now.year.1:0109T090000
+DURATION:PT1H
+LOCATION:Durham
+SUMMARY:Meeting 1.1
+UID:1-1_1
+END:VEVENT
+END:VCALENDAR
diff --git a/test/Resource/CalDAV/caldaviop/1/1_2.txt b/test/Resource/CalDAV/caldaviop/1/1_2.txt
new file mode 100644
index 0000000..26c859a
--- /dev/null
+++ b/test/Resource/CalDAV/caldaviop/1/1_2.txt
@@ -0,0 +1,31 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+DTSTAMP:20051228T232548Z
+DTSTART;TZID=US/Eastern:$now.year.1:0109T100000
+DURATION:PT1H
+RRULE:FREQ=WEEKLY;COUNT=4
+SUMMARY:Meeting 1.2
+UID:1-1_2
+END:VEVENT
+END:VCALENDAR
diff --git a/test/Resource/CalDAV/caldaviop/1/1_3.txt b/test/Resource/CalDAV/caldaviop/1/1_3.txt
new file mode 100644
index 0000000..b7e1415
--- /dev/null
+++ b/test/Resource/CalDAV/caldaviop/1/1_3.txt
@@ -0,0 +1,34 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED:$cuaddr1:
+ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE:$cuaddr2:
+ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE:$cuaddr3:
+DTSTAMP:20051228T232640Z
+DTSTART;TZID=US/Eastern:$now.year.1:0109T111500
+DURATION:PT1H
+ORGANIZER;CN=$username1::$cuaddr1:
+SUMMARY:Meeting 1.3
+UID:1-1_3
+END:VEVENT
+END:VCALENDAR
diff --git a/test/Resource/CalDAV/caldaviop/1/1_4.txt b/test/Resource/CalDAV/caldaviop/1/1_4.txt
new file mode 100644
index 0000000..5a69565
--- /dev/null
+++ b/test/Resource/CalDAV/caldaviop/1/1_4.txt
@@ -0,0 +1,34 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+DTSTAMP:20051228T234558Z
+DTSTART;TZID=US/Eastern:$now.year.1:0109T120000
+DURATION:PT1H
+SUMMARY:Meeting 1.4
+UID:1-1_4
+BEGIN:VALARM
+ACTION:AUDIO
+TRIGGER;RELATED=START:-PT15M
+END:VALARM
+END:VEVENT
+END:VCALENDAR
diff --git a/test/Resource/CalDAV/caldaviop/2/2_1.txt b/test/Resource/CalDAV/caldaviop/2/2_1.txt
new file mode 100644
index 0000000..1e40ee2
--- /dev/null
+++ b/test/Resource/CalDAV/caldaviop/2/2_1.txt
@@ -0,0 +1,33 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+DTSTAMP:20051228T232517Z
+DTSTART;TZID=US/Eastern:$now.year.1:0109T090000
+DURATION:PT1H
+LAST-MODIFIED:20051229T031237Z
+LOCATION:Durham
+SEQUENCE:1
+SUMMARY:Meeting 1.1bis
+UID:1-1_1
+END:VEVENT
+END:VCALENDAR
diff --git a/test/Resource/CalDAV/caldaviop/2/2_2.txt b/test/Resource/CalDAV/caldaviop/2/2_2.txt
new file mode 100644
index 0000000..4e6ca18
--- /dev/null
+++ b/test/Resource/CalDAV/caldaviop/2/2_2.txt
@@ -0,0 +1,33 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+DTSTAMP:20051228T232517Z
+DTSTART;TZID=US/Eastern:$now.year.1:0109T090000
+DURATION:PT1H
+LAST-MODIFIED:20051229T031253Z
+LOCATION:Seattle bis
+SEQUENCE:2
+SUMMARY:Meeting 1.1bis
+UID:1-1_1
+END:VEVENT
+END:VCALENDAR
diff --git a/test/Resource/CalDAV/caldaviop/2/2_3.txt b/test/Resource/CalDAV/caldaviop/2/2_3.txt
new file mode 100644
index 0000000..51b0f06
--- /dev/null
+++ b/test/Resource/CalDAV/caldaviop/2/2_3.txt
@@ -0,0 +1,33 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+DTSTAMP:20051228T232517Z
+DTSTART;TZID=US/Eastern:$now.year.1:0110T090000
+DURATION:PT1H
+LAST-MODIFIED:20051229T031307Z
+LOCATION:Seattle bis
+SEQUENCE:3
+SUMMARY:Meeting 1.1bis
+UID:1-1_1
+END:VEVENT
+END:VCALENDAR
diff --git a/test/Resource/CalDAV/caldaviop/2/2_4.txt b/test/Resource/CalDAV/caldaviop/2/2_4.txt
new file mode 100644
index 0000000..f37ef76
--- /dev/null
+++ b/test/Resource/CalDAV/caldaviop/2/2_4.txt
@@ -0,0 +1,36 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;ROLE=CHAIR:$cuaddr1:
+ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE:$cuaddr2:
+DTSTAMP:20051228T232517Z
+DTSTART;TZID=US/Eastern:$now.year.1:0110T090000
+DURATION:PT1H
+LAST-MODIFIED:20051229T031335Z
+LOCATION:Seattle bis
+ORGANIZER;CN=$username1::$cuaddr1:
+SEQUENCE:4
+SUMMARY:Meeting 1.1bis
+UID:1-1_1
+END:VEVENT
+END:VCALENDAR
diff --git a/test/Resource/CalDAV/caldaviop/2/2_5.txt b/test/Resource/CalDAV/caldaviop/2/2_5.txt
new file mode 100644
index 0000000..857e604
--- /dev/null
+++ b/test/Resource/CalDAV/caldaviop/2/2_5.txt
@@ -0,0 +1,40 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;ROLE=CHAIR:$cuaddr1:
+ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE:$cuaddr2:
+DTSTAMP:20051228T232517Z
+DTSTART;TZID=US/Eastern:$now.year.1:0110T090000
+DURATION:PT1H
+LAST-MODIFIED:20051229T031502Z
+LOCATION:Seattle bis
+ORGANIZER;CN=$username1::$cuaddr1:
+SEQUENCE:5
+SUMMARY:Meeting 1.1bis
+UID:1-1_1
+BEGIN:VALARM
+ACTION:AUDIO
+TRIGGER;RELATED=START:-PT15M
+END:VALARM
+END:VEVENT
+END:VCALENDAR
diff --git a/test/Resource/CalDAV/caldaviop/2/2_6.txt b/test/Resource/CalDAV/caldaviop/2/2_6.txt
new file mode 100644
index 0000000..b0267b5
--- /dev/null
+++ b/test/Resource/CalDAV/caldaviop/2/2_6.txt
@@ -0,0 +1,43 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+DTSTAMP:20051228T232548Z
+DTSTART;TZID=US/Eastern:$now.year.1:0109T100000
+DURATION:PT1H
+LAST-MODIFIED:20051229T031626Z
+RRULE:FREQ=WEEKLY;COUNT=4
+SEQUENCE:1
+SUMMARY:Meeting 1.2
+UID:1-1_2
+END:VEVENT
+BEGIN:VEVENT
+DTSTAMP:20051228T232548Z
+DTSTART;TZID=US/Eastern:$now.year.1:0109T100000
+DURATION:PT1H
+LAST-MODIFIED:20051229T031626Z
+SEQUENCE:1
+SUMMARY:Meeting 1.2bis
+UID:1-1_2
+RECURRENCE-ID:$now.year.1:0109T150000Z
+END:VEVENT
+END:VCALENDAR
diff --git a/test/Resource/CalDAV/caldaviop/2/2_7.txt b/test/Resource/CalDAV/caldaviop/2/2_7.txt
new file mode 100644
index 0000000..6231689
--- /dev/null
+++ b/test/Resource/CalDAV/caldaviop/2/2_7.txt
@@ -0,0 +1,35 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED:$cuaddr1:
+ATTENDEE;PARTSTAT=DECLINED;ROLE=REQ-PARTICIPANT;RSVP=TRUE:$cuaddr2:
+ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE:$cuaddr3:
+DTSTAMP:20051228T232640Z
+DTSTART;TZID=US/Eastern:$now.year.1:0109T111500
+DURATION:PT1H
+ORGANIZER;CN=$username1::$cuaddr1:
+SEQUENCE:1
+SUMMARY:Meeting 1.3
+UID:1-1_3
+END:VEVENT
+END:VCALENDAR
diff --git a/test/Resource/CalDAV/caldaviop/2/2_8.txt b/test/Resource/CalDAV/caldaviop/2/2_8.txt
new file mode 100644
index 0000000..564b4d6
--- /dev/null
+++ b/test/Resource/CalDAV/caldaviop/2/2_8.txt
@@ -0,0 +1,44 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+DTSTAMP:20051228T232548Z
+DTSTART;TZID=US/Eastern:$now.year.1:0109T100000
+DURATION:PT1H
+EXDATE;TZID=US/Eastern:$now.year.1:0130T100000
+LAST-MODIFIED:20051229T031649Z
+RRULE:FREQ=WEEKLY;COUNT=4
+SEQUENCE:2
+SUMMARY:Meeting 1.2
+UID:1-1_2
+END:VEVENT
+BEGIN:VEVENT
+DTSTAMP:20051228T232548Z
+DTSTART;TZID=US/Eastern:$now.year.1:0109T100000
+DURATION:PT1H
+LAST-MODIFIED:20051229T031626Z
+SEQUENCE:2
+SUMMARY:Meeting 1.2bis
+UID:1-1_2
+RECURRENCE-ID:$now.year.1:0109T150000Z
+END:VEVENT
+END:VCALENDAR
diff --git a/test/Resource/CalDAV/caldaviop/2/2_9.txt b/test/Resource/CalDAV/caldaviop/2/2_9.txt
new file mode 100644
index 0000000..50e6c66
--- /dev/null
+++ b/test/Resource/CalDAV/caldaviop/2/2_9.txt
@@ -0,0 +1,40 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;ROLE=CHAIR:$cuaddr1:
+ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE:$cuaddr2:
+DTSTAMP:20051228T232517Z
+DTSTART;TZID=US/Eastern:$now.year.1:0110T120000
+DURATION:PT1H
+LAST-MODIFIED:20051229T031502Z
+LOCATION:Seattle bis
+ORGANIZER;CN=$username1::$cuaddr1:
+SEQUENCE:5
+SUMMARY:Meeting 1.1bis
+UID:1-1_1
+BEGIN:VALARM
+ACTION:AUDIO
+TRIGGER;RELATED=START:-PT15M
+END:VALARM
+END:VEVENT
+END:VCALENDAR
diff --git a/test/Resource/CalDAV/caldaviop/4/4_1.txt b/test/Resource/CalDAV/caldaviop/4/4_1.txt
new file mode 100644
index 0000000..b4ef093
--- /dev/null
+++ b/test/Resource/CalDAV/caldaviop/4/4_1.txt
@@ -0,0 +1,30 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+DTSTAMP:20051229T035051Z
+DTSTART;TZID=US/Eastern:$now.year.1:0109T110000
+DURATION:PT1H
+SUMMARY:Meeting 4.1
+UID:4-4_1
+END:VEVENT
+END:VCALENDAR
diff --git a/test/Resource/CalDAV/caldaviop/4/4_2.txt b/test/Resource/CalDAV/caldaviop/4/4_2.txt
new file mode 100644
index 0000000..7f28371
--- /dev/null
+++ b/test/Resource/CalDAV/caldaviop/4/4_2.txt
@@ -0,0 +1,31 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+DTSTAMP:20051229T035131Z
+DTSTART;TZID=US/Eastern:$now.year.1:0109T120000
+DURATION:PT1H
+RRULE:FREQ=DAILY;COUNT=5
+SUMMARY:Meeting 4.2
+UID:4-4_2
+END:VEVENT
+END:VCALENDAR
diff --git a/test/Resource/CalDAV/caldaviop/4/4_3.txt b/test/Resource/CalDAV/caldaviop/4/4_3.txt
new file mode 100644
index 0000000..f46dc65
--- /dev/null
+++ b/test/Resource/CalDAV/caldaviop/4/4_3.txt
@@ -0,0 +1,39 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+DTSTAMP:20051229T035241Z
+DTSTART;TZID=US/Eastern:$now.year.1:0109T130000
+DURATION:PT1H
+RRULE:FREQ=DAILY;COUNT=5
+SUMMARY:Meeting 4.3
+UID:4-4_3
+END:VEVENT
+BEGIN:VEVENT
+DTSTAMP:20051229T035241Z
+DTSTART;TZID=US/Eastern:$now.year.1:0110T130000
+DURATION:PT2H
+RECURRENCE-ID:$now.year.1:0110T180000Z
+SUMMARY:Meeting 4.3
+UID:4-4_3
+END:VEVENT
+END:VCALENDAR
diff --git a/test/Resource/CalDAV/caldaviop/4/4_4a.txt b/test/Resource/CalDAV/caldaviop/4/4_4a.txt
new file mode 100644
index 0000000..8cd09bc
--- /dev/null
+++ b/test/Resource/CalDAV/caldaviop/4/4_4a.txt
@@ -0,0 +1,31 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+DTSTAMP:20051229T035317Z
+DTSTART;TZID=US/Eastern:$now.year.1:0109T140000
+DURATION:PT1H
+RRULE:FREQ=DAILY;COUNT=5
+SUMMARY:Meeting 4.4
+UID:4-4_4
+END:VEVENT
+END:VCALENDAR
diff --git a/test/Resource/CalDAV/caldaviop/4/4_4b.txt b/test/Resource/CalDAV/caldaviop/4/4_4b.txt
new file mode 100644
index 0000000..fc3ef20
--- /dev/null
+++ b/test/Resource/CalDAV/caldaviop/4/4_4b.txt
@@ -0,0 +1,34 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+DTSTAMP:20051229T035317Z
+DTSTART;TZID=US/Eastern:$now.year.1:0109T140000
+DURATION:PT1H
+EXDATE;TZID=US/Eastern:$now.year.1:0110T140000
+LAST-MODIFIED:20051229T035328Z
+RRULE:FREQ=DAILY;COUNT=5
+SEQUENCE:1
+SUMMARY:Meeting 4.4
+UID:4-4_4
+END:VEVENT
+END:VCALENDAR
diff --git a/test/Resource/CalDAV/caldaviop/4/4_5a.txt b/test/Resource/CalDAV/caldaviop/4/4_5a.txt
new file mode 100644
index 0000000..21a066d
--- /dev/null
+++ b/test/Resource/CalDAV/caldaviop/4/4_5a.txt
@@ -0,0 +1,39 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+DTSTAMP:20051229T035352Z
+DTSTART;TZID=US/Eastern:$now.year.1:0109T150000
+DURATION:PT1H
+RRULE:FREQ=DAILY;COUNT=5
+SUMMARY:Meeting 4.5
+UID:4-4_5
+END:VEVENT
+BEGIN:VEVENT
+DTSTAMP:20051229T035352Z
+DTSTART;TZID=US/Eastern:$now.year.1:0110T150000
+DURATION:PT2H
+RECURRENCE-ID:$now.year.1:0110T200000Z
+SUMMARY:Meeting 4.5
+UID:4-4_5
+END:VEVENT
+END:VCALENDAR
diff --git a/test/Resource/CalDAV/caldaviop/4/4_5b.txt b/test/Resource/CalDAV/caldaviop/4/4_5b.txt
new file mode 100644
index 0000000..a5ce450
--- /dev/null
+++ b/test/Resource/CalDAV/caldaviop/4/4_5b.txt
@@ -0,0 +1,34 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+DTSTAMP:20051229T035352Z
+DTSTART;TZID=US/Eastern:$now.year.1:0109T150000
+DURATION:PT1H
+EXDATE;TZID=US/Eastern:$now.year.1:0110T150000
+LAST-MODIFIED:20051229T035404Z
+RRULE:FREQ=DAILY;COUNT=5
+SEQUENCE:1
+SUMMARY:Meeting 4.5
+UID:4-4_5
+END:VEVENT
+END:VCALENDAR
diff --git a/test/Resource/CalDAV/ctag/1.xml b/test/Resource/CalDAV/ctag/1.xml
new file mode 100644
index 0000000..657fa27
--- /dev/null
+++ b/test/Resource/CalDAV/ctag/1.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<D:propfind xmlns:D="DAV:" xmlns:A="http://calendarserver.org/ns/">
+<D:prop>
+<A:getctag/>
+</D:prop>
+</D:propfind>
diff --git a/test/Resource/CalDAV/ctag/2.ics b/test/Resource/CalDAV/ctag/2.ics
new file mode 100644
index 0000000..b259a29
--- /dev/null
+++ b/test/Resource/CalDAV/ctag/2.ics
@@ -0,0 +1,33 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+DTSTAMP:20051222T205953Z
+CREATED:20060101T150000Z
+DTSTART;TZID=US/Eastern:$now.year.1:0101T100000
+DURATION:PT1H
+SUMMARY:event 1
+UID:2
+ORGANIZER;CN=$username1::$cuaddr2:
+ATTENDEE;CN=$username2::$cuaddr1:
+END:VEVENT
+END:VCALENDAR
diff --git a/test/Resource/CalDAV/ctag/3.xml b/test/Resource/CalDAV/ctag/3.xml
new file mode 100644
index 0000000..2ab1ce8
--- /dev/null
+++ b/test/Resource/CalDAV/ctag/3.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<D:propfind xmlns:D="DAV:" xmlns:A="http://calendarserver.org/ns/" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:I="com.apple.ical:">
+<D:prop>
+<D:resourcetype/>
+<D:displayname/>
+<A:getctag/>
+<I:calendarcolor/>
+<C:calendar-description/>
+<D:resourcetype/>
+</D:prop>
+</D:propfind>
diff --git a/test/Resource/CalDAV/current-user-principal/1.xml b/test/Resource/CalDAV/current-user-principal/1.xml
new file mode 100644
index 0000000..dffedc6
--- /dev/null
+++ b/test/Resource/CalDAV/current-user-principal/1.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<D:propfind xmlns:D="DAV:">
+<D:prop>
+<D:current-user-principal/>
+</D:prop>
+</D:propfind>
diff --git a/test/Resource/CalDAV/event/1.txt b/test/Resource/CalDAV/event/1.txt
new file mode 100644
index 0000000..c5b7f9b
--- /dev/null
+++ b/test/Resource/CalDAV/event/1.txt
@@ -0,0 +1,30 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+DTSTAMP:20051222T205953Z
+DTSTART;TZID=US/Eastern:$now.year.1:0101T100000
+DURATION:PT1H
+SUMMARY:event 1
+UID:1
+END:VEVENT
+END:VCALENDAR
diff --git a/test/Resource/CalDAV/event/2.txt b/test/Resource/CalDAV/event/2.txt
new file mode 100644
index 0000000..68a601b
--- /dev/null
+++ b/test/Resource/CalDAV/event/2.txt
@@ -0,0 +1,31 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Mountain
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:MDT
+TZOFFSETFROM:-0700
+TZOFFSETTO:-0600
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:MST
+TZOFFSETFROM:-0600
+TZOFFSETTO:-0700
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+DTSTAMP:20051222T210052Z
+DTSTART;TZID=US/Mountain:$now.year.1:0101T110000
+DURATION:PT1H
+SUMMARY:event 2
+DESCRIPTION:Some notes
+UID:2
+END:VEVENT
+END:VCALENDAR
diff --git a/test/Resource/CalDAV/event/3.txt b/test/Resource/CalDAV/event/3.txt
new file mode 100644
index 0000000..7cb5da6
--- /dev/null
+++ b/test/Resource/CalDAV/event/3.txt
@@ -0,0 +1,32 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Pacific
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:PDT
+TZOFFSETFROM:-0800
+TZOFFSETTO:-0700
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:PST
+TZOFFSETFROM:-0700
+TZOFFSETTO:-0800
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+DTSTAMP:20051222T210146Z
+DTSTART;TZID=US/Pacific:$now.year.1:0101T130000
+DURATION:PT1H
+LAST-MODIFIED:20051222T210203Z
+SEQUENCE:1
+SUMMARY:event 3
+UID:3
+END:VEVENT
+END:VCALENDAR
diff --git a/test/Resource/CalDAV/event/4.txt b/test/Resource/CalDAV/event/4.txt
new file mode 100644
index 0000000..b078d46
--- /dev/null
+++ b/test/Resource/CalDAV/event/4.txt
@@ -0,0 +1,34 @@
+BEGIN:VCALENDAR
+CALSCALE:GREGORIAN
+PRODID:-//Example Inc.//Example Calendar//EN
+VERSION:2.0
+BEGIN:VTIMEZONE
+LAST-MODIFIED:20040110T032845Z
+TZID:US/Eastern
+BEGIN:DAYLIGHT
+DTSTART:20000404T020000
+RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
+TZNAME:EDT
+TZOFFSETFROM:-0500
+TZOFFSETTO:-0400
+END:DAYLIGHT
+BEGIN:STANDARD
+DTSTART:20001026T020000
+RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
+TZNAME:EST
+TZOFFSETFROM:-0400
+TZOFFSETTO:-0500
+END:STANDARD
+END:VTIMEZONE
+BEGIN:VEVENT
+DTSTAMP:20051222T210310Z
+DTSTART;TZID=US/Eastern:$now.year.1:0101T180000
+DURATION:PT1H
+SUMMARY:event 4
+UID:4
+BEGIN:VALARM
+ACTION:AUDIO
+TRIGGER;RELATED=START:-PT10M
+END:VALARM
+END:VEVENT
+END:VCALENDAR