From: Steve Brokenshire Date: Sun, 24 Jan 2016 08:13:11 +0000 (+0000) Subject: Added unit tests for testing CREATED in iCalendarObject/ObjectDataTests. X-Git-Tag: release-0.02~706 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=9f7f29785a32214fba84df27c2e88de11cf1de6f;p=xestiacalendar%2F.git Added unit tests for testing CREATED in iCalendarObject/ObjectDataTests. --- 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