Mercurial > hg > orthanc
comparison UnitTestsSources/VersionsTests.cpp @ 3288:8d1ea00a990a
upgrade to pugixml 1.9
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 21 Feb 2019 19:17:03 +0100 |
parents | 5e8e020893d0 |
children | 544905c73c7e |
comparison
equal
deleted
inserted
replaced
3287:5e8e020893d0 | 3288:8d1ea00a990a |
---|---|
55 | 55 |
56 #if ORTHANC_ENABLE_CIVETWEB == 1 | 56 #if ORTHANC_ENABLE_CIVETWEB == 1 |
57 # include <civetweb.h> | 57 # include <civetweb.h> |
58 #endif | 58 #endif |
59 | 59 |
60 #if ORTHANC_ENABLE_PUGIXML == 1 | |
61 # include <pugixml.hpp> | |
62 #endif | |
63 | |
60 | 64 |
61 TEST(Versions, Zlib) | 65 TEST(Versions, Zlib) |
62 { | 66 { |
63 ASSERT_STREQ(zlibVersion(), ZLIB_VERSION); | 67 ASSERT_STREQ(zlibVersion(), ZLIB_VERSION); |
64 } | 68 } |
192 ASSERT_EQ(0, CIVETWEB_VERSION_PATCH); | 196 ASSERT_EQ(0, CIVETWEB_VERSION_PATCH); |
193 } | 197 } |
194 #endif | 198 #endif |
195 | 199 |
196 | 200 |
197 #endif | 201 #if ORTHANC_ENABLE_PUGIXML == 1 |
198 | 202 TEST(Version, Pugixml) |
199 | 203 { |
204 ASSERT_EQ(190, PUGIXML_VERSION); | |
205 } | |
206 #endif | |
207 | |
208 | |
209 #endif |