Mercurial > hg > orthanc-stone
comparison UnitTestsSources/UnitTestsMain.cpp @ 1177:c3d219b6266b broker
fix to make unit tests run again on windowless systems
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 20 Nov 2019 13:37:50 +0100 |
parents | 6def5bfba867 |
children | 0ca50d275b9a |
comparison
equal
deleted
inserted
replaced
1176:57b38e609d32 | 1177:c3d219b6266b |
---|---|
825 } | 825 } |
826 | 826 |
827 | 827 |
828 int main(int argc, char **argv) | 828 int main(int argc, char **argv) |
829 { | 829 { |
830 OrthancStone::StoneInitialize(); | 830 Orthanc::Logging::Initialize(); |
831 Orthanc::Logging::EnableInfoLevel(true); | |
831 | 832 |
832 ::testing::InitGoogleTest(&argc, argv); | 833 ::testing::InitGoogleTest(&argc, argv); |
833 int result = RUN_ALL_TESTS(); | 834 int result = RUN_ALL_TESTS(); |
834 | 835 |
835 OrthancStone::StoneFinalize(); | 836 Orthanc::Logging::Finalize(); |
836 | 837 |
837 return result; | 838 return result; |
838 } | 839 } |