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

index 328c5e8..f862e5b 100644 (file)
@@ -149,4 +149,11 @@ TEST(iCalendarEvent, ObjectDataTests){
        ASSERT_EQ("kw", TestEvent.RequestStatusLanguage);
        ASSERT_EQ("FAVOURITE=RICHTEA;NOTLIKE=UNKNOWN", TestEvent.RequestStatusTokens);
 
+       // Tests for SUMMARY.
+       
+       ASSERT_EQ("A summary of the event.", TestEvent.SummaryData);
+       ASSERT_EQ("null:nodata", TestEvent.SummaryDataAltRep);
+       ASSERT_EQ("kw", TestEvent.SummaryDataLanguage);
+       ASSERT_EQ("FAVOURITE=TOFU;NOTLIKE=NONE", TestEvent.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