Mercurial > hg > orthanc-webviewer
diff UnitTestsSources/UnitTestsMain.cpp @ 191:993dd140bd30
Resort to Orthanc framework
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 16 Apr 2018 21:29:30 +0200 |
parents | 81f16c5667ba |
children | e481ff4a86cc |
line wrap: on
line diff
--- a/UnitTestsSources/UnitTestsMain.cpp Wed Apr 11 16:23:44 2018 +0200 +++ b/UnitTestsSources/UnitTestsMain.cpp Mon Apr 16 21:29:30 2018 +0200 @@ -25,13 +25,15 @@ static int argc_; static char** argv_; -#include "../Orthanc/Core/OrthancException.h" -#include "../Orthanc/Core/SystemToolbox.h" #include "../Plugin/Cache/CacheManager.h" #include "../Plugin/Cache/CacheScheduler.h" #include "../Plugin/Cache/ICacheFactory.h" #include "../Plugin/Cache/ICacheFactory.h" +#include <Core/Logging.h> +#include <Core/OrthancException.h> +#include <Core/SystemToolbox.h> + using namespace OrthancPlugins; @@ -194,5 +196,8 @@ ::testing::InitGoogleTest(&argc, argv); + Orthanc::Logging::Initialize(); + Orthanc::Logging::EnableInfoLevel(true); + return RUN_ALL_TESTS(); }