OCHamcrest
|
Utilities for writing Matchers.
Classes | |
class | HCInvocationMatcher |
Supporting class for matching a feature of an object. More... | |
Functions | |
NSMutableArray * | HCCollectMatchers (id item1, va_list args) |
Returns an array of matchers from a variable-length comma-separated list terminated by nil . | |
void | HCRequireNonNilObject (id obj) |
Throws an NSException if obj is nil . | |
id< HCMatcher > | HCWrapInMatcher (id matcherOrValue) |
Wraps argument in a matcher, if necessary. |
Utilities for writing Matchers.
NSMutableArray* HCCollectMatchers | ( | id | item1, |
va_list | args | ||
) |
Returns an array of matchers from a variable-length comma-separated list terminated by nil
.
void HCRequireNonNilObject | ( | id | obj | ) |
Throws an NSException if obj is nil
.
id<HCMatcher> HCWrapInMatcher | ( | id | matcherOrValue | ) |
Wraps argument in a matcher, if necessary.