28 lines
847 B
Objective-C

//
// OCHamcrest - HCBaseMatcher.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 <Foundation/Foundation.h>
#import <OCHamcrestIOS/HCMatcher.h>
#import <objc/objc-api.h> // Convenience header, to provide OBJC_EXPORT
/**
Base class for all HCMatcher implementations.
Most implementations can just implement @c -matches: and let
<code>-matches:describingMismatchTo:</code> call it. But if it makes more sense to generate the
mismatch description during the matching, override <code>-matches:describingMismatchTo:</code>
and have @c -matches: call it with a @c nil description.
@ingroup core
*/
@interface HCBaseMatcher : NSObject <HCMatcher>
@end