Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added unit tests for DTSTART in iCalendarEvent/ObjectDataTests
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sat, 23 Jan 2016 22:08:01 +0000 (22:08 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sat, 23 Jan 2016 22:08:01 +0000 (22:08 +0000)
source/tests/xestiacalendar_icaleventload.h

index 674ebcf..4bb5dbc 100644 (file)
@@ -62,4 +62,11 @@ TEST(iCalendarEvent, ObjectDataTests){
        ASSERT_EQ("b3a16392-ad86-4061-be53-c215af2306e0", TestEvent.UniqueID);
        ASSERT_EQ("UNIQUEPARAM=CERTAINLY;OKAY=MAYBENOT", TestEvent.UniqueIDTokens);
        
+       // Tests for DTSTART.
+       
+       ASSERT_EQ("20160122T183000Z", TestEvent.DateTimeStartData);
+       ASSERT_EQ("DATE-TIME", TestEvent.DateTimeStartDataValue);
+       ASSERT_EQ("Europe/Truro", TestEvent.DateTimeStartDataTimeZoneID);
+       ASSERT_EQ("PARAMONE=YES;PARAMTWO=NO", TestEvent.DateTimeStartDataTokens);
+       
 }
\ 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