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

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

Issue 817653003: Update from https://crrev.com/309717 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 unified diff | Download patch
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/at_exit.h" 5 #include "base/at_exit.h"
6 #include "base/bind.h" 6 #include "base/bind.h"
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/test/launcher/unit_test_launcher.h" 8 #include "base/test/launcher/unit_test_launcher.h"
9 #include "base/test/test_suite.h" 9 #include "base/test/test_suite.h"
10 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
(...skipping 14 matching lines...) Expand all
25 25
26 } // namespace 26 } // namespace
27 27
28 int main(int argc, char** argv) { 28 int main(int argc, char** argv) {
29 // On Android, AtExitManager is created in 29 // On Android, AtExitManager is created in
30 // testing/android/native_test_wrapper.cc before main() is called. 30 // testing/android/native_test_wrapper.cc before main() is called.
31 // The same thing is also done in base/test/test_suite.cc 31 // The same thing is also done in base/test/test_suite.cc
32 #if !defined(OS_ANDROID) 32 #if !defined(OS_ANDROID)
33 base::AtExitManager exit_manager; 33 base::AtExitManager exit_manager;
34 #endif 34 #endif
35 CommandLine::Init(argc, argv); 35 base::CommandLine::Init(argc, argv);
36 testing::InitGoogleMock(&argc, argv); 36 testing::InitGoogleMock(&argc, argv);
37 return base::LaunchUnitTests(argc, 37 return base::LaunchUnitTests(argc,
38 argv, 38 argv,
39 base::Bind(&RunTestSuite, argc, argv)); 39 base::Bind(&RunTestSuite, argc, argv));
40 } 40 }
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_format_autogen.h ('k') | gpu/command_buffer/service/async_pixel_transfer_manager_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698