OLD | NEW |
1 //------------------------------------------------------------------------------
--------- | 1 //------------------------------------------------------------------------------
--------- |
2 // $Id: OCPartialMockObject.m 74 2011-02-15 12:59:47Z erik $ | 2 // $Id$ |
3 // Copyright (c) 2009 by Mulle Kybernetik. See License file for details. | 3 // Copyright (c) 2009 by Mulle Kybernetik. See License file for details. |
4 //------------------------------------------------------------------------------
--------- | 4 //------------------------------------------------------------------------------
--------- |
5 | 5 |
6 #import <objc/runtime.h> | 6 #import <objc/runtime.h> |
7 #import "OCPartialMockRecorder.h" | 7 #import "OCPartialMockRecorder.h" |
8 #import "OCPartialMockObject.h" | 8 #import "OCPartialMockObject.h" |
9 | 9 |
10 | 10 |
11 @interface OCPartialMockObject (Private) | 11 @interface OCPartialMockObject (Private) |
12 - (void)forwardInvocationForRealObject:(NSInvocation *)anInvocation; | 12 - (void)forwardInvocationForRealObject:(NSInvocation *)anInvocation; |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 return [[[OCPartialMockRecorder alloc] initWithSignatureResolver:self] a
utorelease]; | 133 return [[[OCPartialMockRecorder alloc] initWithSignatureResolver:self] a
utorelease]; |
134 } | 134 } |
135 | 135 |
136 - (void)handleUnRecordedInvocation:(NSInvocation *)anInvocation | 136 - (void)handleUnRecordedInvocation:(NSInvocation *)anInvocation |
137 { | 137 { |
138 [anInvocation invokeWithTarget:realObject]; | 138 [anInvocation invokeWithTarget:realObject]; |
139 } | 139 } |
140 | 140 |
141 | 141 |
142 @end | 142 @end |
OLD | NEW |