| Index: third_party/ocmock/OCMock/NSInvocation+OCMAdditions.m
|
| diff --git a/third_party/ocmock/OCMock/NSInvocation+OCMAdditions.m b/third_party/ocmock/OCMock/NSInvocation+OCMAdditions.m
|
| index 41579583a4c3add0536820a203172bb4e87c68e1..25d51885bdddc40780f9c6d570befb68a5f9510c 100644
|
| --- a/third_party/ocmock/OCMock/NSInvocation+OCMAdditions.m
|
| +++ b/third_party/ocmock/OCMock/NSInvocation+OCMAdditions.m
|
| @@ -161,6 +161,7 @@
|
| switch(*argType)
|
| {
|
| case '@': return [self objectDescriptionAtIndex:argIndex];
|
| + case 'B': return [self boolDescriptionAtIndex:argIndex];
|
| case 'c': return [self charDescriptionAtIndex:argIndex];
|
| case 'C': return [self unsignedCharDescriptionAtIndex:argIndex];
|
| case 'i': return [self intDescriptionAtIndex:argIndex];
|
| @@ -197,6 +198,14 @@
|
| return [object description];
|
| }
|
|
|
| +- (NSString *)boolDescriptionAtIndex:(int)anInt
|
| +{
|
| + bool value;
|
| +
|
| + [self getArgument:&value atIndex:anInt];
|
| + return value ? @"YES" : @"NO";
|
| +}
|
| +
|
| - (NSString *)charDescriptionAtIndex:(int)anInt
|
| {
|
| unsigned char buffer[128];
|
|
|