Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added curl header include and curl_global_init for initialising cURL.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 28 Feb 2016 23:50:58 +0000 (23:50 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 28 Feb 2016 23:50:58 +0000 (23:50 +0000)
source/tests/xestiacalendar_test.cpp

index 06c8f7c..198a232 100644 (file)
@@ -16,6 +16,7 @@
 // You should have received a copy of the GNU General Public License along
 // with Xestia Calendar. If not, see <http://www.gnu.org/licenses/>
 
+#include <curl/curl.h>
 #include <gtest/gtest.h>
 #include <iostream>
 #include <string>
@@ -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");
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy