From 5fc0ae868330aad63fd420dafb6db0a221848971 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 24 Jan 2016 09:50:19 +0000 Subject: [PATCH] Added unit tests for LOCATION in iCalendarEvent/ObjectDataTests. --- source/tests/xestiacalendar_icaleventload.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/tests/xestiacalendar_icaleventload.h b/source/tests/xestiacalendar_icaleventload.h index 534f47e..ffa5a91 100644 --- a/source/tests/xestiacalendar_icaleventload.h +++ b/source/tests/xestiacalendar_icaleventload.h @@ -116,5 +116,12 @@ TEST(iCalendarEvent, ObjectDataTests){ ASSERT_EQ("20160124T093000Z", TestEvent.LastModifiedData); ASSERT_EQ("FUTURE=ODD", TestEvent.LastModifiedTokens); + + // Test for LOCATION. + + ASSERT_EQ("The Basement, Truro", TestEvent.LocationData); + ASSERT_EQ("null:nodata", TestEvent.LocationDataAltRep); + ASSERT_EQ("kw", TestEvent.LocationDataLanguage); + ASSERT_EQ("EXACT=NO", TestEvent.LocationDataTokens); } \ No newline at end of file -- 2.39.5