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

Side by Side Diff: gpu/command_buffer/common/unittest_main.cc

Issue 2019833002: Implement StructTraits for various cc and gpu types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mailbox_name by ref to make windows happy Created 4 years, 6 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 | « gpu/command_buffer/common/DEPS ('k') | gpu/gpu.gyp » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/command_line.h" 6 #include "base/command_line.h"
7 #include "base/test/launcher/unit_test_launcher.h" 7 #include "base/test/launcher/unit_test_launcher.h"
8 #include "base/test/test_io_thread.h"
8 #include "base/test/test_suite.h" 9 #include "base/test/test_suite.h"
9 #include "build/build_config.h" 10 #include "build/build_config.h"
11 #include "mojo/edk/embedder/embedder.h"
10 12
11 #if defined(OS_ANDROID) 13 #if defined(OS_ANDROID)
12 #include "gpu/ipc/client/android/in_process_surface_texture_manager.h" 14 #include "gpu/ipc/client/android/in_process_surface_texture_manager.h"
13 #endif 15 #endif
14 16
15 namespace { 17 namespace {
16 18
17 class GpuTestSuite : public base::TestSuite { 19 class GpuTestSuite : public base::TestSuite {
18 public: 20 public:
19 GpuTestSuite(int argc, char** argv); 21 GpuTestSuite(int argc, char** argv);
(...skipping 18 matching lines...) Expand all
38 gpu::InProcessSurfaceTextureManager::GetInstance()); 40 gpu::InProcessSurfaceTextureManager::GetInstance());
39 #endif 41 #endif
40 } 42 }
41 43
42 } // namespace 44 } // namespace
43 45
44 int main(int argc, char** argv) { 46 int main(int argc, char** argv) {
45 base::CommandLine::Init(argc, argv); 47 base::CommandLine::Init(argc, argv);
46 GpuTestSuite test_suite(argc, argv); 48 GpuTestSuite test_suite(argc, argv);
47 49
50 mojo::edk::Init();
51
48 return base::LaunchUnitTests( 52 return base::LaunchUnitTests(
49 argc, argv, 53 argc, argv,
50 base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite))); 54 base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite)));
51 } 55 }
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/DEPS ('k') | gpu/gpu.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698