From 450cbaea519327c0c2fad5c3c5b45664e36d78f1 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 31 Jan 2016 15:03:21 +0000 Subject: [PATCH] Added unit tests for RRULE in iCalendarJournal/ObjectDataTests. --- source/tests/xestiacalendar_icaljournalload.h | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.39.5