comparison UnitTests/Versions.cpp @ 50:a15e90e5d6fc

rename in code
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 05 Sep 2012 15:50:12 +0200
parents 88f537ca35a5
children f1d0470ff334
comparison
equal deleted inserted replaced
49:e1a3ae0dadf3 50:a15e90e5d6fc
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 PALANTIR_STATIC == 1 30 #if PALANTHIR_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 PALANTIR_SSL_ENABLED == 0 60 #if PALANTHIR_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 }