Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added unit tests for STATUS in iCalendarJournal/ObjectDataTests.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 31 Jan 2016 14:54:48 +0000 (14:54 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 31 Jan 2016 14:54:48 +0000 (14:54 +0000)
source/tests/xestiacalendar_icaljournalload.h

index 3954114..493e1b7 100644 (file)
@@ -83,4 +83,10 @@ TEST(iCalendarJournal, ObjectDataTests){
        ASSERT_EQ(7, TestJournal.SequenceData);
        ASSERT_EQ("TEST=YAY", TestJournal.SequenceTokens);
        
+       // Tests for STATUS.
+       
+       ASSERT_EQ("2.0;Success", TestJournal.StatusData);
+       ASSERT_EQ("kw", TestJournal.StatusLanguage);
+       ASSERT_EQ("FAVOURITE=RICHTEA;NOTLIKE=UNKNOWN", TestJournal.StatusTokens);
+       
 }
\ 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