summaryrefslogtreecommitdiff
path: root/test/Resource/CalDAV/ctag
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/CalDAV/ctag
parent113f921dfeece7e3115fd861016c4943e0cc0571 (diff)
downloadiRony-358afce60a38f8e6da0dba9fdc0241237e2947d5.tar.gz
Add integration tests based on the CalDAVTester suite
Diffstat (limited to 'test/Resource/CalDAV/ctag')
-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
3 files changed, 50 insertions, 0 deletions
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>