From: Steve Brokenshire Date: Sun, 31 Jan 2016 12:35:59 +0000 (+0000) Subject: Added unit tests for SUMMARY in iCalendarTask/ObjectDataTests. X-Git-Tag: release-0.02~547 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=3792eb3e835462df41a4cec845a9d99428978ddf;p=xestiacalendar%2F.git Added unit tests for SUMMARY in iCalendarTask/ObjectDataTests. --- diff --git a/source/tests/xestiacalendar_icaltaskload.h b/source/tests/xestiacalendar_icaltaskload.h index 747b53c..8f5c586 100644 --- a/source/tests/xestiacalendar_icaltaskload.h +++ b/source/tests/xestiacalendar_icaltaskload.h @@ -149,4 +149,11 @@ TEST(iCalendarTask, ObjectDataTests){ ASSERT_EQ("kw", TestTask.StatusLanguage); ASSERT_EQ("FAVOURITE=BEANS;NOTLIKE=UNKNOWN", TestTask.StatusTokens); + // Tests for SUMMARY. + + ASSERT_EQ("A summary of the todo.", TestTask.SummaryData); + ASSERT_EQ("null:nodata", TestTask.SummaryDataAltRep); + ASSERT_EQ("kw", TestTask.SummaryDataLanguage); + ASSERT_EQ("FAVOURITE=TOFU;NOTLIKE=NONE", TestTask.SummaryDataTokens); + } \ No newline at end of file