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

index a908a4b..9e19253 100644 (file)
@@ -94,4 +94,14 @@ TEST(iCalendarTask, ObjectDataTests){
        ASSERT_EQ("Europe/Truro", TestTask.DateTimeStartDataTimeZoneID);
        ASSERT_EQ("PARAMONE=YES;PARAMTWO=NO", TestTask.DateTimeStartDataTokens);
        
+       // Tests for GEO.
+       
+       ASSERT_EQ("20.0;20.0", TestTask.GeographicData);
+       ASSERT_EQ("EXAMPLE=MOOP", TestTask.GeographicTokens);
+       
+       // Tests for LAST-MODIFIED.
+       
+       ASSERT_EQ("20160131T114200Z", TestTask.LastModifiedData);
+       ASSERT_EQ("FUTURE=EVEN", TestTask.LastModifiedTokens);
+       
 }
\ 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