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 #ifndef BASE_TEST_TEST_SUPPORT_IOS_H_ | 5 #ifndef BASE_TEST_TEST_SUPPORT_IOS_H_ |
6 #define BASE_TEST_TEST_SUPPORT_IOS_H_ | 6 #define BASE_TEST_TEST_SUPPORT_IOS_H_ |
7 | 7 |
| 8 #include "base/test/test_suite.h" |
| 9 |
8 namespace base { | 10 namespace base { |
9 | 11 |
10 // Init the message loop for tests on iOS. | 12 // Inits the message loop for tests on iOS. |
11 void InitIOSTestMessageLoop(); | 13 void InitIOSTestMessageLoop(); |
12 | 14 |
| 15 // Inits the run hook for tests on iOS. |
| 16 void InitIOSRunHook(TestSuite* suite, int argc, char* argv[]); |
| 17 |
| 18 // Launches an iOS app that runs the tests in the suite passed to |
| 19 // InitIOSRunHook. |
| 20 void RunTestsFromIOSApp(); |
| 21 |
13 } // namespace base | 22 } // namespace base |
14 | 23 |
15 #endif // BASE_TEST_TEST_SUPPORT_IOS_H_ | 24 #endif // BASE_TEST_TEST_SUPPORT_IOS_H_ |
OLD | NEW |