From ee7faafb4e5231dba030f8cbae5b83b7d4987118 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 24 Jan 2016 11:23:29 +0000 Subject: [PATCH] Added unit tests for SUMMARY in iCalendarEvent/ObjectDataTests. --- source/tests/xestiacalendar_icaleventload.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/tests/xestiacalendar_icaleventload.h b/source/tests/xestiacalendar_icaleventload.h index 328c5e8..f862e5b 100644 --- a/source/tests/xestiacalendar_icaleventload.h +++ b/source/tests/xestiacalendar_icaleventload.h @@ -149,4 +149,11 @@ TEST(iCalendarEvent, ObjectDataTests){ ASSERT_EQ("kw", TestEvent.RequestStatusLanguage); ASSERT_EQ("FAVOURITE=RICHTEA;NOTLIKE=UNKNOWN", TestEvent.RequestStatusTokens); + // Tests for SUMMARY. + + ASSERT_EQ("A summary of the event.", TestEvent.SummaryData); + ASSERT_EQ("null:nodata", TestEvent.SummaryDataAltRep); + ASSERT_EQ("kw", TestEvent.SummaryDataLanguage); + ASSERT_EQ("FAVOURITE=TOFU;NOTLIKE=NONE", TestEvent.SummaryDataTokens); + } \ No newline at end of file -- 2.39.5