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

Unified Diff: blimp/engine/browser_tests/blimp_test_launcher.cc

Issue 2620213004: Remove all blimp browsertests. (Closed)
Patch Set: Created 3 years, 11 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
Index: blimp/engine/browser_tests/blimp_test_launcher.cc
diff --git a/blimp/engine/browser_tests/blimp_test_launcher.cc b/blimp/engine/browser_tests/blimp_test_launcher.cc
deleted file mode 100644
index b775ca43126ef521b13cc00ff7f0f5e43e6d82b3..0000000000000000000000000000000000000000
--- a/blimp/engine/browser_tests/blimp_test_launcher.cc
+++ /dev/null
@@ -1,49 +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 <memory>
-
-#include "base/bind.h"
-#include "base/macros.h"
-#include "base/sys_info.h"
-#include "blimp/engine/app/test_content_main_delegate.h"
-#include "content/public/test/content_test_suite_base.h"
-#include "content/public/test/test_launcher.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace blimp {
-namespace {
-
-class BlimpTestLauncherDelegate : public content::TestLauncherDelegate {
- public:
- BlimpTestLauncherDelegate() {}
- ~BlimpTestLauncherDelegate() override {}
-
- // content::TestLauncherDelegate implementation.
- 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;
- }
-
- content::ContentMainDelegate* CreateContentMainDelegate() override {
- return new engine::TestContentMainDelegate();
- }
-
- private:
- DISALLOW_COPY_AND_ASSIGN(BlimpTestLauncherDelegate);
-};
-
-} // namespace
-} // namespace blimp
-
-int main(int argc, char** argv) {
- int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2);
- blimp::BlimpTestLauncherDelegate launcher_delegate;
- return LaunchTests(&launcher_delegate, default_jobs, argc, argv);
-}
« no previous file with comments | « blimp/engine/browser_tests/blimp_contents_view_readback_helper.cc ('k') | blimp/engine/browser_tests/input_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698