From: Steve Brokenshire Date: Sun, 31 Jan 2016 14:42:53 +0000 (+0000) Subject: Added unit tests for LOCATION in iCalendarJournal/ObjectDataTests. X-Git-Tag: release-0.02~487 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=0391d3b44ed7d1eb889385674238e4a81c8a32e4;p=xestiacalendar%2F.git Added unit tests for LOCATION in iCalendarJournal/ObjectDataTests. --- diff --git a/source/tests/xestiacalendar_icaljournalload.h b/source/tests/xestiacalendar_icaljournalload.h index 04a3a79..53a9849 100644 --- a/source/tests/xestiacalendar_icaljournalload.h +++ b/source/tests/xestiacalendar_icaljournalload.h @@ -61,4 +61,11 @@ TEST(iCalendarJournal, ObjectDataTests){ ASSERT_EQ("20160131T143700Z", TestJournal.LastModifiedData); ASSERT_EQ("FUTURE=YES", TestJournal.LastModifiedTokens); + // Tests for LOCATION. + + ASSERT_EQ("The Middle Floors, Truro", TestJournal.LocationData); + ASSERT_EQ("null:nodata", TestJournal.LocationDataAltRep); + ASSERT_EQ("kw", TestJournal.LocationDataLanguage); + ASSERT_EQ("EXACT=NO", TestJournal.LocationDataTokens); + } \ No newline at end of file