Adds cocoapods for libraries.
Adds OCMockito and OCHamcrest libs.
This commit is contained in:
39
iOS/Pods/OCHamcrest/Source/Library/Collection/HCIsEmptyCollection.h
generated
Normal file
39
iOS/Pods/OCHamcrest/Source/Library/Collection/HCIsEmptyCollection.h
generated
Normal file
@@ -0,0 +1,39 @@
|
||||
// OCHamcrest by Jon Reid, https://qualitycoding.org/
|
||||
// Copyright 2019 hamcrest.org. See LICENSE.txt
|
||||
|
||||
#import <OCHamcrest/HCHasCount.h>
|
||||
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/*!
|
||||
* @abstract Matches empty collections.
|
||||
*/
|
||||
@interface HCIsEmptyCollection : HCHasCount
|
||||
|
||||
- (instancetype)init;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
FOUNDATION_EXPORT id HC_isEmpty(void);
|
||||
|
||||
#ifndef HC_DISABLE_SHORT_SYNTAX
|
||||
/*!
|
||||
* @abstract Creates a matcher that matches any examined object whose <code>-count</code> method
|
||||
* returns zero.
|
||||
*
|
||||
* <b>Example</b><br />
|
||||
* <pre>assertThat(\@[], isEmpty())</pre>
|
||||
*
|
||||
* <b>Name Clash</b><br />
|
||||
* In the event of a name clash, <code>#define HC_DISABLE_SHORT_SYNTAX</code> and use the synonym
|
||||
* HC_isEmpty instead.
|
||||
*/
|
||||
static inline id isEmpty(void)
|
||||
{
|
||||
return HC_isEmpty();
|
||||
}
|
||||
#endif
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user