Mercurial > hg > orthanc
diff UnitTestsSources/Versions.cpp @ 928:882833632b1f mac
integration mainline -> mac
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 16 Apr 2014 17:02:07 +0200 |
parents | a6576b478553 |
children | 3d6f9b7d0add |
line wrap: on
line diff
--- a/UnitTestsSources/Versions.cpp Wed Apr 16 16:53:25 2014 +0200 +++ b/UnitTestsSources/Versions.cpp Wed Apr 16 17:02:07 2014 +0200 @@ -9,6 +9,7 @@ #include <boost/version.hpp> #include <sqlite3.h> #include <lua.h> +#include <openssl/opensslv.h> TEST(Versions, Zlib) @@ -57,7 +58,7 @@ TEST(Versions, BoostStatic) { - ASSERT_STREQ("1_54", BOOST_LIB_VERSION); + ASSERT_STREQ("1_55", BOOST_LIB_VERSION); } TEST(Versions, CurlStatic) @@ -90,5 +91,10 @@ { ASSERT_STREQ("Lua 5.1.5", LUA_RELEASE); } + +TEST(Version, OpenSslStatic) +{ + ASSERT_EQ(0x1000107fL /* openssl-1.0.1g */, OPENSSL_VERSION_NUMBER); +} + #endif -