Adds cocoapods for libraries.
Adds OCMockito and OCHamcrest libs.
This commit is contained in:
21
iOS/Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTUnsignedLongArgumentGetter.m
generated
Normal file
21
iOS/Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTUnsignedLongArgumentGetter.m
generated
Normal file
@@ -0,0 +1,21 @@
|
||||
// OCMockito by Jon Reid, https://qualitycoding.org/
|
||||
// Copyright 2020 Quality Coding, Inc. See LICENSE.txt
|
||||
|
||||
#import "MKTUnsignedLongArgumentGetter.h"
|
||||
|
||||
@implementation MKTUnsignedLongArgumentGetter
|
||||
|
||||
- (instancetype)initWithSuccessor:(nullable MKTArgumentGetter *)successor
|
||||
{
|
||||
self = [super initWithType:@encode(unsigned long) successor:successor];
|
||||
return self;
|
||||
}
|
||||
|
||||
- (id)getArgumentAtIndex:(NSInteger)idx ofType:(char const *)type onInvocation:(NSInvocation *)invocation
|
||||
{
|
||||
unsigned long arg;
|
||||
[invocation getArgument:&arg atIndex:idx];
|
||||
return @(arg);
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user