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

index 747b53c..8f5c586 100644 (file)
@@ -149,4 +149,11 @@ TEST(iCalendarTask, ObjectDataTests){
        ASSERT_EQ("kw", TestTask.StatusLanguage);
        ASSERT_EQ("FAVOURITE=BEANS;NOTLIKE=UNKNOWN", TestTask.StatusTokens);
        
+       // Tests for SUMMARY.
+       
+       ASSERT_EQ("A summary of the todo.", TestTask.SummaryData);
+       ASSERT_EQ("null:nodata", TestTask.SummaryDataAltRep);
+       ASSERT_EQ("kw", TestTask.SummaryDataLanguage);
+       ASSERT_EQ("FAVOURITE=TOFU;NOTLIKE=NONE", TestTask.SummaryDataTokens);
+       
 }
\ 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