From: Steve Brokenshire Date: Sun, 24 Jan 2016 08:06:22 +0000 (+0000) Subject: Added unit tests for testing CLASS in iCalendarObject/ObjectDataTests. X-Git-Tag: release-0.02~711 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=cbe4aeb84b3ce117fbfa343d773557faf2464565;p=xestiacalendar%2F.git Added unit tests for testing CLASS in iCalendarObject/ObjectDataTests. --- 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