| Index: chromecast/app/cast_test_launcher.cc
|
| diff --git a/chromecast/app/cast_test_launcher.cc b/chromecast/app/cast_test_launcher.cc
|
| deleted file mode 100644
|
| index 926b53708410680b680260adc3cf6edc92829d1b..0000000000000000000000000000000000000000
|
| --- a/chromecast/app/cast_test_launcher.cc
|
| +++ /dev/null
|
| @@ -1,45 +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/macros.h"
|
| -#include "base/sys_info.h"
|
| -#include "base/test/test_suite.h"
|
| -#include "chromecast/app/cast_main_delegate.h"
|
| -#include "content/public/test/test_launcher.h"
|
| -
|
| -namespace chromecast {
|
| -namespace shell {
|
| -
|
| -class CastTestLauncherDelegate : public content::TestLauncherDelegate {
|
| - public:
|
| - CastTestLauncherDelegate() {}
|
| - ~CastTestLauncherDelegate() override {}
|
| -
|
| - int RunTestSuite(int argc, char** argv) override {
|
| - return base::TestSuite(argc, argv).Run();
|
| - }
|
| -
|
| - bool AdjustChildProcessCommandLine(
|
| - base::CommandLine* command_line,
|
| - const base::FilePath& temp_data_dir) override {
|
| - return true;
|
| - }
|
| -
|
| - protected:
|
| - content::ContentMainDelegate* CreateContentMainDelegate() override {
|
| - return new CastMainDelegate();
|
| - }
|
| -
|
| - private:
|
| - DISALLOW_COPY_AND_ASSIGN(CastTestLauncherDelegate);
|
| -};
|
| -
|
| -} // namespace shell
|
| -} // namespace chromecast
|
| -
|
| -int main(int argc, char** argv) {
|
| - int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2);
|
| - chromecast::shell::CastTestLauncherDelegate launcher_delegate;
|
| - return content::LaunchTests(&launcher_delegate, default_jobs, argc, argv);
|
| -}
|
|
|