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

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

Issue 68203005: Mojo: Make tests under mojo/public use our own run_all_unittests.cc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | « no previous file | mojo/mojo.gyp » ('j') | mojo/public/tests/bindings_connector_unittest.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/basictypes.h" 5
6 #include "base/bind.h" 6 #include "base/bind.h"
7 #include "base/compiler_specific.h"
8 #include "base/test/launcher/unit_test_launcher.h" 7 #include "base/test/launcher/unit_test_launcher.h"
9 #include "base/test/test_suite.h" 8 #include "base/test/test_suite.h"
10 #include "mojo/system/core_impl.h" 9 #include "mojo/system/core_impl.h"
11 10
12 int main(int argc, char** argv) { 11 int main(int argc, char** argv) {
13 base::TestSuite test_suite(argc, argv); 12 base::TestSuite test_suite(argc, argv);
14 13
15 mojo::system::CoreImpl::Init(); 14 mojo::system::CoreImpl::Init();
16 15
17 return base::LaunchUnitTests( 16 return base::LaunchUnitTests(
18 argc, argv, base::Bind(&base::TestSuite::Run, 17 argc, argv, base::Bind(&base::TestSuite::Run,
19 base::Unretained(&test_suite))); 18 base::Unretained(&test_suite)));
20 } 19 }
OLDNEW
« no previous file with comments | « no previous file | mojo/mojo.gyp » ('j') | mojo/public/tests/bindings_connector_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698