| OLD | NEW |
| (Empty) |
| 1 //------------------------------------------------------------------------------
--------- | |
| 2 // $Id$ | |
| 3 // Copyright (c) 2004-2010 by Mulle Kybernetik. See License file for details. | |
| 4 //------------------------------------------------------------------------------
--------- | |
| 5 | |
| 6 #import <Foundation/Foundation.h> | |
| 7 | |
| 8 @interface OCMockRecorder : NSProxy | |
| 9 { | |
| 10 id signatureResolver; | |
| 11 NSInvocation *recordedInvocation; | |
| 12 NSMutableArray *invocationHandlers; | |
| 13 } | |
| 14 | |
| 15 - (id)initWithSignatureResolver:(id)anObject; | |
| 16 | |
| 17 - (BOOL)matchesInvocation:(NSInvocation *)anInvocation; | |
| 18 - (void)releaseInvocation; | |
| 19 | |
| 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; | |
| 29 | |
| 30 - (NSArray *)invocationHandlers; | |
| 31 | |
| 32 @end | |
| OLD | NEW |