From: Steve Brokenshire Date: Sun, 31 Jan 2016 11:06:43 +0000 (+0000) Subject: Added unit tests for COMPLETED in iCalendarTask/ObjectDataTests. X-Git-Tag: release-0.02~581 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=4a9244ea35bdbed898ee685c6e84aa44ee5cb886;p=xestiacalendar%2F.git Added unit tests for COMPLETED in iCalendarTask/ObjectDataTests. --- diff --git a/source/tests/xestiacalendar_icaltaskload.h b/source/tests/xestiacalendar_icaltaskload.h index aa75bd4..50c72a3 100644 --- a/source/tests/xestiacalendar_icaltaskload.h +++ b/source/tests/xestiacalendar_icaltaskload.h @@ -49,4 +49,9 @@ TEST(iCalendarTask, ObjectDataTests){ ASSERT_EQ("PUBLIC", TestTask.ClassData); ASSERT_EQ("CHOCOLATE=NONE", TestTask.ClassDataTokens); + // Tests for COMPLETED. + + ASSERT_EQ("20160131T110100Z", TestTask.CompletedData); + ASSERT_EQ("LYING=NEVER", TestTask.CompletedDataTokens); + } \ No newline at end of file