From 7dac42063956d94b14b568317cff1eee1a92ad01 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 31 Jan 2016 12:19:12 +0000 Subject: [PATCH] Added unit tests for RECURRENCE-ID in iCalendarTask/ObjectDataTests. --- source/tests/xestiacalendar_icaltaskload.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/tests/xestiacalendar_icaltaskload.h b/source/tests/xestiacalendar_icaltaskload.h index dbe632a..db631b5 100644 --- a/source/tests/xestiacalendar_icaltaskload.h +++ b/source/tests/xestiacalendar_icaltaskload.h @@ -130,4 +130,12 @@ TEST(iCalendarTask, ObjectDataTests){ ASSERT_EQ(5, TestTask.PriorityData); ASSERT_EQ("STATUS=DEFAULT", TestTask.PriorityTokens); + // Tests for RECURRENCE-ID. + + ASSERT_EQ("20160131", TestTask.RecurranceIDData); + ASSERT_EQ("Europe/Truro", TestTask.RecurranceIDDataTimeZoneParam); + ASSERT_EQ("THISANDFUTURE", TestTask.RecurranceIDDataRangeParam); + ASSERT_EQ("DATE", TestTask.RecurranceIDDataValue); + ASSERT_EQ("EXAMPLE=DATA", TestTask.RecurranceIDDataTokens); + } \ No newline at end of file -- 2.39.5