Adds cocoapods for libraries.

Adds OCMockito and OCHamcrest libs.
This commit is contained in:
2020-09-05 22:06:51 -07:00
parent f688898d96
commit bab5a55c3b
364 changed files with 17147 additions and 1 deletions

View File

@@ -0,0 +1,55 @@
// OCHamcrest by Jon Reid, https://qualitycoding.org/
// Copyright 2019 hamcrest.org. See LICENSE.txt
#import <OCHamcrest/HCBaseMatcher.h>
NS_ASSUME_NONNULL_BEGIN
/*!
* @abstract Matches anything.
*/
@interface HCIsAnything : HCBaseMatcher
- (instancetype)init;
- (instancetype)initWithDescription:(NSString *)description NS_DESIGNATED_INITIALIZER;
@end
FOUNDATION_EXPORT id HC_anything(void);
#ifndef HC_DISABLE_SHORT_SYNTAX
/*!
* @abstract Creates a matcher that always matches, regardless of the examined object.
* @discussion
* <b>Name Clash</b><br />
* In the event of a name clash, <code>#define HC_DISABLE_SHORT_SYNTAX</code> and use the synonym
* HC_anything instead.
*/
static inline id anything(void)
{
return HC_anything();
}
#endif
FOUNDATION_EXPORT id HC_anythingWithDescription(NSString *description);
#ifndef HC_DISABLE_SHORT_SYNTAX
/*!
* @abstract Creates a matcher that matches anything, regardless of the examined object, but
* describes itself with the specified NSString.
* @param description A meaningful string used to describe this matcher.
* @discussion
* <b>Name Clash</b><br />
* In the event of a name clash, <code>#define HC_DISABLE_SHORT_SYNTAX</code> and use the synonym
* HC_anything instead.
*/
static inline id anythingWithDescription(NSString *description)
{
return HC_anythingWithDescription(description);
}
#endif
NS_ASSUME_NONNULL_END