From: Steve Brokenshire Date: Sun, 31 Jan 2016 12:04:42 +0000 (+0000) Subject: Added unit tests for PRIORITY in iCalendarTask/ObjectDataTests. X-Git-Tag: release-0.02~556 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=c5af45d4f5369c6d7de9ed5773b6ebb7fd381eb1;p=xestiacalendar%2F.git Added unit tests for PRIORITY in iCalendarTask/ObjectDataTests. --- diff --git a/source/tests/xestiacalendar_icaltaskload.h b/source/tests/xestiacalendar_icaltaskload.h index d122854..dbe632a 100644 --- a/source/tests/xestiacalendar_icaltaskload.h +++ b/source/tests/xestiacalendar_icaltaskload.h @@ -120,9 +120,14 @@ TEST(iCalendarTask, ObjectDataTests){ ASSERT_EQ("kw", TestTask.OrganiserDataLanguage); ASSERT_EQ("HAPPY=WEEKS", TestTask.OrganiserDataTokens); - // Tets for PERCENT-COMPLETE. + // Tests for PERCENT-COMPLETE. ASSERT_EQ("42", TestTask.PercentCompleteData); ASSERT_EQ("DEEP=THOUGHT", TestTask.PercentCompleteTokens); + // Tests for PRIORITY. + + ASSERT_EQ(5, TestTask.PriorityData); + ASSERT_EQ("STATUS=DEFAULT", TestTask.PriorityTokens); + } \ No newline at end of file