From 46920599cbb3deaac29bc2c030ac012686f3a17a Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 31 Jan 2016 14:50:16 +0000 Subject: [PATCH] Added unit tests for RECURRENCE-ID in iCalendarJournal/ObjectDataTests. --- source/tests/xestiacalendar_icaljournalload.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/tests/xestiacalendar_icaljournalload.h b/source/tests/xestiacalendar_icaljournalload.h index 14ad1ce..fdcae68 100644 --- a/source/tests/xestiacalendar_icaljournalload.h +++ b/source/tests/xestiacalendar_icaljournalload.h @@ -70,4 +70,12 @@ TEST(iCalendarJournal, ObjectDataTests){ ASSERT_EQ("kw", TestJournal.OrganiserDataLanguage); ASSERT_EQ("HAPPY=DAYS", TestJournal.OrganiserDataTokens); + // Tests for RECURRENCE-ID. + + ASSERT_EQ("20160131", TestJournal.RecurranceIDData); + ASSERT_EQ("Europe/Truro", TestJournal.RecurranceIDDataTimeZoneParam); + ASSERT_EQ("THISANDFUTURE", TestJournal.RecurranceIDDataRangeParam); + ASSERT_EQ("DATE", TestJournal.RecurranceIDDataValue); + ASSERT_EQ("EXAMPLE=DATA", TestJournal.RecurranceIDDataTokens); + } \ No newline at end of file -- 2.39.5