From: Steve Brokenshire Date: Sun, 31 Jan 2016 15:03:21 +0000 (+0000) Subject: Added unit tests for RRULE in iCalendarJournal/ObjectDataTests. X-Git-Tag: release-0.02~469 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=450cbaea519327c0c2fad5c3c5b45664e36d78f1;p=xestiacalendar%2F.git Added unit tests for RRULE in iCalendarJournal/ObjectDataTests. --- diff --git a/source/tests/xestiacalendar_icaljournalload.h b/source/tests/xestiacalendar_icaljournalload.h index a18be03..c654058 100644 --- a/source/tests/xestiacalendar_icaljournalload.h +++ b/source/tests/xestiacalendar_icaljournalload.h @@ -101,4 +101,9 @@ TEST(iCalendarJournal, ObjectDataTests){ ASSERT_EQ("http://www.example.com/", TestJournal.URLData); ASSERT_EQ("EXTERNAL=YES", TestJournal.URLDataTokens); + // Tests for RRULE. + + ASSERT_EQ("FREQ=DAILY;COUNT=10", TestJournal.RecurranceRuleData); + ASSERT_EQ("TEST=DATA", TestJournal.RecurranceRuleDataTokens); + } \ No newline at end of file