From df7f1973d6e4ce9e5d8cf98c57247e1d4f0682bc Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 1 May 2016 00:26:43 +0100 Subject: [PATCH] Clean up in unit testing for CalDAV and in the CalDAV object itself. --- source/objects/CalDAV/CalDAV.h | 1 - source/tests/xestiacalendar_caldav.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/source/objects/CalDAV/CalDAV.h b/source/objects/CalDAV/CalDAV.h index 080975c..f237669 100644 --- a/source/objects/CalDAV/CalDAV.h +++ b/source/objects/CalDAV/CalDAV.h @@ -147,7 +147,6 @@ class CalDAV{ CalDAVServerResult Connect(); CalDAVServerResult GetServerResult(); CalDAVServerSupport GetServerSupport(); - CalDAVCalendarList GetCalendars(); CalDAVServerResult AddCalendar(string CalendarName); diff --git a/source/tests/xestiacalendar_caldav.h b/source/tests/xestiacalendar_caldav.h index 4e4b638..75376da 100644 --- a/source/tests/xestiacalendar_caldav.h +++ b/source/tests/xestiacalendar_caldav.h @@ -985,6 +985,8 @@ TEST(CalDAV, GetEntryETag){ ASSERT_EQ(207, ConnResult.HTTPCode); ASSERT_EQ(CURLE_OK, ConnResult.Code); + // Get the entry entity tag. + string ETagValue; ConnResult = ServerConnection.GetEntryETag(&EntryCalendarHREFProcessing, &ETagValue); -- 2.39.5