From 9f7f29785a32214fba84df27c2e88de11cf1de6f Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 24 Jan 2016 08:13:11 +0000 Subject: [PATCH] Added unit tests for testing CREATED in iCalendarObject/ObjectDataTests. --- source/tests/xestiacalendar_icaleventload.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source/tests/xestiacalendar_icaleventload.h b/source/tests/xestiacalendar_icaleventload.h index 82cf879..87f7bd5 100644 --- a/source/tests/xestiacalendar_icaleventload.h +++ b/source/tests/xestiacalendar_icaleventload.h @@ -73,5 +73,10 @@ TEST(iCalendarEvent, ObjectDataTests){ ASSERT_EQ("PUBLIC", TestEvent.ClassData); ASSERT_EQ("CHOCOLATE=BAR", TestEvent.ClassDataTokens); - + + // Tests for CREATED. + + ASSERT_EQ("20160123T081100Z", TestEvent.DateTimeCreatedData); + ASSERT_EQ("CARAMEL=PLEASE", TestEvent.DateTimeCreatedTokens); + } \ No newline at end of file -- 2.39.5