From: Steve Brokenshire Date: Sun, 24 Jan 2016 09:30:14 +0000 (+0000) Subject: Added unit tests for LAST-MODIFIED in iCalendarEvent/ObjectDataTests. X-Git-Tag: release-0.02~696 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=bc4101e33e39ade01665e0580e172930d6e5cde4;p=xestiacalendar%2F.git Added unit tests for LAST-MODIFIED in iCalendarEvent/ObjectDataTests. --- diff --git a/source/tests/xestiacalendar_icaleventload.h b/source/tests/xestiacalendar_icaleventload.h index 96d40db..534f47e 100644 --- a/source/tests/xestiacalendar_icaleventload.h +++ b/source/tests/xestiacalendar_icaleventload.h @@ -112,4 +112,9 @@ TEST(iCalendarEvent, ObjectDataTests){ ASSERT_EQ("5.0;5.0", TestEvent.GeographicData); ASSERT_EQ("EXAMPLE=MEEP", TestEvent.GeographicTokens); + // Test for LAST-MODIFIED. + + ASSERT_EQ("20160124T093000Z", TestEvent.LastModifiedData); + ASSERT_EQ("FUTURE=ODD", TestEvent.LastModifiedTokens); + } \ No newline at end of file