aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/ical-002.ical
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2014-07-28 12:24:21 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2014-07-28 12:43:00 +0200
commit81894cbbd8496dee4ea6d62d6ffc820482b4197d (patch)
tree2e3ccc05e11cca1da3e8f46c09774c1936181dcf /test/data/ical-002.ical
parent132cf86a6f10b965a10f5c736e320d61c20cee77 (diff)
downloadcalcurse-81894cbbd8496dee4ea6d62d6ffc820482b4197d.tar.gz
calcurse-81894cbbd8496dee4ea6d62d6ffc820482b4197d.zip
tests/: Add basic iCal import tests
Tests ical-002.sh and ical-003.sh currently fail due to bugs in duration and exception parsing. Reported-by: HÃ¥kan Jerning <jerning@home.se> Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'test/data/ical-002.ical')
-rw-r--r--test/data/ical-002.ical28
1 files changed, 28 insertions, 0 deletions
diff --git a/test/data/ical-002.ical b/test/data/ical-002.ical
new file mode 100644
index 0000000..915b84e
--- /dev/null
+++ b/test/data/ical-002.ical
@@ -0,0 +1,28 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+BEGIN:VEVENT
+DTSTART:20000101T000000
+DURATION:P1DT0H0M0S
+SUMMARY:One day
+END:VEVENT
+BEGIN:VEVENT
+DTSTART:20000101T000000
+DURATION:P1DT1H1M1S
+SUMMARY:One day, one hour, one minute and one second
+END:VEVENT
+BEGIN:VEVENT
+DTSTART:20000101T000000
+DURATION:PT1H1M1S
+SUMMARY:One hour, one minute and one second
+END:VEVENT
+BEGIN:VEVENT
+DTSTART:20000101T000000
+DURATION:PT1M1S
+SUMMARY:One minute and one second
+END:VEVENT
+BEGIN:VEVENT
+DTSTART:20000101T000000
+DURATION:PT1S
+SUMMARY:One second
+END:VEVENT
+END:VCALENDAR