From: Steve Brokenshire Date: Sun, 24 Jan 2016 09:50:19 +0000 (+0000) Subject: Added unit tests for LOCATION in iCalendarEvent/ObjectDataTests. X-Git-Tag: release-0.02~694 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=5fc0ae868330aad63fd420dafb6db0a221848971;p=xestiacalendar%2F.git Added unit tests for LOCATION in iCalendarEvent/ObjectDataTests. --- 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