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

index 9e19253..4855d85 100644 (file)
@@ -104,4 +104,11 @@ TEST(iCalendarTask, ObjectDataTests){
        ASSERT_EQ("20160131T114200Z", TestTask.LastModifiedData);
        ASSERT_EQ("FUTURE=EVEN", TestTask.LastModifiedTokens);
        
+       // Tests for LOCATION.
+
+       ASSERT_EQ("The Crystal Ceiling, Truro", TestTask.LocationData);
+       ASSERT_EQ("null:nodata", TestTask.LocationDataAltRep);
+       ASSERT_EQ("kw", TestTask.LocationDataLanguage);
+       ASSERT_EQ("EXACT=YES", TestTask.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