From: Steve Brokenshire Date: Sun, 24 Jan 2016 11:23:29 +0000 (+0000) Subject: Added unit tests for SUMMARY in iCalendarEvent/ObjectDataTests. X-Git-Tag: release-0.02~674 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=ee7faafb4e5231dba030f8cbae5b83b7d4987118;p=xestiacalendar%2F.git Added unit tests for SUMMARY in iCalendarEvent/ObjectDataTests. --- 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