Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 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 #ifndef SERVICES_SERVICE_MANAGER_PUBLIC_CPP_TEST_COMMON_INITIALIZATION_H_ | |
| 6 #define SERVICES_SERVICE_MANAGER_PUBLIC_CPP_TEST_COMMON_INITIALIZATION_H_ | |
| 7 | |
| 8 #include "base/test/launcher/unit_test_launcher.h" | |
| 9 | |
| 10 namespace services { | |
|
Ken Rockot(use gerrit already)
2017/05/25 01:54:00
For consistency with everything else here this sho
| |
| 11 | |
| 12 // Does common mojo edk/catalog initialization that needs to happen in all | |
| 13 // service tests. This method exists so that different test runners can use | |
| 14 // different base::TestSuite instances, but still use the common mojo | |
| 15 // initialization. | |
| 16 int InitializeAndLaunchUnitTests( | |
| 17 int argc, | |
| 18 char** argv, | |
| 19 const base::RunTestSuiteCallback& run_test_suite); | |
| 20 | |
| 21 } // namespace services | |
| 22 | |
| 23 #endif // SERVICES_SERVICE_MANAGER_PUBLIC_CPP_TEST_COMMON_INITIALIZATION_H_ | |
| OLD | NEW |