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

Unified Diff: services/ui/common/run_all_shelltests.cc

Issue 2427443002: Replace remaining shell references with service manager (Closed)
Patch Set: Created 4 years, 2 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/common/run_all_service_tests.cc ('k') | services/ui/demo/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/common/run_all_shelltests.cc
diff --git a/services/ui/common/run_all_shelltests.cc b/services/ui/common/run_all_shelltests.cc
deleted file mode 100644
index f99e6b236c809668e0e5a212d52be140ddbd9e80..0000000000000000000000000000000000000000
--- a/services/ui/common/run_all_shelltests.cc
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2016 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 "base/test/launcher/unit_test_launcher.h"
-#include "base/test/test_suite.h"
-#include "build/build_config.h"
-#include "mojo/edk/embedder/embedder.h"
-#include "services/service_manager/background/background_shell_main.h"
-
-#if defined(USE_OZONE)
-#include "ui/ozone/public/ozone_platform.h"
-#endif
-
-class MusGpuTestSuite : public base::TestSuite {
- public:
- MusGpuTestSuite(int argc, char** argv) : base::TestSuite(argc, argv) {}
-
- private:
- void Initialize() override {
- base::TestSuite::Initialize();
-#if defined(USE_OZONE)
- ui::OzonePlatform::InitParams params;
- params.single_process = true;
- ui::OzonePlatform::InitializeForGPU(params);
-#endif
- }
-};
-
-int MasterProcessMain(int argc, char** argv) {
- MusGpuTestSuite test_suite(argc, argv);
- mojo::edk::Init();
- return base::LaunchUnitTests(
- argc, argv,
- base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite)));
-}
« no previous file with comments | « services/ui/common/run_all_service_tests.cc ('k') | services/ui/demo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698