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>
This commit is contained in:
25
test/data/ical-003.ical
Normal file
25
test/data/ical-003.ical
Normal file
@@ -0,0 +1,25 @@
|
||||
BEGIN:VCALENDAR
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
DTSTART:20000101T000000
|
||||
DURATION:PT1H30M0S
|
||||
RRULE:FREQ=DAILY;INTERVAL=2;UNTIL=20000201T000000;WKST=SU
|
||||
EXDATE:20000115T000000,20000123T000000
|
||||
SUMMARY:Recurring appointment
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART:20000101T000000
|
||||
DURATION:PT1H30M0S
|
||||
RRULE:FREQ=WEEKLY;INTERVAL=1;UNTIL=20000201T000000;WKST=SU
|
||||
EXDATE:20000122T000000
|
||||
SUMMARY:Weekly appointment
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTART:20000201T000000
|
||||
DURATION:PT1H30M0S
|
||||
RRULE:FREQ=DAILY;INTERVAL=2;UNTIL=20000301T000000;WKST=SU
|
||||
EXDATE:20000215T000000
|
||||
EXDATE:20000223T000000
|
||||
SUMMARY:Recurring appointment
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
Reference in New Issue
Block a user