From: Steve Brokenshire Date: Sun, 31 Jan 2016 12:48:31 +0000 (+0000) Subject: Added unit tests for RRULE in iCalendarTask/ObjectDataTests. X-Git-Tag: release-0.02~541 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=283d2feb3180b5225e1db99f9529d380bd31104a;p=xestiacalendar%2F.git Added unit tests for RRULE in iCalendarTask/ObjectDataTests. --- 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