From: Steve Brokenshire Date: Sun, 31 Jan 2016 14:54:48 +0000 (+0000) Subject: Added unit tests for STATUS in iCalendarJournal/ObjectDataTests. X-Git-Tag: release-0.02~476 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=13cdffa7da7e884a625ffd3e3361e211b5669c37;p=xestiacalendar%2F.git Added unit tests for STATUS in iCalendarJournal/ObjectDataTests. --- diff --git a/source/tests/xestiacalendar_icaljournalload.h b/source/tests/xestiacalendar_icaljournalload.h index 3954114..493e1b7 100644 --- a/source/tests/xestiacalendar_icaljournalload.h +++ b/source/tests/xestiacalendar_icaljournalload.h @@ -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