Mercurial > hg > orthanc
comparison UnitTestsSources/VersionsTests.cpp @ 3688:9c091747483a
Enable support of compression in civetweb
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 25 Feb 2020 10:51:26 +0100 |
parents | 94f4a18a79cc |
children | faa695f433d5 |
comparison
equal
deleted
inserted
replaced
3687:e6d6f8d23d02 | 3688:9c091747483a |
---|---|
111 // introduced some API changes. | 111 // introduced some API changes. |
112 ASSERT_GE(LUA_VERSION_NUM, 501); | 112 ASSERT_GE(LUA_VERSION_NUM, 501); |
113 } | 113 } |
114 | 114 |
115 | 115 |
116 #if ORTHANC_ENABLE_CIVETWEB == 1 | |
117 TEST(Version, CivetwebCompression) | |
118 { | |
119 ASSERT_TRUE(mg_check_feature(MG_FEATURES_COMPRESSION)); | |
120 } | |
121 #endif | |
122 | |
123 | |
116 #if ORTHANC_STATIC == 1 | 124 #if ORTHANC_STATIC == 1 |
117 | 125 |
118 TEST(Versions, ZlibStatic) | 126 TEST(Versions, ZlibStatic) |
119 { | 127 { |
120 ASSERT_STREQ("1.2.11", zlibVersion()); | 128 ASSERT_STREQ("1.2.11", zlibVersion()); |