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

Side by Side Diff: third_party/ocmock/ocmock_extensions.h

Issue 10834362: Support for iOS in OCMock (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove extra line Created 8 years, 4 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
« no previous file with comments | « third_party/ocmock/ocmock.gyp ('k') | third_party/ocmock/ocmock_extensions.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef THIRD_PARTY_OCMOCK_OCMOCK_EXTENSIONS_H_ 5 #ifndef THIRD_PARTY_OCMOCK_OCMOCK_EXTENSIONS_H_
6 #define THIRD_PARTY_OCMOCK_OCMOCK_EXTENSIONS_H_ 6 #define THIRD_PARTY_OCMOCK_OCMOCK_EXTENSIONS_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 #import "third_party/ocmock/OCMock/OCMock.h" 10 #import "third_party/ocmock/OCMock/OCMock.h"
(...skipping 11 matching lines...) Expand all
22 - (id)andReturnUnsignedInt:(unsigned int)value; 22 - (id)andReturnUnsignedInt:(unsigned int)value;
23 - (id)andReturnLong:(long)value; 23 - (id)andReturnLong:(long)value;
24 - (id)andReturnUnsignedLong:(unsigned long)value; 24 - (id)andReturnUnsignedLong:(unsigned long)value;
25 - (id)andReturnLongLong:(long long)value; 25 - (id)andReturnLongLong:(long long)value;
26 - (id)andReturnUnsignedLongLong:(unsigned long long)value; 26 - (id)andReturnUnsignedLongLong:(unsigned long long)value;
27 - (id)andReturnFloat:(float)value; 27 - (id)andReturnFloat:(float)value;
28 - (id)andReturnDouble:(double)value; 28 - (id)andReturnDouble:(double)value;
29 - (id)andReturnBool:(BOOL)value; 29 - (id)andReturnBool:(BOOL)value;
30 - (id)andReturnInteger:(NSInteger)value; 30 - (id)andReturnInteger:(NSInteger)value;
31 - (id)andReturnUnsignedInteger:(NSUInteger)value; 31 - (id)andReturnUnsignedInteger:(NSUInteger)value;
32 #if !TARGET_OS_IPHONE
32 - (id)andReturnNSRect:(NSRect)rect; 33 - (id)andReturnNSRect:(NSRect)rect;
33 - (id)andReturnCGRect:(CGRect)rect; 34 - (id)andReturnCGRect:(CGRect)rect;
34 - (id)andReturnNSPoint:(NSPoint)point; 35 - (id)andReturnNSPoint:(NSPoint)point;
35 - (id)andReturnCGPoint:(CGPoint)point; 36 - (id)andReturnCGPoint:(CGPoint)point;
37 #endif
36 @end 38 @end
37 39
38 // A constraint for verifying that something conforms to a protocol. 40 // A constraint for verifying that something conforms to a protocol.
39 @interface cr_OCMConformToProtocolConstraint : OCMConstraint { 41 @interface cr_OCMConformToProtocolConstraint : OCMConstraint {
40 @private 42 @private
41 Protocol* protocol_; 43 Protocol* protocol_;
42 } 44 }
43 - (id)initWithProtocol:(Protocol*)protocol; 45 - (id)initWithProtocol:(Protocol*)protocol;
44 @end 46 @end
45 47
46 @interface OCMArg(CrExtensions) 48 @interface OCMArg(CrExtensions)
47 + (id)conformsToProtocol:(Protocol*)protocol; 49 + (id)conformsToProtocol:(Protocol*)protocol;
48 @end 50 @end
49 51
50 #endif // THIRD_PARTY_OCMOCK_OCMOCK_EXTENSIONS_H_ 52 #endif // THIRD_PARTY_OCMOCK_OCMOCK_EXTENSIONS_H_
OLDNEW
« no previous file with comments | « third_party/ocmock/ocmock.gyp ('k') | third_party/ocmock/ocmock_extensions.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698