Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added unit tests for DTSTAMP in iCalendarTask/ObjectDataTests.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 31 Jan 2016 10:51:36 +0000 (10:51 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 31 Jan 2016 10:51:36 +0000 (10:51 +0000)
source/tests/xestiacalendar_icaltaskload.h

index ed083ca..91284d9 100644 (file)
@@ -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
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy