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

Side by Side Diff: services/ui/ws/window_server_service_test_base.cc

Issue 2690113010: Abstract OSMesa from the Layout tests (Closed)
Patch Set: Renamed "Renderer" to "GL" Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « mash/test/mash_test_suite.cc ('k') | ui/gl/gl_implementation.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "services/ui/ws/window_server_service_test_base.h" 5 #include "services/ui/ws/window_server_service_test_base.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess(); 43 base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess();
44 if (!cmd_line->HasSwitch(name)) 44 if (!cmd_line->HasSwitch(name))
45 cmd_line->AppendSwitch(name); 45 cmd_line->AppendSwitch(name);
46 } 46 }
47 47
48 } // namespace 48 } // namespace
49 49
50 WindowServerServiceTestBase::WindowServerServiceTestBase() 50 WindowServerServiceTestBase::WindowServerServiceTestBase()
51 : ServiceTest(kTestAppName) { 51 : ServiceTest(kTestAppName) {
52 EnsureCommandLineSwitch(switches::kUseTestConfig); 52 EnsureCommandLineSwitch(switches::kUseTestConfig);
53 EnsureCommandLineSwitch(::switches::kOverrideUseGLWithOSMesaForTests); 53 EnsureCommandLineSwitch(::switches::kOverrideUseSoftwareGLForTests);
54 } 54 }
55 55
56 WindowServerServiceTestBase::~WindowServerServiceTestBase() {} 56 WindowServerServiceTestBase::~WindowServerServiceTestBase() {}
57 57
58 std::unique_ptr<service_manager::Service> 58 std::unique_ptr<service_manager::Service>
59 WindowServerServiceTestBase::CreateService() { 59 WindowServerServiceTestBase::CreateService() {
60 return base::MakeUnique<WindowServerServiceTestClient>(this); 60 return base::MakeUnique<WindowServerServiceTestClient>(this);
61 } 61 }
62 62
63 } // namespace ui 63 } // namespace ui
OLDNEW
« no previous file with comments | « mash/test/mash_test_suite.cc ('k') | ui/gl/gl_implementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698