From: Steve Brokenshire Date: Sun, 31 Jan 2016 11:50:24 +0000 (+0000) Subject: Added unit tests for LOCATION in iCalendarTask/ObjectDataTests. X-Git-Tag: release-0.02~565 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=1b1dd52f958223c89dba730bc2fda7b3ce59b0ed;p=xestiacalendar%2F.git Added unit tests for LOCATION in iCalendarTask/ObjectDataTests. --- diff --git a/source/tests/xestiacalendar_icaltaskload.h b/source/tests/xestiacalendar_icaltaskload.h index 9e19253..4855d85 100644 --- a/source/tests/xestiacalendar_icaltaskload.h +++ b/source/tests/xestiacalendar_icaltaskload.h @@ -104,4 +104,11 @@ TEST(iCalendarTask, ObjectDataTests){ ASSERT_EQ("20160131T114200Z", TestTask.LastModifiedData); ASSERT_EQ("FUTURE=EVEN", TestTask.LastModifiedTokens); + // Tests for LOCATION. + + ASSERT_EQ("The Crystal Ceiling, Truro", TestTask.LocationData); + ASSERT_EQ("null:nodata", TestTask.LocationDataAltRep); + ASSERT_EQ("kw", TestTask.LocationDataLanguage); + ASSERT_EQ("EXACT=YES", TestTask.LocationDataTokens); + } \ No newline at end of file