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

Side by Side Diff: cc/test/run_all_unittests.cc

Issue 11035010: cc: Change gtest includes to the style used in chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: testSuite -> test_suite Created 8 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « cc/test/FakeGraphicsContext3DTest.cpp ('k') | no next file » | 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/message_loop.h" 5 #include "base/message_loop.h"
6 #include "base/test/test_suite.h" 6 #include "base/test/test_suite.h"
7 #include "cc/test/test_webkit_platform.h" 7 #include "cc/test/test_webkit_platform.h"
8 #include "testing/gmock/include/gmock/gmock.h"
8 #include "third_party/WebKit/Source/Platform/chromium/public/Platform.h" 9 #include "third_party/WebKit/Source/Platform/chromium/public/Platform.h"
9 #include <gmock/gmock.h>
10 10
11 int main(int argc, char** argv) { 11 int main(int argc, char** argv) {
12 ::testing::InitGoogleMock(&argc, argv); 12 ::testing::InitGoogleMock(&argc, argv);
13 TestSuite testSuite(argc, argv); 13 TestSuite test_suite(argc, argv);
14 cc::TestWebKitPlatform platform; 14 cc::TestWebKitPlatform platform;
15 MessageLoop message_loop; 15 MessageLoop message_loop;
16 WebKit::Platform::initialize(&platform); 16 WebKit::Platform::initialize(&platform);
17 int result = testSuite.Run(); 17 int result = test_suite.Run();
18 WebKit::Platform::shutdown(); 18 WebKit::Platform::shutdown();
19 19
20 return result; 20 return result;
21 } 21 }
22 22
OLDNEW
« no previous file with comments | « cc/test/FakeGraphicsContext3DTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698