Adds cocoapods for libraries.
Adds OCMockito and OCHamcrest libs.
This commit is contained in:
41
Pods/OCHamcrest/Source/Library/Object/HCIsSame.h
generated
Normal file
41
Pods/OCHamcrest/Source/Library/Object/HCIsSame.h
generated
Normal file
@@ -0,0 +1,41 @@
|
||||
// OCHamcrest by Jon Reid, https://qualitycoding.org/
|
||||
// Copyright 2019 hamcrest.org. See LICENSE.txt
|
||||
|
||||
#import <OCHamcrest/HCBaseMatcher.h>
|
||||
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/*!
|
||||
* @abstract Is the value the same object as another value?
|
||||
*/
|
||||
@interface HCIsSame : HCBaseMatcher
|
||||
|
||||
- (instancetype)initSameAs:(nullable id)object NS_DESIGNATED_INITIALIZER;
|
||||
- (instancetype)init NS_UNAVAILABLE;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
FOUNDATION_EXPORT id HC_sameInstance(_Nullable id expectedInstance);
|
||||
|
||||
#ifndef HC_DISABLE_SHORT_SYNTAX
|
||||
/*!
|
||||
* @abstract Creates a matcher that matches only when the examined object is the same instance as
|
||||
* the specified target object.
|
||||
* @param expectedInstance The expected instance.
|
||||
* @discussion
|
||||
* <b>Example</b><br />
|
||||
* <pre>assertThat(delegate, sameInstance(expectedDelegate))</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_sameInstance instead.
|
||||
*/
|
||||
static inline id sameInstance(_Nullable id expectedInstance)
|
||||
{
|
||||
return HC_sameInstance(expectedInstance);
|
||||
}
|
||||
#endif
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user