From: Steve Brokenshire Date: Sun, 31 Jan 2016 10:54:26 +0000 (+0000) Subject: Added unit tests for UID in iCalendarTask/ObjectDataTests. X-Git-Tag: release-0.02~588 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=7e0fc2688529f1a0059cb27fb1659bbcc97e02fe;p=xestiacalendar%2F.git Added unit tests for UID in iCalendarTask/ObjectDataTests. --- diff --git a/source/tests/xestiacalendar_icaltaskload.h b/source/tests/xestiacalendar_icaltaskload.h index 91284d9..952365f 100644 --- a/source/tests/xestiacalendar_icaltaskload.h +++ b/source/tests/xestiacalendar_icaltaskload.h @@ -39,4 +39,9 @@ TEST(iCalendarTask, ObjectDataTests){ ASSERT_EQ("20160131T104500Z", TestTask.DateTimeStampData); ASSERT_EQ("OTHER=PARAM", TestTask.DateTimeStampTokens); + // Tests for UID. + + ASSERT_EQ("b3a16392-ad86-4061-be53-c215af2306e1", TestTask.UniqueID); + ASSERT_EQ("UNIQUEPARAM=CERTAINLY;OKAY=MAYBENOT", TestTask.UniqueIDTokens); + } \ No newline at end of file