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

Unified Diff: content/test/run_all_gl_tests.cc

Issue 1867873002: Move unittests in content/common/gpu/client to gpu/ipc/client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Created 4 years, 8 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 | « content/test/gpu/generate_buildbot_json.py ('k') | gpu/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/run_all_gl_tests.cc
diff --git a/content/test/run_all_gl_tests.cc b/content/test/run_all_gl_tests.cc
deleted file mode 100644
index bae2dd4d4f686f1f105b402ab2226342479e63fd..0000000000000000000000000000000000000000
--- a/content/test/run_all_gl_tests.cc
+++ /dev/null
@@ -1,39 +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/command_line.h"
-#include "base/message_loop/message_loop.h"
-#include "base/test/launcher/unit_test_launcher.h"
-#include "build/build_config.h"
-#include "content/public/test/unittest_test_suite.h"
-#include "content/test/content_test_suite.h"
-
-#if defined(OS_MACOSX)
-#include "base/mac/scoped_nsautorelease_pool.h"
-#endif
-
-namespace {
-
-int RunHelper(base::TestSuite* test_suite) {
- content::UnitTestTestSuite runner(test_suite);
- base::MessageLoopForIO message_loop;
- return runner.Run();
-}
-
-} // namespace
-
-// These tests needs to run against a proper GL environment, so we
-// need to set it up before we can run the tests.
-int main(int argc, char** argv) {
- base::CommandLine::Init(argc, argv);
- base::TestSuite* suite = new content::ContentTestSuite(argc, argv);
-#if defined(OS_MACOSX)
- base::mac::ScopedNSAutoreleasePool pool;
-#endif
-
- return base::LaunchUnitTestsSerially(
- argc,
- argv,
- base::Bind(&RunHelper, base::Unretained(suite)));
-}
« no previous file with comments | « content/test/gpu/generate_buildbot_json.py ('k') | gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698