From 283d2feb3180b5225e1db99f9529d380bd31104a Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 31 Jan 2016 12:48:31 +0000 Subject: [PATCH] Added unit tests for RRULE in iCalendarTask/ObjectDataTests. --- source/tests/xestiacalendar_icaltaskload.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/tests/xestiacalendar_icaltaskload.h b/source/tests/xestiacalendar_icaltaskload.h index 62cccb5..5a786dc 100644 --- a/source/tests/xestiacalendar_icaltaskload.h +++ b/source/tests/xestiacalendar_icaltaskload.h @@ -161,4 +161,9 @@ TEST(iCalendarTask, ObjectDataTests){ ASSERT_EQ("http://www.example.com/", TestTask.URLData); ASSERT_EQ("EXTERNAL=YES", TestTask.URLDataTokens); + // Tests for RRULE. + + ASSERT_EQ("FREQ=DAILY;COUNT=10", TestTask.RecurranceRuleData); + ASSERT_EQ("TEST=DATA", TestTask.RecurranceRuleDataTokens); + } \ No newline at end of file -- 2.39.5