mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
39 lines
1.3 KiB
C++
39 lines
1.3 KiB
C++
//===--- XCTestOverlayShims.h -----------------------------------*- C++ -*-===//
|
|
//
|
|
// This source file is part of the Swift.org open source project
|
|
//
|
|
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
|
|
// Licensed under Apache License v2.0 with Runtime Library Exception
|
|
//
|
|
// See https://swift.org/LICENSE.txt for license information
|
|
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef SWIFT_STDLIB_SHIMS_XCTEST_OVERLAY_H
|
|
#define SWIFT_STDLIB_SHIMS_XCTEST_OVERLAY_H
|
|
|
|
@import Foundation;
|
|
|
|
@class XCTestCase;
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
XCTestCase *_XCTCurrentTestCase(void);
|
|
|
|
NSDictionary<NSString *, NSString *> * _Nullable
|
|
_XCTRunThrowableBlockBridge(void (^ _Nonnull NS_NOESCAPE block)());
|
|
|
|
extern NSString * XCTActivityTypeUserCreated;
|
|
@protocol XCTActivity;
|
|
@class XCTContext;
|
|
XCTContext *_XCTContextCurrent(void);
|
|
BOOL _XCTContextShouldStartActivity(XCTContext *context, NSString *activityType);
|
|
id<XCTActivity> _XCTContextWillStartActivity(XCTContext *context, NSString *name, NSString *activityType);
|
|
void _XCTContextDidFinishActivity(XCTContext *context, id<XCTActivity> activity);
|
|
|
|
NS_ASSUME_NONNULL_END
|
|
|
|
#endif // SWIFT_STDLIB_SHIMS_XCTEST_OVERLAY_H
|
|
|