Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added unit tests for ORGANIZER in iCalendarJournal/ObjectDataTests.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Mon, 1 Feb 2016 20:56:42 +0000 (20:56 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Mon, 1 Feb 2016 20:56:42 +0000 (20:56 +0000)
source/tests/xestiacalendar_icalfreebusyload.h

index cae967d..63b8d1d 100644 (file)
@@ -94,4 +94,13 @@ TEST(iCalendarFreeBusy, ObjectDataTests){
        ASSERT_EQ("Europe/Truro", TestFreeBusy.DateTimeEndDataTimeZoneID);
        ASSERT_EQ("PARAMFOUR=YES;PARAMTHREE=NO", TestFreeBusy.DateTimeEndDataTokens);
        
+       // Tests for ORGANIZER.
+       
+       ASSERT_EQ("mailto:organiser@example.com", TestFreeBusy.OrganiserData);
+       ASSERT_EQ("ExampleOrganiser", TestFreeBusy.OrganiserDataCommonName);
+       ASSERT_EQ("null:nodata", TestFreeBusy.OrganiserDataDirectoryEntry);
+       ASSERT_EQ("mailto:organiser.noreply@example.com", TestFreeBusy.OrganiserDataSentByParam);
+       ASSERT_EQ("kw", TestFreeBusy.OrganiserDataLanguage);
+       ASSERT_EQ("HAPPY=DAYS", TestFreeBusy.OrganiserDataTokens);
+       
 }
\ 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