diff options
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/ical-005.ical | 2 | ||||
-rw-r--r-- | test/data/ical-009.ical | 18 | ||||
-rw-r--r-- | test/data/ical-012.ical | 26 | ||||
-rw-r--r-- | test/data/ical-014.ical | 106 |
4 files changed, 129 insertions, 23 deletions
diff --git a/test/data/ical-005.ical b/test/data/ical-005.ical index 5f20f48..e417779 100644 --- a/test/data/ical-005.ical +++ b/test/data/ical-005.ical @@ -18,6 +18,6 @@ TRANSP:TRANSPARENT END:VEVENT BEGIN:VEVENT SUMMARY:On day 2 -DTSTART;VALUE=DATE:20131003 +DTSTART;VALUE=DATE:20131004 END:VEVENT END:VCALENDAR diff --git a/test/data/ical-009.ical b/test/data/ical-009.ical index b5a6575..14bf4eb 100644 --- a/test/data/ical-009.ical +++ b/test/data/ical-009.ical @@ -1,9 +1,9 @@ BEGIN:VCALENDAR VERSION:2.0 BEGIN:VEVENT -DTSTART:20200318T084100 DURATION:PT1H30M0S SUMMARY:A simple appointment +DTSTART:20200318T084100 END:VEVENT BEGIN:VTODO PRIORITY:1 @@ -12,6 +12,10 @@ END:VTODO BEGIN:VEVENT DTSTART: DURATION:PT1H30M0S +SUMMARY:invalid start time +END:VEVENT +BEGIN:VEVENT +DURATION:PT1H30M0S SUMMARY:missing start time END:VEVENT BEGIN:VEVENT @@ -39,6 +43,12 @@ END:VEVENT BEGIN:VEVENT DTSTART:20200318T084100 DURATION:PT1H30M0S +EXDATE:20200324T084100 +SUMMARY:exdate\, missing rrule +END:VEVENT +BEGIN:VEVENT +DTSTART:20200318T084100 +DURATION:PT1H30M0S SUMMARY:Summary with more than\none line END:VEVENT BEGIN:VEVENT @@ -66,12 +76,6 @@ END:VTODO BEGIN:VEVENT DTSTART:20200406T221300 DURATION:PT0H15M0S -SUMMARY:Invalid STATUS -STATUS:confirmed -END:VEVENT -BEGIN:VEVENT -DTSTART:20200406T221300 -DURATION:PT0H15M0S SUMMARY:LOCATION twice LOCATION:first LOCATION:second diff --git a/test/data/ical-012.ical b/test/data/ical-012.ical index 09385fb..05604af 100644 --- a/test/data/ical-012.ical +++ b/test/data/ical-012.ical @@ -19,9 +19,8 @@ END:VEVENT BEGIN:VEVENT DTSTART:20200404T084100 DURATION:PT1H30M0S -SUMMARY:No description. Comment and status +SUMMARY:no description\, but comment COMMENT:Event without description: a comment\nstreching over\nthree lines -STATUS:CONFIRMED END:VEVENT BEGIN:VEVENT @@ -42,11 +41,10 @@ END:VEVENT BEGIN:VEVENT DTSTART:20200404T204500 DURATION:PT1H30M0S -SUMMARY:description\, status\, comment and location -DESCRIPTION:event with\ndescription\nstatus\ncomment\nand location +SUMMARY:description\, comment and location +DESCRIPTION:event with\ndescription\ncomment\nand location LOCATION: Right here -COMMENT:just a repetition of description:\nevent with\ndescription\nstatus\ncomment\nand location -STATUS:CANCELLED +COMMENT:just a repetition of description:\nevent with\ndescription\ncomment\nand location END:VEVENT BEGIN:VTODO @@ -64,9 +62,8 @@ END:VTODO BEGIN:VTODO PRIORITY:4 -SUMMARY:Comment and status -COMMENT:Todo with out description. A comment\nstreching over\nthree lines -STATUS:NEEDS-ACTION +SUMMARY:no description\, but comment +COMMENT:Todo without description. A comment\nstreching over\nthree lines END:VTODO BEGIN:VTODO @@ -77,17 +74,16 @@ END:VTODO BEGIN:VTODO PRIORITY:6 -SUMMARY:Empty description\,but status +SUMMARY:Empty description DESCRIPTION: -STATUS:COMPLETED END:VTODO BEGIN:VTODO -SUMMARY:todo with description\, status\, comment and location -DESCRIPTION:todo with\ndescription\nstatus\ncomment\nand location\,\nbut no priority +SUMMARY:todo with description\, comment and location +DESCRIPTION:todo with\ndescription\ncomment\nand location\,\nbut no priority LOCATION: Right here -COMMENT:mostly a repetition of description:\ntodo with\ndescription\nstatus\ncomment\nand location -STATUS:IN-PROCESS +COMMENT:mostly a repetition of description:\ntodo with\ndescription\ncomment\nand location +STATUS:COMPLETED END:VTODO END:VCALENDAR diff --git a/test/data/ical-014.ical b/test/data/ical-014.ical new file mode 100644 index 0000000..19076bc --- /dev/null +++ b/test/data/ical-014.ical @@ -0,0 +1,106 @@ +BEGIN:VCALENDAR +VERSION:2.0 + +BEGIN:VEVENT +DTSTART:20200404T204500 +DURATION:PT1H30M0S +SUMMARY:event with one-line description +DESCRIPTION:event with one-line description +END:VEVENT + +BEGIN:VEVENT +DTSTART:20200404T204500 +DURATION:PT1H30M0S +SUMMARY:description and location +DESCRIPTION:event with description\nand location +LOCATION:Right here +END:VEVENT + +BEGIN:VEVENT +DTSTART:20200404T084100 +DURATION:PT1H30M0S +SUMMARY:no description\, but comment +COMMENT:Event without description: a comment\nstreching over\nthree lines +END:VEVENT + +BEGIN:VEVENT +DTSTART:20200404T084100 +DURATION:PT1H30M0S +SUMMARY:Empty description +DESCRIPTION: +END:VEVENT + +BEGIN:VEVENT +DTSTART:20200404T084100 +DURATION:PT1H30M0S +SUMMARY:Empty description\, but comment +DESCRIPTION: +COMMENT:event with empty description +END:VEVENT + +BEGIN:VEVENT +DTSTART:20200404T204500 +DURATION:PT1H30M0S +SUMMARY:description\, comment and location +DESCRIPTION:event with\ndescription\ncomment\nand location +LOCATION:Right here +COMMENT:just a repetition of description:\nevent with\ndescription\ncomment\nand location +END:VEVENT + +BEGIN:VTODO +PRIORITY:2 +SUMMARY:todo with one-line description +DESCRIPTION:todo with one-line description +END:VTODO + +BEGIN:VTODO +PRIORITY:3 +SUMMARY:description and location +DESCRIPTION:todo with description\nand location +LOCATION:Right here +END:VTODO + +BEGIN:VTODO +PRIORITY:4 +SUMMARY:no description\, but comment +COMMENT:Todo without description. A comment\nstreching over\nthree lines +END:VTODO + +BEGIN:VTODO +PRIORITY:5 +SUMMARY:Empty description +DESCRIPTION: +END:VTODO + +BEGIN:VTODO +PRIORITY:6 +SUMMARY:Empty description +DESCRIPTION: +END:VTODO + +BEGIN:VTODO +SUMMARY:todo with description\, comment and location +DESCRIPTION:todo with\ndescription\ncomment\nand location\,\nbut no priority +LOCATION:Right here +COMMENT:mostly a repetition of description:\ntodo with\ndescription\ncomment\nand location +STATUS:COMPLETED +END:VTODO + +BEGIN:VEVENT +SUMMARY:Five days +DESCRIPTION:A five-day event turned into a recurring one-day event +COMMENT:Note file has Comment: and Import: +DTSTART;VALUE=DATE:20200819 +DTEND;VALUE=DATE:20200824 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:CET +DESCRIPTION:Date with local time and time zone reference +LOCATION:Central Europe +COMMENT:\nCET\n\n +DTSTART;TZID=CET:20150223T110000 +DURATION:PT1H +END:VEVENT + +END:VCALENDAR |