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

Unified Diff: third_party/ocmock/OCMock/OCMockRecorder.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/ocmock/OCMock/OCMockRecorder.h ('k') | third_party/ocmock/OCMock/OCMockRecorderTests.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/ocmock/OCMock/OCMockRecorder.m
diff --git a/third_party/ocmock/OCMock/OCMockRecorder.m b/third_party/ocmock/OCMock/OCMockRecorder.m
index 9969a2c9ac76e51b7c9eba34cc3ebc54fbda9646..5cd63d2b4c84ae3cf84f4cc81f9687a2b680e533 100644
--- a/third_party/ocmock/OCMock/OCMockRecorder.m
+++ b/third_party/ocmock/OCMock/OCMockRecorder.m
@@ -1,6 +1,6 @@
//---------------------------------------------------------------------------------------
-// $Id: OCMockRecorder.m 68 2010-08-20 13:20:52Z erik $
-// Copyright (c) 2004-2010 by Mulle Kybernetik. See License file for details.
+// $Id$
+// Copyright (c) 2004-2011 by Mulle Kybernetik. See License file for details.
//---------------------------------------------------------------------------------------
#import <objc/runtime.h>
@@ -137,7 +137,7 @@
if([anInvocation selector] != [recordedInvocation selector])
return NO;
- n = [[recordedInvocation methodSignature] numberOfArguments];
+ n = (int)[[recordedInvocation methodSignature] numberOfArguments];
for(i = 2; i < n; i++)
{
recordedArg = [recordedInvocation getArgumentAtIndexAsObject:i];
@@ -170,8 +170,6 @@
}
else
{
- if([recordedArg class] != [passedArg class])
- return NO;
if(([recordedArg class] == [NSNumber class]) &&
([(NSNumber*)recordedArg compare:(NSNumber*)passedArg] != NSOrderedSame))
return NO;
« no previous file with comments | « third_party/ocmock/OCMock/OCMockRecorder.h ('k') | third_party/ocmock/OCMock/OCMockRecorderTests.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698