Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Side by Side Diff: third_party/ocmock/OCMock/OCMConstraint.h

Issue 9240023: Roll OCMock r77:7f521db0628086185123666b0979e48d6ecaeac1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 //------------------------------------------------------------------------------ --------- 1 //------------------------------------------------------------------------------ ---------
2 // $Id: OCMConstraint.h 57 2010-07-19 06:14:27Z erik $ 2 // $Id$
3 // Copyright (c) 2007-2010 by Mulle Kybernetik. See License file for details. 3 // Copyright (c) 2007-2010 by Mulle Kybernetik. See License file for details.
4 //------------------------------------------------------------------------------ --------- 4 //------------------------------------------------------------------------------ ---------
5 5
6 #import <Foundation/Foundation.h> 6 #import <Foundation/Foundation.h>
7 7
8 8
9 @interface OCMConstraint : NSObject 9 @interface OCMConstraint : NSObject
10 10
11 + (id)constraint; 11 + (id)constraint;
12 - (BOOL)evaluate:(id)value; 12 - (BOOL)evaluate:(id)value;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 - (id)initWithConstraintBlock:(BOOL (^)(id))block; 56 - (id)initWithConstraintBlock:(BOOL (^)(id))block;
57 57
58 @end 58 @end
59 59
60 #endif 60 #endif
61 61
62 62
63 #define CONSTRAINT(aSelector) [OCMConstraint constraintWithSelector:aSelector on Object:self] 63 #define CONSTRAINT(aSelector) [OCMConstraint constraintWithSelector:aSelector on Object:self]
64 #define CONSTRAINTV(aSelector, aValue) [OCMConstraint constraintWithSelector:aSe lector onObject:self withValue:(aValue)] 64 #define CONSTRAINTV(aSelector, aValue) [OCMConstraint constraintWithSelector:aSe lector onObject:self withValue:(aValue)]
OLDNEW
« no previous file with comments | « third_party/ocmock/OCMock/OCMBoxedReturnValueProvider.m ('k') | third_party/ocmock/OCMock/OCMConstraint.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698