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

Side by Side Diff: third_party/ocmock/OCMock/OCMArg.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
« no previous file with comments | « third_party/ocmock/OCMock/OCMArg.h ('k') | third_party/ocmock/OCMock/OCMBlockCaller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //------------------------------------------------------------------------------ --------- 1 //------------------------------------------------------------------------------ ---------
2 // $Id: OCMArg.m 77 2011-03-17 21:33:59Z 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 <OCMock/OCMArg.h> 6 #import <OCMock/OCMArg.h>
7 #import <OCMock/OCMConstraint.h> 7 #import <OCMock/OCMConstraint.h>
8 #import "OCMPassByRefSetter.h" 8 #import "OCMPassByRefSetter.h"
9 #import "OCMConstraint.h" 9 #import "OCMConstraint.h"
10 10
11 @implementation OCMArg 11 @implementation OCMArg
12 12
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 void *pointer = [value pointerValue]; 64 void *pointer = [value pointerValue];
65 if(pointer == (void *)0x01234567) 65 if(pointer == (void *)0x01234567)
66 return [OCMArg any]; 66 return [OCMArg any];
67 if((pointer != NULL) && (((id)pointer)->isa == [OCMPassByRefSett er class])) 67 if((pointer != NULL) && (((id)pointer)->isa == [OCMPassByRefSett er class]))
68 return (id)pointer; 68 return (id)pointer;
69 } 69 }
70 return value; 70 return value;
71 } 71 }
72 72
73 @end 73 @end
OLDNEW
« no previous file with comments | « third_party/ocmock/OCMock/OCMArg.h ('k') | third_party/ocmock/OCMock/OCMBlockCaller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698