From e977f2da4de43ff1ae20c784b2559d3ba261b8ad Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 31 Jan 2016 11:09:27 +0000 Subject: [PATCH] Added unit tests for CREATED in iCalendarTask/ObjectDataTests. --- source/tests/xestiacalendar_icaltaskload.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/tests/xestiacalendar_icaltaskload.h b/source/tests/xestiacalendar_icaltaskload.h index 50c72a3..e67be93 100644 --- a/source/tests/xestiacalendar_icaltaskload.h +++ b/source/tests/xestiacalendar_icaltaskload.h @@ -54,4 +54,9 @@ TEST(iCalendarTask, ObjectDataTests){ ASSERT_EQ("20160131T110100Z", TestTask.CompletedData); ASSERT_EQ("LYING=NEVER", TestTask.CompletedDataTokens); + // Tests for CREATED. + + ASSERT_EQ("20160131T080000Z", TestTask.DateTimeCreatedData); + ASSERT_EQ("CARAMEL=PLEASE", TestTask.DateTimeCreatedTokens); + } \ No newline at end of file -- 2.39.5