Mercurial > hg > orthanc
comparison UnitTestsSources/UnitTestsMain.cpp @ 2839:0d8b753317b2
explicitly setting the locale in unit tests
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 25 Sep 2018 07:08:37 +0200 |
parents | 740983056f9e |
children | bf019ee38498 |
comparison
equal
deleted
inserted
replaced
2838:f3a2d109e361 | 2839:0d8b753317b2 |
---|---|
1123 Logging::Initialize(); | 1123 Logging::Initialize(); |
1124 Logging::EnableInfoLevel(true); | 1124 Logging::EnableInfoLevel(true); |
1125 Toolbox::DetectEndianness(); | 1125 Toolbox::DetectEndianness(); |
1126 SystemToolbox::MakeDirectory("UnitTestsResults"); | 1126 SystemToolbox::MakeDirectory("UnitTestsResults"); |
1127 OrthancInitialize(); | 1127 OrthancInitialize(); |
1128 Toolbox::InitializeGlobalLocale("en_US.UTF8"); | |
1128 | 1129 |
1129 ::testing::InitGoogleTest(&argc, argv); | 1130 ::testing::InitGoogleTest(&argc, argv); |
1130 int result = RUN_ALL_TESTS(); | 1131 int result = RUN_ALL_TESTS(); |
1131 | 1132 |
1132 OrthancFinalize(); | 1133 OrthancFinalize(); |