From 1b1dd52f958223c89dba730bc2fda7b3ce59b0ed Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 31 Jan 2016 11:50:24 +0000 Subject: [PATCH] Added unit tests for LOCATION in iCalendarTask/ObjectDataTests. --- source/tests/xestiacalendar_icaltaskload.h | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.39.5