Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 46 lines (29 sloc) 0.796 kb
4f0c627 @allending First release.
authored
1 //
2 // Licensed under the terms in License.txt
3 //
4 // Copyright 2010 Allen Ding. All rights reserved.
5 //
6
7 #import "KiwiConfiguration.h"
8
9 @protocol KWMatching<NSObject>
10
11 #pragma mark -
12 #pragma mark Initializing
13
14 - (id)initWithSubject:(id)anObject;
15
16 #pragma mark -
17 #pragma mark Getting Matcher Strings
18
19 + (NSArray *)matcherStrings;
20
21 #pragma mark -
22 #pragma mark Getting Matcher Compatability
23
24 + (BOOL)canMatchSubject:(id)anObject;
25
26 #pragma mark -
27 #pragma mark Matching
28
29 @optional
30
31 - (BOOL)shouldBeEvaluatedAtEndOfExample;
bab9e8e Receive matchers will normally stop message tracking after a single eval...
Luke Redpath authored
32 - (BOOL)willEvaluateMultipleTimes;
33 - (void)setWillEvaluateMultipleTimes:(BOOL)shouldEvaluateMultipleTimes;
4f0c627 @allending First release.
authored
34
35 @required
36
37 - (BOOL)evaluate;
38
39 #pragma mark -
40 #pragma mark Getting Failure Messages
41
42 - (NSString *)failureMessageForShould;
43 - (NSString *)failureMessageForShouldNot;
44
45 @end
Something went wrong with that request. Please try again.