From: Steve Brokenshire Date: Sun, 24 Jan 2016 14:09:10 +0000 (+0000) Subject: Added unit tests for URL in iCalendarEvent/ObjectDataTests. X-Git-Tag: release-0.02~665 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=1b22b80b59b7eb6050e0492f45c0785a1c7dd15e;p=xestiacalendar%2F.git Added unit tests for URL in iCalendarEvent/ObjectDataTests. --- 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