From: Steve Brokenshire Date: Sun, 31 Jan 2016 14:50:16 +0000 (+0000) Subject: Added unit tests for RECURRENCE-ID in iCalendarJournal/ObjectDataTests. X-Git-Tag: release-0.02~481 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=46920599cbb3deaac29bc2c030ac012686f3a17a;p=xestiacalendar%2F.git Added unit tests for RECURRENCE-ID in iCalendarJournal/ObjectDataTests. --- 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