comparison UnitTestsSources/VersionsTests.cpp @ 1502:5e9c40419fb9

Upgrade to JsonCpp 0.10.5 for static and Windows builds
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 07 Aug 2015 17:39:45 +0200
parents 9f66a12eb8fc
children 7b58e0048874
comparison
equal deleted inserted replaced
1501:aaf368280f5a 1502:5e9c40419fb9
88 ASSERT_GE(LUA_VERSION_NUM, 501); 88 ASSERT_GE(LUA_VERSION_NUM, 501);
89 } 89 }
90 90
91 91
92 #if ORTHANC_STATIC == 1 92 #if ORTHANC_STATIC == 1
93
93 TEST(Versions, ZlibStatic) 94 TEST(Versions, ZlibStatic)
94 { 95 {
95 ASSERT_STREQ("1.2.7", zlibVersion()); 96 ASSERT_STREQ("1.2.7", zlibVersion());
96 } 97 }
97 98
134 TEST(Version, OpenSslStatic) 135 TEST(Version, OpenSslStatic)
135 { 136 {
136 ASSERT_EQ(0x1000107fL /* openssl-1.0.1g */, OPENSSL_VERSION_NUMBER); 137 ASSERT_EQ(0x1000107fL /* openssl-1.0.1g */, OPENSSL_VERSION_NUMBER);
137 } 138 }
138 139
140
141 #include <json/version.h>
142
143 TEST(Version, JsonCpp)
144 {
145 ASSERT_STREQ("0.10.5", JSONCPP_VERSION_STRING);
146 }
147
139 #endif 148 #endif