From 7e0fc2688529f1a0059cb27fb1659bbcc97e02fe Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 31 Jan 2016 10:54:26 +0000 Subject: [PATCH] Added unit tests for UID in iCalendarTask/ObjectDataTests. --- source/tests/xestiacalendar_icaltaskload.h | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.39.5