From de2054597a7f0157c1a9e1ea846074dc10b9bcf8 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 24 Jan 2016 10:37:24 +0000 Subject: [PATCH] Added unit tests for PRIORITY in iCalendarEvent/ObjectDataTests. --- source/tests/xestiacalendar_icaleventload.h | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.39.5