Files
Monkey-Test/WebDriverAgent/WebDriverAgentLib/Utilities/XCTestPrivateSymbols.h
T
2019-01-25 17:01:52 +08:00

36 lines
1.1 KiB
Objective-C
Executable File

/**
* 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. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <Foundation/Foundation.h>
@protocol XCDebugLogDelegate;
/*! Accessibility identifier for is visible attribute */
extern NSNumber *FB_XCAXAIsVisibleAttribute;
/*! Accessibility identifier for is accessible attribute */
extern NSNumber *FB_XCAXAIsElementAttribute;
/*! Getter for XCTest logger */
extern id<XCDebugLogDelegate> (*XCDebugLogger)(void);
/*! Setter for XCTest logger */
extern void (*XCSetDebugLogger)(id <XCDebugLogDelegate>);
/**
Method used to retrieve pointer for given symbol 'name' from given 'binary'
@param name name of the symbol
@return pointer to symbol
*/
void *FBRetrieveXCTestSymbol(const char *name);
/*! Static constructor that will retrieve XCTest private symbols */
__attribute__((constructor)) void FBLoadXCTestSymbols(void);