Instance Property

fulfilledExpectations

An array of expectations that were fulfilled, in order, up until the waiter stopped waiting.

Declaration

@property(readonly) NSArray<XCTestExpectation *> *fulfilledExpectations;

Discussion

The array will be empty until the waiter has started waiting, even if expectations have already been fulfilled. Expectations fulfilled after the waiter stops waiting will not be in the array.

See Also

Responding to Expectation Fulfilment

delegate

The delegate to which expectation fulfillment events will be reported.

XCTWaiterDelegate

Defines methods that are called when XCTWaiter expectations are fulfilled correctly or incorrectly.