comparison UnitTestsSources/RestApiTests.cpp @ 2386:883387e2b379

remove dependendy upon ULg Montefiore Web server
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 30 Aug 2017 09:15:06 +0200
parents f8ef157f2d73
children 878b59270859
comparison
equal deleted inserted replaced
2384:74d0953a3681 2386:883387e2b379
64 ASSERT_TRUE(c.IsVerbose()); 64 ASSERT_TRUE(c.IsVerbose());
65 c.SetVerbose(false); 65 c.SetVerbose(false);
66 ASSERT_FALSE(c.IsVerbose()); 66 ASSERT_FALSE(c.IsVerbose());
67 67
68 #if UNIT_TESTS_WITH_HTTP_CONNEXIONS == 1 68 #if UNIT_TESTS_WITH_HTTP_CONNEXIONS == 1
69 // It is not guaranteed that the URL on server 69 // The "http://www.orthanc-server.com/downloads/third-party/" does
70 // "www.montefiore.ulg.ac.be" will work forever. We switched to it, 70 // not automatically redirect to HTTPS, so we cas use it even if the
71 // as the "www.orthanc-server.com" now mandatory uses HTTPS. 71 // OpenSSL/HTTPS support is disabled in curl
72 const std::string BASE = "http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/"; 72 const std::string BASE = "http://www.orthanc-server.com/downloads/third-party/";
73 //const std::string BASE = "http://www.orthanc-server.com/downloads/third-party/";
74 73
75 Json::Value v; 74 Json::Value v;
76 c.SetUrl(BASE + "Product.json"); 75 c.SetUrl(BASE + "Product.json");
77 76
78 c.Apply(v); 77 c.Apply(v);