[Session restore] Rename group name Enabled to Restore.
[chromium-blink-merge.git] / third_party / ocmock / OCMock / OCMockRecorder.h
blobb11a25387f3a3f8839fb0fcde1b06ad850c7b8fb
1 //---------------------------------------------------------------------------------------
2 // $Id$
3 // Copyright (c) 2004-2010 by Mulle Kybernetik. See License file for details.
4 //---------------------------------------------------------------------------------------
6 #import <Foundation/Foundation.h>
8 @interface OCMockRecorder : NSProxy
10 id signatureResolver;
11 NSInvocation *recordedInvocation;
12 NSMutableArray *invocationHandlers;
15 - (id)initWithSignatureResolver:(id)anObject;
17 - (BOOL)matchesInvocation:(NSInvocation *)anInvocation;
18 - (void)releaseInvocation;
20 - (id)andReturn:(id)anObject;
21 - (id)andReturnValue:(NSValue *)aValue;
22 - (id)andThrow:(NSException *)anException;
23 - (id)andPost:(NSNotification *)aNotification;
24 - (id)andCall:(SEL)selector onObject:(id)anObject;
25 #if NS_BLOCKS_AVAILABLE
26 - (id)andDo:(void (^)(NSInvocation *))block;
27 #endif
28 - (id)andForwardToRealObject;
30 - (NSArray *)invocationHandlers;
32 @end