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

Side by Side Diff: third_party/ocmock/OCMock/OCPartialMockRecorder.m

Issue 9240023: Roll OCMock r77:7f521db0628086185123666b0979e48d6ecaeac1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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 | Annotate | Revision Log
OLDNEW
1 //------------------------------------------------------------------------------ --------- 1 //------------------------------------------------------------------------------ ---------
2 // $Id: OCPartialMockRecorder.m 68 2010-08-20 13:20:52Z erik $ 2 // $Id$
3 // Copyright (c) 2009-2010 by Mulle Kybernetik. See License file for details. 3 // Copyright (c) 2009-2010 by Mulle Kybernetik. See License file for details.
4 //------------------------------------------------------------------------------ --------- 4 //------------------------------------------------------------------------------ ---------
5 5
6 #import "OCPartialMockObject.h" 6 #import "OCPartialMockObject.h"
7 #import "OCMRealObjectForwarder.h" 7 #import "OCMRealObjectForwarder.h"
8 #import "OCPartialMockRecorder.h" 8 #import "OCPartialMockRecorder.h"
9 9
10 10
11 @implementation OCPartialMockRecorder 11 @implementation OCPartialMockRecorder
12 12
13 - (id)andForwardToRealObject 13 - (id)andForwardToRealObject
14 { 14 {
15 [invocationHandlers addObject:[[[OCMRealObjectForwarder alloc] init] aut orelease]]; 15 [invocationHandlers addObject:[[[OCMRealObjectForwarder alloc] init] aut orelease]];
16 return self; 16 return self;
17 } 17 }
18 18
19 19
20 - (void)forwardInvocation:(NSInvocation *)anInvocation 20 - (void)forwardInvocation:(NSInvocation *)anInvocation
21 { 21 {
22 [super forwardInvocation:anInvocation]; 22 [super forwardInvocation:anInvocation];
23 // not as clean as I'd wish... 23 // not as clean as I'd wish...
24 [(OCPartialMockObject *)signatureResolver setupForwarderForSelector:[anI nvocation selector]]; 24 [(OCPartialMockObject *)signatureResolver setupForwarderForSelector:[anI nvocation selector]];
25 } 25 }
26 26
27 @end 27 @end
OLDNEW
« no previous file with comments | « third_party/ocmock/OCMock/OCPartialMockRecorder.h ('k') | third_party/ocmock/OCMock/OCProtocolMockObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698