comparison OrthancServer/UnitTestsSources/LuaServerTests.cpp @ 4505:97d103b57cd1

removed cached dicom summary from DicomInstanceToStore
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 10 Feb 2021 12:07:03 +0100
parents d9473bd5ed43
children f0038043fb97 7053502fbf97
comparison
equal deleted inserted replaced
4504:7d1eabfac6e0 4505:97d103b57cd1
149 { 149 {
150 Orthanc::LuaContext lua; 150 Orthanc::LuaContext lua;
151 151
152 #if UNIT_TESTS_WITH_HTTP_CONNEXIONS == 1 152 #if UNIT_TESTS_WITH_HTTP_CONNEXIONS == 1
153 // The "http://www.orthanc-server.com/downloads/third-party/" does 153 // The "http://www.orthanc-server.com/downloads/third-party/" does
154 // not automatically redirect to HTTPS, so we cas use it even if the 154 // not automatically redirect to HTTPS, so we use it even if the
155 // OpenSSL/HTTPS support is disabled in curl 155 // OpenSSL/HTTPS support is disabled in curl
156 const std::string BASE = "http://www.orthanc-server.com/downloads/third-party/"; 156 const std::string BASE = "http://www.orthanc-server.com/downloads/third-party/";
157 157
158 #if LUA_VERSION_NUM >= 502 158 #if LUA_VERSION_NUM >= 502
159 // Since Lua >= 5.2.0, the function "loadstring" has been replaced by "load" 159 // Since Lua >= 5.2.0, the function "loadstring" has been replaced by "load"