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

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

Issue 621153003: Move mojo edk into mojo/edk (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix checkdeps Created 6 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
« no previous file with comments | « mojo/common/test/run_all_perftests.cc ('k') | mojo/common/test/test_utils.h » ('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/common/test/test_support_impl.h" 8 #include "mojo/common/test/test_support_impl.h"
9 #include "mojo/embedder/test_embedder.h" 9 #include "mojo/edk/embedder/test_embedder.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, argv, base::Bind(&base::TestSuite::Run, 24 argc, argv, base::Bind(&base::TestSuite::Run,
25 base::Unretained(&test_suite))); 25 base::Unretained(&test_suite)));
26 } 26 }
OLDNEW
« no previous file with comments | « mojo/common/test/run_all_perftests.cc ('k') | mojo/common/test/test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698