初始化提交

This commit is contained in:
2026-02-03 16:52:44 +08:00
commit d2f9806384
512 changed files with 65167 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <XCTest/XCTest.h>
#if !TARGET_OS_TV
#import <CoreLocation/CoreLocation.h>
#endif
#import "XCSynthesizedEventRecord.h"
NS_ASSUME_NONNULL_BEGIN
@protocol XCTestManager_ManagerInterface;
@class FBScreenRecordingRequest, FBScreenRecordingPromise;
@interface FBXCTestDaemonsProxy : NSObject
+ (id<XCTestManager_ManagerInterface>)testRunnerProxy;
+ (BOOL)synthesizeEventWithRecord:(XCSynthesizedEventRecord *)record
error:(NSError *__autoreleasing*)error;
+ (BOOL)openURL:(NSURL *)url usingApplication:(NSString *)bundleId error:(NSError **)error;
+ (BOOL)openDefaultApplicationForURL:(NSURL *)url error:(NSError **)error;
+ (nullable FBScreenRecordingPromise *)startScreenRecordingWithRequest:(FBScreenRecordingRequest *)request
error:(NSError **)error;
+ (BOOL)stopScreenRecordingWithUUID:(NSUUID *)uuid
error:(NSError **)error;
#if !TARGET_OS_TV
+ (BOOL)setSimulatedLocation:(CLLocation *)location error:(NSError **)error;
+ (nullable CLLocation *)getSimulatedLocation:(NSError **)error;
+ (BOOL)clearSimulatedLocation:(NSError **)error;
#endif
@end
NS_ASSUME_NONNULL_END