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

index 04a3a79..53a9849 100644 (file)
@@ -61,4 +61,11 @@ 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);
+       
 }
\ 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