From: Steve Brokenshire Date: Sun, 24 Jan 2016 11:05:36 +0000 (+0000) Subject: Added unit tests for STATUS in iCalendarEvent/ObjectDataTests. X-Git-Tag: release-0.02~676 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=5970b9164ac805c7704bc4e283b240f25ac6751d;p=xestiacalendar%2F.git Added unit tests for STATUS in iCalendarEvent/ObjectDataTests. --- diff --git a/source/tests/xestiacalendar_icaleventload.h b/source/tests/xestiacalendar_icaleventload.h index ba77094..328c5e8 100644 --- a/source/tests/xestiacalendar_icaleventload.h +++ b/source/tests/xestiacalendar_icaleventload.h @@ -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