| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "base/bind.h" | |
| 6 #include "base/test/launcher/unit_test_launcher.h" | |
| 7 #include "base/test/test_suite.h" | |
| 8 #include "mojo/edk/embedder/test_embedder.h" | |
| 9 #include "mojo/edk/test/test_support_impl.h" | |
| 10 #include "mojo/public/tests/test_support_private.h" | |
| 11 #include "testing/gtest/include/gtest/gtest.h" | |
| 12 | |
| 13 int main(int argc, char** argv) { | |
| 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). | |
| 16 testing::GTEST_FLAG(death_test_style) = "threadsafe"; | |
| 17 | |
| 18 base::TestSuite test_suite(argc, argv); | |
| 19 | |
| 20 mojo::embedder::test::InitWithSimplePlatformSupport(); | |
| 21 mojo::test::TestSupport::Init(new mojo::test::TestSupportImpl()); | |
| 22 | |
| 23 return base::LaunchUnitTests( | |
| 24 argc, argv, | |
| 25 base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite))); | |
| 26 } | |
| OLD | NEW |