From 4a618434a920b8ec2f6b5661291f9433ca36e47c Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 31 Jan 2016 10:51:36 +0000 Subject: [PATCH] Added unit tests for DTSTAMP 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 ed083ca..91284d9 100644 --- a/source/tests/xestiacalendar_icaltaskload.h +++ b/source/tests/xestiacalendar_icaltaskload.h @@ -34,4 +34,9 @@ TEST(iCalendarTask, ObjectDataTests){ ASSERT_EQ(CALENDAROBJECTLOAD_OK, TestTask.LoadFile("iCalendarTask-Load2.vcf")); ASSERT_EQ(CALENDAROBJECTVALID_OK, TestTask.ValidBaseObject()); + // Tests for DTSTAMP. + + ASSERT_EQ("20160131T104500Z", TestTask.DateTimeStampData); + ASSERT_EQ("OTHER=PARAM", TestTask.DateTimeStampTokens); + } \ No newline at end of file -- 2.39.5