summaryrefslogtreecommitdiff
path: root/tests/libedata-cal/components
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2017-02-17 12:56:16 +0100
committerMilan Crha <mcrha@redhat.com>2017-03-21 18:19:48 +0100
commit45fa2c5a4d4d81a6820929ebde9a63694200ade2 (patch)
tree8322ec0d696a0e28612c8cb5d26f6acea35c7824 /tests/libedata-cal/components
parentaa2539c09b87454aab7ff1fa0d5b32c9c53cb759 (diff)
downloadevolution-data-server-45fa2c5a4d4d81a6820929ebde9a63694200ade2.tar.gz
Add first few tests for ECalCache
Diffstat (limited to 'tests/libedata-cal/components')
-rw-r--r--tests/libedata-cal/components/event-1.ics18
-rw-r--r--tests/libedata-cal/components/event-2.ics12
-rw-r--r--tests/libedata-cal/components/event-3.ics11
-rw-r--r--tests/libedata-cal/components/event-4.ics11
-rw-r--r--tests/libedata-cal/components/event-5.ics18
5 files changed, 70 insertions, 0 deletions
diff --git a/tests/libedata-cal/components/event-1.ics b/tests/libedata-cal/components/event-1.ics
new file mode 100644
index 000000000..39eaa5889
--- /dev/null
+++ b/tests/libedata-cal/components/event-1.ics
@@ -0,0 +1,18 @@
+BEGIN:VEVENT
+UID:event-1
+DTSTAMP:20170130T000000Z
+CREATED:20170216T155507Z
+LAST-MODIFIED:20170216T155543Z
+SEQUENCE:1
+DTSTART:20170209T013000Z
+DTEND:20170209T030000Z
+SUMMARY:Alarmed
+DESCRIPTION:Event with alarm
+CLASS:PUBLIC
+TRANSP:OPACHE
+BEGIN:VALARM
+TRIGGER:-PT30M
+ACTION:DISPLAY
+DESCRIPTION:Reminder
+END:VALARM
+END:VEVENT
diff --git a/tests/libedata-cal/components/event-2.ics b/tests/libedata-cal/components/event-2.ics
new file mode 100644
index 000000000..3b6efef95
--- /dev/null
+++ b/tests/libedata-cal/components/event-2.ics
@@ -0,0 +1,12 @@
+BEGIN:VEVENT
+UID:event-2
+DTSTAMP:20170103T070000Z
+CREATED:20170216T155507Z
+LAST-MODIFIED:20170216T155543Z
+SEQUENCE:1
+DTSTART:20170103T080000Z
+DTEND:20170103T083000Z
+SUMMARY:First working day
+DESCRIPTION:Multiline\n
+ description text
+END:VEVENT
diff --git a/tests/libedata-cal/components/event-3.ics b/tests/libedata-cal/components/event-3.ics
new file mode 100644
index 000000000..bbbaac524
--- /dev/null
+++ b/tests/libedata-cal/components/event-3.ics
@@ -0,0 +1,11 @@
+BEGIN:VEVENT
+UID:event-3
+DTSTAMP:20170103T070000Z
+CREATED:20170216T155507Z
+LAST-MODIFIED:20170216T155543Z
+SEQUENCE:3
+DTSTART:20170104T100000Z
+DTEND:20170110T120000Z
+SUMMARY:Lunch prepare
+LOCATION:Kitchen
+END:VEVENT
diff --git a/tests/libedata-cal/components/event-4.ics b/tests/libedata-cal/components/event-4.ics
new file mode 100644
index 000000000..fd83a6211
--- /dev/null
+++ b/tests/libedata-cal/components/event-4.ics
@@ -0,0 +1,11 @@
+BEGIN:VEVENT
+UID:event-4
+DTSTAMP:20170102T000000Z
+CREATED:20170216T155507Z
+LAST-MODIFIED:20170216T155543Z
+SEQUENCE:3
+DTSTART:20170102T100000Z
+DTEND:20170102T180000Z
+SUMMARY:After-party clean up
+LOCATION:All around
+END:VEVENT
diff --git a/tests/libedata-cal/components/event-5.ics b/tests/libedata-cal/components/event-5.ics
new file mode 100644
index 000000000..a12a488d9
--- /dev/null
+++ b/tests/libedata-cal/components/event-5.ics
@@ -0,0 +1,18 @@
+BEGIN:VEVENT
+UID:event-5
+DTSTAMP:20101231T000000Z
+CREATED:20170216T155507Z
+LAST-MODIFIED:20170216T155543Z
+SEQUENCE:1
+DTSTART:20091231T000000Z
+DTEND:20100101T235959Z
+SUMMARY:New Year Party
+LOCATION:All around
+CATEGORIES:Holiday,International
+RRULE:FREQ=YEARLY
+BEGIN:VALARM
+ACTION:DISPLAY
+TRIGGER;RELATED=START:-P1D
+DESCRIPTION:New Year Party
+END:VALARM
+END:VEVENT