OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/app/mojo/mojo_init.h" |
7 #include "content/public/test/unittest_test_suite.h" | 8 #include "content/public/test/unittest_test_suite.h" |
8 #include "content/test/content_test_suite.h" | 9 #include "content/test/content_test_suite.h" |
9 | 10 |
10 int main(int argc, char** argv) { | 11 int main(int argc, char** argv) { |
| 12 content::InitializeMojo(); |
11 content::UnitTestTestSuite test_suite( | 13 content::UnitTestTestSuite test_suite( |
12 new content::ContentTestSuite(argc, argv)); | 14 new content::ContentTestSuite(argc, argv)); |
13 | 15 |
14 return base::LaunchUnitTests( | 16 return base::LaunchUnitTests( |
15 argc, argv, base::Bind(&content::UnitTestTestSuite::Run, | 17 argc, argv, base::Bind(&content::UnitTestTestSuite::Run, |
16 base::Unretained(&test_suite))); | 18 base::Unretained(&test_suite))); |
17 } | 19 } |
OLD | NEW |