From c5af45d4f5369c6d7de9ed5773b6ebb7fd381eb1 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 31 Jan 2016 12:04:42 +0000 Subject: [PATCH] Added unit tests for PRIORITY in iCalendarTask/ObjectDataTests. --- source/tests/xestiacalendar_icaltaskload.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.39.5