blob: 78ee59e0284eb6cc5f0d49d5fa2cc2bacf807a1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/*
* Copyright (c) 2021 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef TEST_IOS_GOOGLE_TEST_RUNNER_DELEGATE_H_
#define TEST_IOS_GOOGLE_TEST_RUNNER_DELEGATE_H_
// Copied from Chromium base/test/ios/google_test_runner_delegate.h
// to avoid the //base dependency. This protocol is required
// to run iOS Unittest.
@protocol GoogleTestRunnerDelegate
// Returns YES if this delegate supports running GoogleTests via a call to
// `runGoogleTests`.
@property(nonatomic, readonly, assign) BOOL supportsRunningGoogleTests;
// Runs GoogleTests and returns the final exit code.
- (int)runGoogleTests;
@end
#endif // TEST_IOS_GOOGLE_TEST_RUNNER_DELEGATE_H_
|