Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Replaced unit tests for LOCATION with ORGANIZER for ContactJournalObject.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 31 Jan 2016 14:46:58 +0000 (14:46 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 31 Jan 2016 14:46:58 +0000 (14:46 +0000)
source/tests/xestiacalendar_icaljournalload.h

index 53a9849..14ad1ce 100644 (file)
@@ -61,11 +61,13 @@ TEST(iCalendarJournal, ObjectDataTests){
        ASSERT_EQ("20160131T143700Z", TestJournal.LastModifiedData);
        ASSERT_EQ("FUTURE=YES", TestJournal.LastModifiedTokens);
        
-       // Tests for LOCATION.
-
-       ASSERT_EQ("The Middle Floors, Truro", TestJournal.LocationData);
-       ASSERT_EQ("null:nodata", TestJournal.LocationDataAltRep);
-       ASSERT_EQ("kw", TestJournal.LocationDataLanguage);
-       ASSERT_EQ("EXACT=NO", TestJournal.LocationDataTokens);
+       // Tests for ORGANIZER.
+       
+       ASSERT_EQ("mailto:organiser@example.com", TestJournal.OrganiserData);
+       ASSERT_EQ("ExampleOrganiser", TestJournal.OrganiserDataCommonName);
+       ASSERT_EQ("null:nodata", TestJournal.OrganiserDataDirectoryEntry);
+       ASSERT_EQ("mailto:organiser.noreply@example.com", TestJournal.OrganiserDataSentByParam);
+       ASSERT_EQ("kw", TestJournal.OrganiserDataLanguage);
+       ASSERT_EQ("HAPPY=DAYS", TestJournal.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