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

Unified Diff: services/ui/public/cpp/tests/window_server_test_suite.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/ui/public/cpp/tests/window_server_test_suite.h ('k') | services/ui/ws/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/tests/window_server_test_suite.cc
diff --git a/services/ui/public/cpp/tests/window_server_test_suite.cc b/services/ui/public/cpp/tests/window_server_test_suite.cc
deleted file mode 100644
index b05559f0c23d6c328188ea452b0cdac64cb4a11b..0000000000000000000000000000000000000000
--- a/services/ui/public/cpp/tests/window_server_test_suite.cc
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "services/ui/public/cpp/tests/window_server_test_suite.h"
-
-#include "base/i18n/icu_util.h"
-
-#if defined(USE_X11)
-#include "ui/gfx/x/x11_connection.h" // nogncheck
-#endif
-
-namespace ui {
-
-WindowServerTestSuite::WindowServerTestSuite(int argc, char** argv)
- : TestSuite(argc, argv) {}
-
-WindowServerTestSuite::~WindowServerTestSuite() {}
-
-void WindowServerTestSuite::Initialize() {
-#if defined(USE_X11)
- // Each test ends up creating a new thread for the native viewport service.
- // In other words we'll use X on different threads, so tell it that.
- gfx::InitializeThreadedX11();
-#endif
-
- base::TestSuite::Initialize();
-
- // base::TestSuite and ViewsInit both try to load icu. That's ok for tests.
- base::i18n::AllowMultipleInitializeCallsForTesting();
-}
-
-} // namespace ui
« no previous file with comments | « services/ui/public/cpp/tests/window_server_test_suite.h ('k') | services/ui/ws/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698