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

Unified Diff: third_party/ocmock/OCMock/NSInvocation+OCMAdditions.h

Issue 2410583002: Test update OCMock (Closed)
Patch Set: Patch in exactly 3.1.5 Created 3 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/BUILD.gn ('k') | third_party/ocmock/OCMock/NSInvocation+OCMAdditions.m » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/ocmock/OCMock/NSInvocation+OCMAdditions.h
diff --git a/third_party/ocmock/OCMock/NSInvocation+OCMAdditions.h b/third_party/ocmock/OCMock/NSInvocation+OCMAdditions.h
index 04f22cd6f0eea5f0caa0ba391644ee24fd4fef95..776fb272cd46ce006517abcade064bd2a40d88f0 100644
--- a/third_party/ocmock/OCMock/NSInvocation+OCMAdditions.h
+++ b/third_party/ocmock/OCMock/NSInvocation+OCMAdditions.h
@@ -1,34 +1,47 @@
-//---------------------------------------------------------------------------------------
-// $Id$
-// Copyright (c) 2006-2009 by Mulle Kybernetik. See License file for details.
-//---------------------------------------------------------------------------------------
+/*
+ * Copyright (c) 2006-2015 Erik Doernenburg and contributors
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
+ * not use these files except in compliance with the License. You may obtain
+ * a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ */
#import <Foundation/Foundation.h>
@interface NSInvocation(OCMAdditions)
-- (id)getArgumentAtIndexAsObject:(int)argIndex;
+- (BOOL)hasCharPointerArgument;
+
+- (id)getArgumentAtIndexAsObject:(NSInteger)argIndex;
- (NSString *)invocationDescription;
-- (NSString *)argumentDescriptionAtIndex:(int)argIndex;
-
-- (NSString *)objectDescriptionAtIndex:(int)anInt;
-- (NSString *)charDescriptionAtIndex:(int)anInt;
-- (NSString *)unsignedCharDescriptionAtIndex:(int)anInt;
-- (NSString *)intDescriptionAtIndex:(int)anInt;
-- (NSString *)unsignedIntDescriptionAtIndex:(int)anInt;
-- (NSString *)shortDescriptionAtIndex:(int)anInt;
-- (NSString *)unsignedShortDescriptionAtIndex:(int)anInt;
-- (NSString *)longDescriptionAtIndex:(int)anInt;
-- (NSString *)unsignedLongDescriptionAtIndex:(int)anInt;
-- (NSString *)longLongDescriptionAtIndex:(int)anInt;
-- (NSString *)unsignedLongLongDescriptionAtIndex:(int)anInt;
-- (NSString *)doubleDescriptionAtIndex:(int)anInt;
-- (NSString *)floatDescriptionAtIndex:(int)anInt;
-- (NSString *)structDescriptionAtIndex:(int)anInt;
-- (NSString *)pointerDescriptionAtIndex:(int)anInt;
-- (NSString *)cStringDescriptionAtIndex:(int)anInt;
-- (NSString *)selectorDescriptionAtIndex:(int)anInt;
+- (NSString*)argumentDescriptionAtIndex:(NSInteger)argIndex;
+
+- (NSString*)objectDescriptionAtIndex:(NSInteger)anInt;
+- (NSString*)charDescriptionAtIndex:(NSInteger)anInt;
+- (NSString*)unsignedCharDescriptionAtIndex:(NSInteger)anInt;
+- (NSString*)intDescriptionAtIndex:(NSInteger)anInt;
+- (NSString*)unsignedIntDescriptionAtIndex:(NSInteger)anInt;
+- (NSString*)shortDescriptionAtIndex:(NSInteger)anInt;
+- (NSString*)unsignedShortDescriptionAtIndex:(NSInteger)anInt;
+- (NSString*)longDescriptionAtIndex:(NSInteger)anInt;
+- (NSString*)unsignedLongDescriptionAtIndex:(NSInteger)anInt;
+- (NSString*)longLongDescriptionAtIndex:(NSInteger)anInt;
+- (NSString*)unsignedLongLongDescriptionAtIndex:(NSInteger)anInt;
+- (NSString*)doubleDescriptionAtIndex:(NSInteger)anInt;
+- (NSString*)floatDescriptionAtIndex:(NSInteger)anInt;
+- (NSString*)structDescriptionAtIndex:(NSInteger)anInt;
+- (NSString*)pointerDescriptionAtIndex:(NSInteger)anInt;
+- (NSString*)cStringDescriptionAtIndex:(NSInteger)anInt;
+- (NSString*)selectorDescriptionAtIndex:(NSInteger)anInt;
@end
« no previous file with comments | « third_party/ocmock/BUILD.gn ('k') | third_party/ocmock/OCMock/NSInvocation+OCMAdditions.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698