diff options
author | Nora <nora.widdecke@tu-bs.de> | 2019-03-27 14:43:34 +0100 |
---|---|---|
committer | Nora <nora.widdecke@tu-bs.de> | 2019-03-27 14:43:34 +0100 |
commit | ed4cc3097c36ec90aaeff721c33b55008947aeb4 (patch) | |
tree | 2538045a7d45694ef87249acc7e453aa796e437c /src/testdata.rs | |
parent | f53b677adbc70a1367c764979df4bf2303bf36f7 (diff) |
move duration handling to icalwrap/icalvcalendar
Diffstat (limited to 'src/testdata.rs')
-rw-r--r-- | src/testdata.rs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/testdata.rs b/src/testdata.rs index b975699..9fc9c7e 100644 --- a/src/testdata.rs +++ b/src/testdata.rs @@ -48,6 +48,36 @@ pub static TEST_EVENT_MULTIDAY_LASTMODIFIED: &str = indoc!(" END:VCALENDAR "); +pub static TEST_DTSTART_ONLY_DATE: &str = indoc!(" + BEGIN:VCALENDAR + VERSION:2.0 + PRODID:-//ABC Corporation//NONSGML My Product//EN + BEGIN:VEVENT + UID:20070423T123432Z-541111@example.com + DTSTAMP:20070423T123432Z + DTSTART;VALUE=DATE:20070628 + SUMMARY:Festival International de Jazz de Montreal + LOCATION:LDB Lobby + TRANSP:TRANSPARENT + END:VEVENT + END:VCALENDAR +"); + +pub static TEST_DTSTART_ONLY_DATETIME: &str = indoc!(" + BEGIN:VCALENDAR + VERSION:2.0 + PRODID:-//ABC Corporation//NONSGML My Product//EN + BEGIN:VEVENT + UID:20070423T123432Z-541111@example.com + DTSTAMP:20070423T123432Z + DTSTART:20070628T132900 + SUMMARY:Festival International de Jazz de Montreal + LOCATION:LDB Lobby + TRANSP:TRANSPARENT + END:VEVENT + END:VCALENDAR +"); + pub static TEST_EVENT_EMPTY_SUMMARY: &str = indoc!(" BEGIN:VCALENDAR VERSION:2.0 |