diff OrthancFramework/UnitTestsSources/RestApiTests.cpp @ 4063:e00f3d089991 framework

shared library of orthanc framework
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 11 Jun 2020 16:40:34 +0200
parents 0953b3dc3261
children 3dda0d73193c
line wrap: on
line diff
--- a/OrthancFramework/UnitTestsSources/RestApiTests.cpp	Thu Jun 11 14:38:31 2020 +0200
+++ b/OrthancFramework/UnitTestsSources/RestApiTests.cpp	Thu Jun 11 16:40:34 2020 +0200
@@ -32,6 +32,7 @@
 
 
 #if ORTHANC_UNIT_TESTS_LINK_FRAMEWORK == 1
+// Must be the first to be sure to use the Orthanc framework shared library
 #  include <OrthancFramework.h>
 #endif
 
@@ -56,7 +57,11 @@
 using namespace Orthanc;
 
 #if !defined(UNIT_TESTS_WITH_HTTP_CONNEXIONS)
-#error "Please set UNIT_TESTS_WITH_HTTP_CONNEXIONS"
+#  error UNIT_TESTS_WITH_HTTP_CONNEXIONS is not defined
+#endif
+
+#if !defined(ORTHANC_ENABLE_SSL)
+#  error ORTHANC_ENABLE_SSL is not defined
 #endif