From 5970b9164ac805c7704bc4e283b240f25ac6751d Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 24 Jan 2016 11:05:36 +0000 Subject: [PATCH] Added unit tests for STATUS in iCalendarEvent/ObjectDataTests. --- source/tests/xestiacalendar_icaleventload.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.39.5