From: Steve Brokenshire Date: Sun, 31 Jan 2016 10:51:36 +0000 (+0000) Subject: Added unit tests for DTSTAMP in iCalendarTask/ObjectDataTests. X-Git-Tag: release-0.02~592 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=4a618434a920b8ec2f6b5661291f9433ca36e47c;p=xestiacalendar%2F.git Added unit tests for DTSTAMP in iCalendarTask/ObjectDataTests. --- 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