From: Steve Brokenshire Date: Sun, 31 Jan 2016 12:39:38 +0000 (+0000) Subject: Added unit tests for URL in iCalendarTask/ObjectDataTests. X-Git-Tag: release-0.02~544 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=84350bd10b6dc595f23ca85b2622dba000a10b8c;p=xestiacalendar%2F.git Added unit tests for URL in iCalendarTask/ObjectDataTests. --- 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