From: Steve Brokenshire Date: Sat, 30 Apr 2016 23:26:43 +0000 (+0100) Subject: Clean up in unit testing for CalDAV and in the CalDAV object itself. X-Git-Tag: release-0.02~275 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=df7f1973d6e4ce9e5d8cf98c57247e1d4f0682bc;p=xestiacalendar%2F.git Clean up in unit testing for CalDAV and in the CalDAV object itself. --- 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);