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

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

Issue 728553002: Update mojo sdk to rev afb4440fd5a10cba980878c326180b7ad7960480 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « mojo/edk/test/multiprocess_test_helper.cc ('k') | mojo/edk/test/test_support_impl.cc » ('j') | 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/bind.h" 5 #include "base/bind.h"
6 #include "base/test/launcher/unit_test_launcher.h" 6 #include "base/test/launcher/unit_test_launcher.h"
7 #include "base/test/test_suite.h" 7 #include "base/test/test_suite.h"
8 #include "mojo/edk/embedder/test_embedder.h" 8 #include "mojo/edk/embedder/test_embedder.h"
9 #include "mojo/edk/test/test_support_impl.h" 9 #include "mojo/edk/test/test_support_impl.h"
10 #include "mojo/public/tests/test_support_private.h" 10 #include "mojo/public/tests/test_support_private.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 12
13 int main(int argc, char** argv) { 13 int main(int argc, char** argv) {
14 // Silence death test thread warnings on Linux. We can afford to run our death 14 // Silence death test thread warnings on Linux. We can afford to run our death
15 // tests a little more slowly (< 10 ms per death test on a Z620). 15 // tests a little more slowly (< 10 ms per death test on a Z620).
16 testing::GTEST_FLAG(death_test_style) = "threadsafe"; 16 testing::GTEST_FLAG(death_test_style) = "threadsafe";
17 17
18 base::TestSuite test_suite(argc, argv); 18 base::TestSuite test_suite(argc, argv);
19 19
20 mojo::embedder::test::InitWithSimplePlatformSupport(); 20 mojo::embedder::test::InitWithSimplePlatformSupport();
21 mojo::test::TestSupport::Init(new mojo::test::TestSupportImpl()); 21 mojo::test::TestSupport::Init(new mojo::test::TestSupportImpl());
22 22
23 return base::LaunchUnitTests( 23 return base::LaunchUnitTests(
24 argc, 24 argc, argv,
25 argv,
26 base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite))); 25 base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite)));
27 } 26 }
OLDNEW
« no previous file with comments | « mojo/edk/test/multiprocess_test_helper.cc ('k') | mojo/edk/test/test_support_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698