From 84350bd10b6dc595f23ca85b2622dba000a10b8c Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 31 Jan 2016 12:39:38 +0000 Subject: [PATCH] Added unit tests for URL in iCalendarTask/ObjectDataTests. --- source/tests/xestiacalendar_icaltaskload.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/tests/xestiacalendar_icaltaskload.h b/source/tests/xestiacalendar_icaltaskload.h index 8f5c586..62cccb5 100644 --- a/source/tests/xestiacalendar_icaltaskload.h +++ b/source/tests/xestiacalendar_icaltaskload.h @@ -156,4 +156,9 @@ TEST(iCalendarTask, ObjectDataTests){ ASSERT_EQ("kw", TestTask.SummaryDataLanguage); ASSERT_EQ("FAVOURITE=TOFU;NOTLIKE=NONE", TestTask.SummaryDataTokens); + // Tests for URL. + + ASSERT_EQ("http://www.example.com/", TestTask.URLData); + ASSERT_EQ("EXTERNAL=YES", TestTask.URLDataTokens); + } \ No newline at end of file -- 2.39.5