summaryrefslogtreecommitdiffstats
path: root/third_party/ocmock/OCMockRecorder.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/ocmock/OCMockRecorder.h')
-rw-r--r--third_party/ocmock/OCMockRecorder.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/third_party/ocmock/OCMockRecorder.h b/third_party/ocmock/OCMockRecorder.h
new file mode 100644
index 0000000..fea7b86
--- /dev/null
+++ b/third_party/ocmock/OCMockRecorder.h
@@ -0,0 +1,28 @@
+//---------------------------------------------------------------------------------------
+// $Id: OCMockRecorder.h 50 2009-07-16 06:48:19Z erik $
+// Copyright (c) 2004-2009 by Mulle Kybernetik. See License file for details.
+//---------------------------------------------------------------------------------------
+
+#import <Foundation/Foundation.h>
+
+@interface OCMockRecorder : NSProxy
+{
+ id signatureResolver;
+ NSInvocation *recordedInvocation;
+ NSMutableArray *invocationHandlers;
+}
+
+- (id)initWithSignatureResolver:(id)anObject;
+
+- (BOOL)matchesInvocation:(NSInvocation *)anInvocation;
+- (void)releaseInvocation;
+
+- (id)andReturn:(id)anObject;
+- (id)andReturnValue:(NSValue *)aValue;
+- (id)andThrow:(NSException *)anException;
+- (id)andPost:(NSNotification *)aNotification;
+- (id)andCall:(SEL)selector onObject:(id)anObject;
+
+- (NSArray *)invocationHandlers;
+
+@end