summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrettyWhite <geekman3454@protonmail.com>2017-07-28 09:39:07 -0400
committerBrettyWhite <geekman3454@protonmail.com>2017-07-28 09:39:07 -0400
commitbf45b711cf5ff29ef9573b1d02126a544ae7e669 (patch)
tree9cea39bf245c1540682d47948cfe553896aff3bd
parent03921e5b6128f412924277c45b2385e94ef4d34f (diff)
downloadsdl_ios-bf45b711cf5ff29ef9573b1d02126a544ae7e669.tar.gz
fixed error that was breaking unit tests
-rw-r--r--SmartDeviceLink/SDLSystemCapabilityType.m2
-rw-r--r--SmartDeviceLinkTests/RPCSpecs/EnumSpecs/SDLSystemCapabilityTypeSpec.m5
2 files changed, 4 insertions, 3 deletions
diff --git a/SmartDeviceLink/SDLSystemCapabilityType.m b/SmartDeviceLink/SDLSystemCapabilityType.m
index a1a711cde..b17fa5155 100644
--- a/SmartDeviceLink/SDLSystemCapabilityType.m
+++ b/SmartDeviceLink/SDLSystemCapabilityType.m
@@ -30,7 +30,7 @@ NSArray *SDLSystemCapabilityType_values = nil;
SDLSystemCapabilityType_values = @[
SDLSystemCapabilityType.NAVIGATION,
SDLSystemCapabilityType.PHONE_CALL,
- SDLSystemCapabilityType_VIDEO_STREAMING
+ SDLSystemCapabilityType.VIDEO_STREAMING
];
}
return SDLSystemCapabilityType_values;
diff --git a/SmartDeviceLinkTests/RPCSpecs/EnumSpecs/SDLSystemCapabilityTypeSpec.m b/SmartDeviceLinkTests/RPCSpecs/EnumSpecs/SDLSystemCapabilityTypeSpec.m
index 68d8fabd5..1fee82b62 100644
--- a/SmartDeviceLinkTests/RPCSpecs/EnumSpecs/SDLSystemCapabilityTypeSpec.m
+++ b/SmartDeviceLinkTests/RPCSpecs/EnumSpecs/SDLSystemCapabilityTypeSpec.m
@@ -19,7 +19,7 @@ describe(@"ValueOf Tests", ^ {
it(@"Should return correct values when valid", ^ {
expect([SDLSystemCapabilityType valueOf:@"NAVIGATION"]).to(equal([SDLSystemCapabilityType NAVIGATION]));
expect([SDLSystemCapabilityType valueOf:@"PHONE_CALL"]).to(equal([SDLSystemCapabilityType PHONE_CALL]));
- //expect([SDLSystemCapabilityType valueOf:@"VIDEO_STREAMING"]).to(equal([SDLSystemCapabilityType VIDEO_STREAMING]));
+ expect([SDLSystemCapabilityType valueOf:@"VIDEO_STREAMING"]).to(equal([SDLSystemCapabilityType VIDEO_STREAMING]));
});
it(@"Should return nil when invalid", ^ {
@@ -32,7 +32,8 @@ describe(@"Value List Tests", ^ {
__block NSArray* definedValues;
beforeSuite(^ {
definedValues = [@[[SDLSystemCapabilityType NAVIGATION],
- [SDLSystemCapabilityType PHONE_CALL]] copy];
+ [SDLSystemCapabilityType PHONE_CALL],
+ [SDLSystemCapabilityType VIDEO_STREAMING]] copy];
});
it(@"Should contain all defined enum values", ^ {