Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Unified Diff: services/test/run_all_service_tests.cc

Issue 2903423003: Move ui_services_unittests into service_unittest. (Closed)
Patch Set: and not is_mac Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/BUILD.gn ('k') | services/ui/public/cpp/tests/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/test/run_all_service_tests.cc
diff --git a/services/test/run_all_service_tests.cc b/services/test/run_all_service_tests.cc
index c356fa6fb938f64568b4530616c48be44592c953..deb9fc3d07f1ace84d5f5dbb6bc8c885ded08bcd 100644
--- a/services/test/run_all_service_tests.cc
+++ b/services/test/run_all_service_tests.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "base/bind.h"
+#include "base/i18n/icu_util.h"
#include "base/macros.h"
#include "base/path_service.h"
#include "base/test/launcher/unit_test_launcher.h"
@@ -36,6 +37,9 @@ class ServiceTestSuite : public base::TestSuite {
params.single_process = true;
ui::OzonePlatform::InitializeForGPU(params);
#endif
+
+ // base::TestSuite and ViewsInit both try to load icu. That's ok for tests.
+ base::i18n::AllowMultipleInitializeCallsForTesting();
}
void Shutdown() override {
« no previous file with comments | « services/BUILD.gn ('k') | services/ui/public/cpp/tests/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698