Provides a utility for performing asynchronous integration tests with Typhoon. More...
Class Methods | |
(void) | + wait:secondsForCondition:andPerformTests: |
Waits for a condition to occur, and performs additional tests, also overriding the default timeout with the supplied value. More... | |
(void) | + waitForCondition: |
Waits for a condition to occur. More... | |
(void) | + waitForCondition:andPerformTests: |
Waits for a condition to occur, and performs additional tests. More... | |
Provides a utility for performing asynchronous integration tests with Typhoon.
If a method dispatches on a background thread or queue, and responds via a block or delegate, this class can be used to test the the expected response occurred.
+ (void) wait: | (NSTimeInterval) | seconds | |
secondsForCondition: | (TyphoonAsynchConditionBlock) | condition | |
andPerformTests: | (TyphoonTestAssertionsBlock) | assertions | |
Waits for a condition to occur, and performs additional tests, also overriding the default timeout with the supplied value.
+ (void) waitForCondition: | (TyphoonAsynchConditionBlock) | condition |
Waits for a condition to occur.
The default time-out is seven seconds, which is the current usability standard for remote request round-trips.
+ (void) waitForCondition: | (TyphoonAsynchConditionBlock) | condition | |
andPerformTests: | (TyphoonTestAssertionsBlock) | assertions | |
Waits for a condition to occur, and performs additional tests.