From cbe4aeb84b3ce117fbfa343d773557faf2464565 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 24 Jan 2016 08:06:22 +0000 Subject: [PATCH] Added unit tests for testing CLASS in iCalendarObject/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 4bb5dbc..82cf879 100644 --- a/source/tests/xestiacalendar_icaleventload.h +++ b/source/tests/xestiacalendar_icaleventload.h @@ -69,4 +69,9 @@ TEST(iCalendarEvent, ObjectDataTests){ ASSERT_EQ("Europe/Truro", TestEvent.DateTimeStartDataTimeZoneID); ASSERT_EQ("PARAMONE=YES;PARAMTWO=NO", TestEvent.DateTimeStartDataTokens); + // Tests for CLASS. + + ASSERT_EQ("PUBLIC", TestEvent.ClassData); + ASSERT_EQ("CHOCOLATE=BAR", TestEvent.ClassDataTokens); + } \ No newline at end of file -- 2.39.5