From b43bae9530e82a63306d326c9c3f55570abedaaa Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 24 Jan 2016 15:18:15 +0000 Subject: [PATCH] Added unit tests for RRULE in iCalendarEvent/ObjectDataTests. --- source/tests/xestiacalendar_icaleventload.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/tests/xestiacalendar_icaleventload.h b/source/tests/xestiacalendar_icaleventload.h index baff32a..8523da2 100644 --- a/source/tests/xestiacalendar_icaleventload.h +++ b/source/tests/xestiacalendar_icaleventload.h @@ -174,4 +174,9 @@ TEST(iCalendarEvent, ObjectDataTests){ ASSERT_EQ("DATE", TestEvent.RecurranceIDDataValue); ASSERT_EQ("EXAMPLE=DATA", TestEvent.RecurranceIDDataTokens); + // Tests for RRULE. + + ASSERT_EQ("FREQ=DAILY;COUNT=10", TestEvent.RecurranceRuleData); + ASSERT_EQ("TEST=DATA", TestEvent.RecurranceRuleDataTokens); + } \ No newline at end of file -- 2.39.5