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

index 4855d85..a0b3f7d 100644 (file)
@@ -111,4 +111,13 @@ TEST(iCalendarTask, ObjectDataTests){
        ASSERT_EQ("kw", TestTask.LocationDataLanguage);
        ASSERT_EQ("EXACT=YES", TestTask.LocationDataTokens);
        
+       // Tests for ORGANIZER.
+       
+       ASSERT_EQ("mailto:organiser@example.com", TestTask.OrganiserData);
+       ASSERT_EQ("ExampleOrganiser", TestTask.OrganiserDataCommonName);
+       ASSERT_EQ("null:nodata", TestTask.OrganiserDataDirectoryEntry);
+       ASSERT_EQ("mailto:organiser.noreply@example.com", TestTask.OrganiserDataSentByParam);
+       ASSERT_EQ("kw", TestTask.OrganiserDataLanguage);
+       ASSERT_EQ("HAPPY=WEEKS", TestTask.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