From e5ffd6264d29e3124b22f72aec4f309a8cd36f2c Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 31 Jan 2016 11:54:06 +0000 Subject: [PATCH] Added unit tests for ORGANIZER in iCalendarTask/ObjectDataTests. --- source/tests/xestiacalendar_icaltaskload.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/tests/xestiacalendar_icaltaskload.h b/source/tests/xestiacalendar_icaltaskload.h index 4855d85..a0b3f7d 100644 --- a/source/tests/xestiacalendar_icaltaskload.h +++ b/source/tests/xestiacalendar_icaltaskload.h @@ -111,4 +111,13 @@ TEST(iCalendarTask, ObjectDataTests){ ASSERT_EQ("kw", TestTask.LocationDataLanguage); ASSERT_EQ("EXACT=YES", TestTask.LocationDataTokens); + // Tests for ORGANIZER. + + ASSERT_EQ("mailto:organiser@example.com", TestTask.OrganiserData); + ASSERT_EQ("ExampleOrganiser", TestTask.OrganiserDataCommonName); + ASSERT_EQ("null:nodata", TestTask.OrganiserDataDirectoryEntry); + ASSERT_EQ("mailto:organiser.noreply@example.com", TestTask.OrganiserDataSentByParam); + ASSERT_EQ("kw", TestTask.OrganiserDataLanguage); + ASSERT_EQ("HAPPY=WEEKS", TestTask.OrganiserDataTokens); + } \ No newline at end of file -- 2.39.5