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