comparison UnitTestsSources/VersionsTests.cpp @ 2497:0611aa383e62

Upgrade to JsonCpp 1.8.4, and USE_LEGACY_JSONCPP option
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 22 Mar 2018 15:27:00 +0100
parents e779c11c8eb2
children 9d9f2d088dce
comparison
equal deleted inserted replaced
2496:3d65adee289a 2497:0611aa383e62
162 162
163 #include <json/version.h> 163 #include <json/version.h>
164 164
165 TEST(Version, JsonCpp) 165 TEST(Version, JsonCpp)
166 { 166 {
167 ASSERT_STREQ("0.10.5", JSONCPP_VERSION_STRING); 167 #if ORTHANC_LEGACY_JSONCPP == 1
168 ASSERT_STREQ("0.10.6", JSONCPP_VERSION_STRING);
169 #elif ORTHANC_LEGACY_JSONCPP == 0
170 ASSERT_STREQ("1.8.4", JSONCPP_VERSION_STRING);
171 #else
172 # error Macro ORTHANC_LEGACY_JSONCPP should be set
173 #endif
168 } 174 }
169 175
170 #endif 176 #endif