diff options
author | BrettyWhite <geekman3454@protonmail.com> | 2017-07-28 09:39:07 -0400 |
---|---|---|
committer | BrettyWhite <geekman3454@protonmail.com> | 2017-07-28 09:39:07 -0400 |
commit | bf45b711cf5ff29ef9573b1d02126a544ae7e669 (patch) | |
tree | 9cea39bf245c1540682d47948cfe553896aff3bd | |
parent | 03921e5b6128f412924277c45b2385e94ef4d34f (diff) | |
download | sdl_ios-bf45b711cf5ff29ef9573b1d02126a544ae7e669.tar.gz |
fixed error that was breaking unit tests
-rw-r--r-- | SmartDeviceLink/SDLSystemCapabilityType.m | 2 | ||||
-rw-r--r-- | SmartDeviceLinkTests/RPCSpecs/EnumSpecs/SDLSystemCapabilityTypeSpec.m | 5 |
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", ^ { |