From: Steve Brokenshire Date: Sun, 24 Jan 2016 10:37:24 +0000 (+0000) Subject: Added unit tests for PRIORITY in iCalendarEvent/ObjectDataTests. X-Git-Tag: release-0.02~684 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=de2054597a7f0157c1a9e1ea846074dc10b9bcf8;p=xestiacalendar%2F.git Added unit tests for PRIORITY in iCalendarEvent/ObjectDataTests. --- diff --git a/source/tests/xestiacalendar_icaleventload.h b/source/tests/xestiacalendar_icaleventload.h index 68c7339..14a2bf5 100644 --- a/source/tests/xestiacalendar_icaleventload.h +++ b/source/tests/xestiacalendar_icaleventload.h @@ -133,4 +133,9 @@ TEST(iCalendarEvent, ObjectDataTests){ ASSERT_EQ("kw", TestEvent.OrganiserDataLanguage); ASSERT_EQ("HAPPY=DAYS", TestEvent.OrganiserDataTokens); + // Tests for PRIORITY. + + ASSERT_EQ(5, TestEvent.PriorityData); + ASSERT_EQ("STATUS=DEFAULT", TestEvent.PriorityTokens); + } \ No newline at end of file