From 13cdffa7da7e884a625ffd3e3361e211b5669c37 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 31 Jan 2016 14:54:48 +0000 Subject: [PATCH] Added unit tests for STATUS in iCalendarJournal/ObjectDataTests. --- source/tests/xestiacalendar_icaljournalload.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.39.5