From aac22b1893b4dd307a9ee717fd04be94c1470ef9 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 31 Jan 2016 14:46:58 +0000 Subject: [PATCH] Replaced unit tests for LOCATION with ORGANIZER for ContactJournalObject. --- source/tests/xestiacalendar_icaljournalload.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/source/tests/xestiacalendar_icaljournalload.h b/source/tests/xestiacalendar_icaljournalload.h index 53a9849..14ad1ce 100644 --- a/source/tests/xestiacalendar_icaljournalload.h +++ b/source/tests/xestiacalendar_icaljournalload.h @@ -61,11 +61,13 @@ 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); + // Tests for ORGANIZER. + + ASSERT_EQ("mailto:organiser@example.com", TestJournal.OrganiserData); + ASSERT_EQ("ExampleOrganiser", TestJournal.OrganiserDataCommonName); + ASSERT_EQ("null:nodata", TestJournal.OrganiserDataDirectoryEntry); + ASSERT_EQ("mailto:organiser.noreply@example.com", TestJournal.OrganiserDataSentByParam); + ASSERT_EQ("kw", TestJournal.OrganiserDataLanguage); + ASSERT_EQ("HAPPY=DAYS", TestJournal.OrganiserDataTokens); } \ No newline at end of file -- 2.39.5