Instance Method

waiter:didTimeoutWithUnfulfilledExpectations:

Invoked when not all waited on expectations are fulfilled during the timeout period.

Required.

Declaration

- (void)waiter:(XCTWaiter *)waiter didTimeoutWithUnfulfilledExpectations:(NSArray<XCTestExpectation *> *)unfulfilledExpectations;

Parameters

waiter

The XCTWaiter reporting the timeout event.

unfulfilledExpectations

The expectations

Discussion

If the delegate is an XCTestCase instance, this will be reported as a test failure.

See Also

Timeout Events

- nestedWaiter:wasInterruptedByTimedOutWaiter:

Invoked when the waiter is interrupted prior to its expectations being fulfilled or timing out.

Required.