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

index ba77094..328c5e8 100644 (file)
@@ -143,4 +143,10 @@ TEST(iCalendarEvent, ObjectDataTests){
        ASSERT_EQ(3, TestEvent.SequenceData);
        ASSERT_EQ("TEST=YAY", TestEvent.SequenceTokens);
 
+       // Tests for STATUS.
+       
+       ASSERT_EQ("2.0;Success", TestEvent.RequestStatusData);
+       ASSERT_EQ("kw", TestEvent.RequestStatusLanguage);
+       ASSERT_EQ("FAVOURITE=RICHTEA;NOTLIKE=UNKNOWN", TestEvent.RequestStatusTokens);
+
 }
\ 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