X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Ftests%2Fxestiacalendar_icaleventload.h;h=68c7339df88316ed1ecdc3f5b3c5032dfd84a770;hb=06e48ec6d91cfde818da8377a7f29d523ef485e3;hp=534f47e0b3b468bc2f41cb1fd6258fb82d81ff72;hpb=bc4101e33e39ade01665e0580e172930d6e5cde4;p=xestiacalendar%2F.git diff --git a/source/tests/xestiacalendar_icaleventload.h b/source/tests/xestiacalendar_icaleventload.h index 534f47e..68c7339 100644 --- a/source/tests/xestiacalendar_icaleventload.h +++ b/source/tests/xestiacalendar_icaleventload.h @@ -112,9 +112,25 @@ TEST(iCalendarEvent, ObjectDataTests){ ASSERT_EQ("5.0;5.0", TestEvent.GeographicData); ASSERT_EQ("EXAMPLE=MEEP", TestEvent.GeographicTokens); - // Test for LAST-MODIFIED. + // Tests for LAST-MODIFIED. ASSERT_EQ("20160124T093000Z", TestEvent.LastModifiedData); ASSERT_EQ("FUTURE=ODD", TestEvent.LastModifiedTokens); + + // Tests for LOCATION. + + ASSERT_EQ("The Basement, Truro", TestEvent.LocationData); + ASSERT_EQ("null:nodata", TestEvent.LocationDataAltRep); + ASSERT_EQ("kw", TestEvent.LocationDataLanguage); + ASSERT_EQ("EXACT=NO", TestEvent.LocationDataTokens); + + // Tests for ORGANIZER. + + ASSERT_EQ("mailto:organiser@example.com", TestEvent.OrganiserData); + ASSERT_EQ("ExampleOrganiser", TestEvent.OrganiserDataCommonName); + ASSERT_EQ("null:nodata", TestEvent.OrganiserDataDirectoryEntry); + ASSERT_EQ("mailto:organiser.noreply@example.com", TestEvent.OrganiserDataSentByParam); + ASSERT_EQ("kw", TestEvent.OrganiserDataLanguage); + ASSERT_EQ("HAPPY=DAYS", TestEvent.OrganiserDataTokens); } \ No newline at end of file