From 0391d3b44ed7d1eb889385674238e4a81c8a32e4 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 31 Jan 2016 14:42:53 +0000 Subject: [PATCH] Added unit tests for LOCATION in iCalendarJournal/ObjectDataTests. --- source/tests/xestiacalendar_icaljournalload.h | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.39.5