From d6567b300876b7e4cfbaef39283d42b1ea31543f Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 31 Jan 2016 14:34:44 +0000 Subject: [PATCH] Added unit tests for CLASS in iCalendarJournal/ObjectDataTests. --- source/tests/xestiacalendar_icaljournalload.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/tests/xestiacalendar_icaljournalload.h b/source/tests/xestiacalendar_icaljournalload.h index c9284a2..a20ca43 100644 --- a/source/tests/xestiacalendar_icaljournalload.h +++ b/source/tests/xestiacalendar_icaljournalload.h @@ -44,4 +44,9 @@ TEST(iCalendarJournal, ObjectDataTests){ ASSERT_EQ("b3a16392-ad86-4061-be53-c215af2306c1", TestJournal.UniqueID); ASSERT_EQ("UNIQUEPARAM=CERTAINLY;OKAY=MAYBENOT", TestJournal.UniqueIDTokens); + // Tests for CLASS. + + ASSERT_EQ("PUBLIC", TestJournal.ClassData); + ASSERT_EQ("CHOCOLATE=BAR", TestJournal.ClassDataTokens); + } \ No newline at end of file -- 2.39.5