From bc4101e33e39ade01665e0580e172930d6e5cde4 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 24 Jan 2016 09:30:14 +0000 Subject: [PATCH] Added unit tests for LAST-MODIFIED in iCalendarEvent/ObjectDataTests. --- source/tests/xestiacalendar_icaleventload.h | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.39.5