From 445c53e2570f9a38b54f7741d637ad9998bd7a56 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 28 Feb 2016 23:50:58 +0000 Subject: [PATCH] Added curl header include and curl_global_init for initialising cURL. --- source/tests/xestiacalendar_test.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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"); -- 2.39.5