OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/test/launcher/test_launcher.h" |
| 6 |
5 #include "base/bind.h" | 7 #include "base/bind.h" |
6 #include "base/test/launcher/unit_test_launcher.h" | 8 #include "base/test/launcher/unit_test_launcher.h" |
7 #include "mojo/services/public/cpp/view_manager/lib/view_manager_test_suite.h" | 9 |
| 10 namespace { |
| 11 |
| 12 int DummyRunTestSuite(void) { |
| 13 return -1; |
| 14 } |
| 15 |
| 16 } // namespace |
8 | 17 |
9 int main(int argc, char** argv) { | 18 int main(int argc, char** argv) { |
10 mojo::ViewManagerTestSuite test_suite(argc, argv); | 19 return base::LaunchUnitTests(argc, argv, base::Bind(&DummyRunTestSuite)); |
11 | |
12 return base::LaunchUnitTests( | |
13 argc, argv, base::Bind(&TestSuite::Run, base::Unretained(&test_suite))); | |
14 } | 20 } |
OLD | NEW |