From 1c42c59062aa002fb1ea39c4b446e8bff5588423 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Mon, 1 Feb 2016 21:22:13 +0000 Subject: [PATCH] Added unit tests for URL in iCalendarJournal/ObjectDataTests. --- source/tests/xestiacalendar_icalfreebusyload.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/tests/xestiacalendar_icalfreebusyload.h b/source/tests/xestiacalendar_icalfreebusyload.h index 63b8d1d..c0e8154 100644 --- a/source/tests/xestiacalendar_icalfreebusyload.h +++ b/source/tests/xestiacalendar_icalfreebusyload.h @@ -103,4 +103,9 @@ TEST(iCalendarFreeBusy, ObjectDataTests){ ASSERT_EQ("kw", TestFreeBusy.OrganiserDataLanguage); ASSERT_EQ("HAPPY=DAYS", TestFreeBusy.OrganiserDataTokens); + // Tests for URL. + + ASSERT_EQ("http://www.example.com/", TestFreeBusy.URLData); + ASSERT_EQ("EXTERNAL=YES", TestFreeBusy.URLDataTokens); + } \ No newline at end of file -- 2.39.5