| Kári Tristan Helgason | e2baffb | 2017-06-09 10:31:58 +0200 | [diff] [blame] | 1 | /* | 
|  | 2 | *  Copyright 2017 The WebRTC Project Authors. All rights reserved. | 
|  | 3 | * | 
|  | 4 | *  Use of this source code is governed by a BSD-style license | 
|  | 5 | *  that can be found in the LICENSE file in the root of the source | 
|  | 6 | *  tree. An additional intellectual property rights grant can be found | 
|  | 7 | *  in the file PATENTS.  All contributing project authors may | 
|  | 8 | *  be found in the AUTHORS file in the root of the source tree. | 
|  | 9 | */ | 
|  | 10 |  | 
| Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 11 | #ifndef TEST_IOS_TEST_SUPPORT_H_ | 
|  | 12 | #define TEST_IOS_TEST_SUPPORT_H_ | 
| Kári Tristan Helgason | e2baffb | 2017-06-09 10:31:58 +0200 | [diff] [blame] | 13 |  | 
|  | 14 | namespace rtc { | 
|  | 15 | namespace test { | 
|  | 16 | // Launches an iOS app that serves as a host for a test suite. | 
|  | 17 | // This is necessary as iOS doesn't like processes without a gui | 
|  | 18 | // running for longer than a few seconds. | 
|  | 19 | void RunTestsFromIOSApp(); | 
| Yves Gerey | 665174f | 2018-06-19 15:03:05 +0200 | [diff] [blame] | 20 | void InitTestSuite(int (*test_suite)(void), | 
|  | 21 | int argc, | 
|  | 22 | char* argv[], | 
| Edward Lemur | e66572b | 2018-01-05 15:34:09 +0100 | [diff] [blame] | 23 | bool save_chartjson_result); | 
| Kári Tristan Helgason | e2baffb | 2017-06-09 10:31:58 +0200 | [diff] [blame] | 24 |  | 
|  | 25 | }  // namespace test | 
|  | 26 | }  // namespace rtc | 
|  | 27 |  | 
| Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 28 | #endif  // TEST_IOS_TEST_SUPPORT_H_ |