From 3792eb3e835462df41a4cec845a9d99428978ddf Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 31 Jan 2016 12:35:59 +0000 Subject: [PATCH] Added unit tests for SUMMARY in iCalendarTask/ObjectDataTests. --- source/tests/xestiacalendar_icaltaskload.h | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.39.5