Enumeration

XCTWaiterResult

Result states returned by a waiter when it completes, times out, fails, or is interrupted.

Declaration

typedef enum XCTWaiterResult : NSInteger {
    ...
} XCTWaiterResult;

Topics

Result States

XCTWaiterResultCompleted

All of the waiter’s expectations were fulfilled successfully.

XCTWaiterResultTimedOut

The waiter timed out before all of its expectations were fulfilled.

XCTWaiterResultIncorrectOrder

The waiter’s expectations were not fulfilled in the required order.

XCTWaiterResultInvertedFulfillment

An inverted expectation was fulfilled.

XCTWaiterResultInterrupted

The waiter was interrupted prior to its expectations being fulfilled or timing out.

See Also

Waiting for Expectations

- waitForExpectations:timeout:

Waits on a group of expectations for up to the specified timeout.

- waitForExpectations:timeout:enforceOrder:

Waits on a group of expectations for up to the specified timeout, optionally enforcing their order of fulfillment.

+ waitForExpectations:timeout:

Creates a waiter that waits on a group of expectations for up to the specified timeout.

+ waitForExpectations:timeout:enforceOrder:

Creates a waiter that waits on a group of expectations for up to the specified timeout, optionally enforcing their order of fulfillment.