summaryrefslogtreecommitdiffstats
path: root/src/testdata.rs
diff options
context:
space:
mode:
authorNora <nora.widdecke@tu-bs.de>2018-10-31 14:27:41 +0100
committerNora <nora.widdecke@tu-bs.de>2018-10-31 14:27:41 +0100
commitc289285d210c5f1c5f4897d7d877bee070cdaa2b (patch)
tree59f7bbe7f31d39de24b4c3b1b92e8ce07f52a4ed /src/testdata.rs
parenteca3a005af5fb6a7ba73602d910747bb0c364a5d (diff)
add testcase single meeting
Diffstat (limited to 'src/testdata.rs')
-rw-r--r--src/testdata.rs25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/testdata.rs b/src/testdata.rs
index 869f81e..38c5bab 100644
--- a/src/testdata.rs
+++ b/src/testdata.rs
@@ -12,3 +12,28 @@ pub static TEST_EVENT_MULTIDAY: &str = indoc!("
END:VEVENT
END:VCALENDAR
");
+
+// from https://tools.ietf.org/html/rfc5545#section-4
+pub static TEST_EVENT_ONE_MEETING: &str = indoc!("
+ BEGIN:VCALENDAR
+ METHOD:xyz
+ VERSION:2.0
+ PRODID:-//ABC Corporation//NONSGML My Product//EN
+ BEGIN:VEVENT
+ DTSTAMP:19970324T120000Z
+ SEQUENCE:0
+ UID:uid3@example.com
+ ORGANIZER:mailto:jdoe@example.com
+ ATTENDEE;RSVP=TRUE:mailto:jsmith@example.com
+ DTSTART:19970324T123000Z
+ DTEND:19970324T210000Z
+ CATEGORIES:MEETING,PROJECT
+ CLASS:PUBLIC
+ SUMMARY:Calendaring Interoperability Planning Meeting
+ DESCRIPTION:Discuss how we can test c&s interoperability\n
+ using iCalendar and other IETF standards.
+ LOCATION:LDB Lobby
+ ATTACH;FMTTYPE=application/postscript:ftp://example.com/pub/conf/bkgrnd.ps
+ END:VEVENT
+ END:VCALENDAR
+");