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

Side by Side Diff: mojo/public/bindings/js/test/run_all_unittests.cc

Issue 76353002: Introduce a Gin class instead of using global functions to control gin (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
« mojo/apps/js/main.cc ('K') | « mojo/apps/js/main.cc ('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 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 #include "base/basictypes.h"
6 #include "base/bind.h" 6 #include "base/bind.h"
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.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 "gin/initialize.h"
11 #include "mojo/system/core_impl.h" 10 #include "mojo/system/core_impl.h"
12 11
13 int main(int argc, char** argv) { 12 int main(int argc, char** argv) {
14 base::TestSuite test_suite(argc, argv); 13 base::TestSuite test_suite(argc, argv);
15 14
16 gin::Initialize();
17 mojo::system::CoreImpl::Init(); 15 mojo::system::CoreImpl::Init();
18 16
19 return base::LaunchUnitTests( 17 return base::LaunchUnitTests(
20 argc, argv, base::Bind(&base::TestSuite::Run, 18 argc, argv, base::Bind(&base::TestSuite::Run,
21 base::Unretained(&test_suite))); 19 base::Unretained(&test_suite)));
22 } 20 }
OLDNEW
« mojo/apps/js/main.cc ('K') | « mojo/apps/js/main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698