Mercurial > hg > orthanc
comparison UnitTests/Versions.cpp @ 63:f1d0470ff334 orthanc-renaming
renaming unittests
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 16 Sep 2012 09:33:55 +0200 |
parents | a15e90e5d6fc |
children | 2dece1526c06 |
comparison
equal
deleted
inserted
replaced
62:a70bb32802ae | 63:f1d0470ff334 |
---|---|
25 ASSERT_EQ(PNG_LIBPNG_VER_MAJOR * 10000 + PNG_LIBPNG_VER_MINOR * 100 + PNG_LIBPNG_VER_RELEASE, | 25 ASSERT_EQ(PNG_LIBPNG_VER_MAJOR * 10000 + PNG_LIBPNG_VER_MINOR * 100 + PNG_LIBPNG_VER_RELEASE, |
26 png_access_version_number()); | 26 png_access_version_number()); |
27 } | 27 } |
28 | 28 |
29 | 29 |
30 #if PALANTHIR_STATIC == 1 | 30 #if ORTHANC_STATIC == 1 |
31 TEST(Versions, ZlibStatic) | 31 TEST(Versions, ZlibStatic) |
32 { | 32 { |
33 ASSERT_STREQ("1.2.7", zlibVersion()); | 33 ASSERT_STREQ("1.2.7", zlibVersion()); |
34 } | 34 } |
35 | 35 |
55 curl_version_info_data * vinfo = curl_version_info(CURLVERSION_NOW); | 55 curl_version_info_data * vinfo = curl_version_info(CURLVERSION_NOW); |
56 | 56 |
57 // Check that SSL support is enabled when required | 57 // Check that SSL support is enabled when required |
58 bool curlSupportsSsl = vinfo->features & CURL_VERSION_SSL; | 58 bool curlSupportsSsl = vinfo->features & CURL_VERSION_SSL; |
59 | 59 |
60 #if PALANTHIR_SSL_ENABLED == 0 | 60 #if ORTHANC_SSL_ENABLED == 0 |
61 ASSERT_FALSE(curlSupportsSsl); | 61 ASSERT_FALSE(curlSupportsSsl); |
62 #else | 62 #else |
63 ASSERT_TRUE(curlSupportsSsl); | 63 ASSERT_TRUE(curlSupportsSsl); |
64 #endif | 64 #endif |
65 } | 65 } |