Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added unit tests for LOCATION in iCalendarEvent/ObjectDataTests.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 24 Jan 2016 09:50:19 +0000 (09:50 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 24 Jan 2016 09:50:19 +0000 (09:50 +0000)
source/tests/xestiacalendar_icaleventload.h

index 534f47e..ffa5a91 100644 (file)
@@ -116,5 +116,12 @@ TEST(iCalendarEvent, ObjectDataTests){
        
        ASSERT_EQ("20160124T093000Z", TestEvent.LastModifiedData);
        ASSERT_EQ("FUTURE=ODD", TestEvent.LastModifiedTokens);
+
+       // Test for LOCATION.
+
+       ASSERT_EQ("The Basement, Truro", TestEvent.LocationData);
+       ASSERT_EQ("null:nodata", TestEvent.LocationDataAltRep);
+       ASSERT_EQ("kw", TestEvent.LocationDataLanguage);
+       ASSERT_EQ("EXACT=NO", TestEvent.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