From: Steve Brokenshire Date: Sun, 31 Jan 2016 10:58:01 +0000 (+0000) Subject: Added unit tests for CLASS in iCalendarTask/ObjectDataTests. X-Git-Tag: release-0.02~585 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=f25a0d37fd1edc1904cc8ac5d5286e4f8bee4ff3;p=xestiacalendar%2F.git Added unit tests for CLASS in iCalendarTask/ObjectDataTests. --- diff --git a/source/tests/xestiacalendar_icaltaskload.h b/source/tests/xestiacalendar_icaltaskload.h index 952365f..aa75bd4 100644 --- a/source/tests/xestiacalendar_icaltaskload.h +++ b/source/tests/xestiacalendar_icaltaskload.h @@ -44,4 +44,9 @@ TEST(iCalendarTask, ObjectDataTests){ ASSERT_EQ("b3a16392-ad86-4061-be53-c215af2306e1", TestTask.UniqueID); ASSERT_EQ("UNIQUEPARAM=CERTAINLY;OKAY=MAYBENOT", TestTask.UniqueIDTokens); + // Tests for CLASS. + + ASSERT_EQ("PUBLIC", TestTask.ClassData); + ASSERT_EQ("CHOCOLATE=NONE", TestTask.ClassDataTokens); + } \ No newline at end of file