mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-30 09:21:28 +00:00
48 lines
953 B
Objective-C
48 lines
953 B
Objective-C
//
|
|
// OCHamcrest - HCIsNil.h
|
|
// Copyright 2013 hamcrest.org. See LICENSE.txt
|
|
//
|
|
// Created by: Jon Reid, http://qualitycoding.org/
|
|
// Docs: http://hamcrest.github.com/OCHamcrest/
|
|
// Source: https://github.com/hamcrest/OCHamcrest
|
|
//
|
|
|
|
#import <OCHamcrestIOS/HCBaseMatcher.h>
|
|
|
|
|
|
@interface HCIsNil : HCBaseMatcher
|
|
|
|
+ (id)isNil;
|
|
|
|
@end
|
|
|
|
|
|
OBJC_EXPORT id<HCMatcher> HC_nilValue(void);
|
|
|
|
/**
|
|
Matches if object is @c nil.
|
|
|
|
(In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym
|
|
@c HC_nilValue instead.)
|
|
|
|
@ingroup object_matchers
|
|
*/
|
|
#ifdef HC_SHORTHAND
|
|
#define nilValue() HC_nilValue()
|
|
#endif
|
|
|
|
|
|
OBJC_EXPORT id<HCMatcher> HC_notNilValue(void);
|
|
|
|
/**
|
|
Matches if object is not @c nil.
|
|
|
|
(In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym
|
|
@c HC_notNilValue instead.)
|
|
|
|
@ingroup object_matchers
|
|
*/
|
|
#ifdef HC_SHORTHAND
|
|
#define notNilValue() HC_notNilValue()
|
|
#endif
|