From: Steve Brokenshire Date: Sun, 28 Feb 2016 23:50:58 +0000 (+0000) Subject: Added curl header include and curl_global_init for initialising cURL. X-Git-Tag: release-0.02~333 X-Git-Url: http://Server1/repobrowser/?p=xestiacalendar%2F.git;a=commitdiff_plain;h=445c53e2570f9a38b54f7741d637ad9998bd7a56 Added curl header include and curl_global_init for initialising cURL. --- diff --git a/source/tests/xestiacalendar_test.cpp b/source/tests/xestiacalendar_test.cpp index 06c8f7c..198a232 100644 --- a/source/tests/xestiacalendar_test.cpp +++ b/source/tests/xestiacalendar_test.cpp @@ -16,6 +16,7 @@ // You should have received a copy of the GNU General Public License along // with Xestia Calendar. If not, see +#include #include #include #include @@ -65,8 +66,12 @@ void printmenu(){ int main(int argc, char* argv[]){ + // Initialise the several libraries that have + // been included. + ::testing::InitGoogleTest(&argc, argv); - + curl_global_init(CURL_GLOBAL_ALL); + printn("Xestia Calendar Unit Testing Application"); printn("(c)2016 Xestia Software Development"); printn("Note: Unit testing is currently in development");