From 1b22b80b59b7eb6050e0492f45c0785a1c7dd15e Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 24 Jan 2016 14:09:10 +0000 Subject: [PATCH] Added unit tests for URL in iCalendarEvent/ObjectDataTests. --- source/tests/xestiacalendar_icaleventload.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/tests/xestiacalendar_icaleventload.h b/source/tests/xestiacalendar_icaleventload.h index 87569e1..539023d 100644 --- a/source/tests/xestiacalendar_icaleventload.h +++ b/source/tests/xestiacalendar_icaleventload.h @@ -161,4 +161,9 @@ TEST(iCalendarEvent, ObjectDataTests){ ASSERT_EQ("TRANSPARENT", TestEvent.TimeTransparencyData); ASSERT_EQ("OPAQUE=NOTYET", TestEvent.TimeTransparencyDataTokens); + // Tests for URL. + + ASSERT_EQ("http://www.example.com/", TestEvent.URLData); + ASSERT_EQ("EXTERNAL=YES", TestEvent.URLDataTokens); + } \ No newline at end of file -- 2.39.5