From: Steve Brokenshire Date: Sun, 31 Jan 2016 11:54:06 +0000 (+0000) Subject: Added unit tests for ORGANIZER in iCalendarTask/ObjectDataTests. X-Git-Tag: release-0.02~562 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=e5ffd6264d29e3124b22f72aec4f309a8cd36f2c;p=xestiacalendar%2F.git Added unit tests for ORGANIZER in iCalendarTask/ObjectDataTests. --- 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