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

index 0b06238..a908a4b 100644 (file)
@@ -87,4 +87,11 @@ TEST(iCalendarTask, ObjectDataTests){
        ASSERT_EQ("kw", DescriptionLanguage);
        ASSERT_EQ("EXAMPLE=TOKEN;MOREDATA=YES", DescriptionTokens);
        
+       // Tests for DTSTART.
+       
+       ASSERT_EQ("20160131T103000Z", TestTask.DateTimeStartData);
+       ASSERT_EQ("DATE-TIME", TestTask.DateTimeStartDataValue);
+       ASSERT_EQ("Europe/Truro", TestTask.DateTimeStartDataTimeZoneID);
+       ASSERT_EQ("PARAMONE=YES;PARAMTWO=NO", TestTask.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