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

index 76bd923..cae967d 100644 (file)
@@ -86,5 +86,12 @@ TEST(iCalendarFreeBusy, ObjectDataTests){
        ASSERT_EQ("DATE-TIME", TestFreeBusy.DateTimeStartDataValue);
        ASSERT_EQ("Europe/Truro", TestFreeBusy.DateTimeStartDataTimeZoneID);
        ASSERT_EQ("PARAMONE=YES;PARAMTWO=NO", TestFreeBusy.DateTimeStartDataTokens);
+
+       // Tests for DTEND.
+       
+       ASSERT_EQ("20160131T183000Z", TestFreeBusy.DateTimeEndData);
+       ASSERT_EQ("DATE-TIME", TestFreeBusy.DateTimeEndDataValue);
+       ASSERT_EQ("Europe/Truro", TestFreeBusy.DateTimeEndDataTimeZoneID);
+       ASSERT_EQ("PARAMFOUR=YES;PARAMTHREE=NO", TestFreeBusy.DateTimeEndDataTokens);
        
 }
\ 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