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

Side by Side Diff: content/renderer/compositor_bindings/test/run_all_unittests.cc

Issue 317163002: Moving compositor_bindings from webkit to content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
jam 2014/06/05 15:24:07 no need to have a separate unit test target; all u
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/message_loop/message_loop.h" 6 #include "base/message_loop/message_loop.h"
7 #include "base/test/launcher/unit_test_launcher.h" 7 #include "base/test/launcher/unit_test_launcher.h"
8 #include "base/test/test_suite.h" 8 #include "base/test/test_suite.h"
9 9
10 namespace { 10 namespace {
11 11
12 int RunTestSuite(TestSuite* test_suite) { 12 int RunTestSuite(TestSuite* test_suite) {
13 base::MessageLoop message_loop; 13 base::MessageLoop message_loop;
14 return test_suite->Run(); 14 return test_suite->Run();
15 } 15 }
16 16
17 } // namespace 17 } // namespace
18 18
19 int main(int argc, char** argv) { 19 int main(int argc, char** argv) {
20 TestSuite test_suite(argc, argv); 20 TestSuite test_suite(argc, argv);
21 21
22 return base::LaunchUnitTests( 22 return base::LaunchUnitTests(
23 argc, argv, base::Bind(&RunTestSuite, 23 argc, argv, base::Bind(&RunTestSuite, base::Unretained(&test_suite)));
24 base::Unretained(&test_suite)));
25 } 24 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698