diff options
author | Justin Gluck <justin.gluck@livio.io> | 2019-09-16 15:38:15 -0400 |
---|---|---|
committer | Justin Gluck <justin.gluck@livio.io> | 2019-09-16 15:38:15 -0400 |
commit | 3c33b3528221154921b67cb5c520c5aa26223950 (patch) | |
tree | f889bde83e02b07778116ad7bf1a55caf0ab657c | |
parent | 897d491f24c15f1e36e8574d7d9b8364f2a0e7d9 (diff) | |
download | sdl_ios-bug/issue-1396-SDLSystemCapabilityTypeSeatLocation.tar.gz |
updating array to include seatlocationbug/issue-1396-SDLSystemCapabilityTypeSeatLocation
-rw-r--r-- | SmartDeviceLink/SDLSystemCapabilityManager.m | 2 | ||||
-rw-r--r-- | SmartDeviceLinkTests/SDLSystemCapabilityManagerSpec.m | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLSystemCapabilityManager.m b/SmartDeviceLink/SDLSystemCapabilityManager.m index feea6a0e7..04a298f22 100644 --- a/SmartDeviceLink/SDLSystemCapabilityManager.m +++ b/SmartDeviceLink/SDLSystemCapabilityManager.m @@ -262,7 +262,7 @@ typedef NSString * SDLServiceID; * @return An array of all possible system capability types */ + (NSArray<SDLSystemCapabilityType> *)sdl_systemCapabilityTypes { - return @[SDLSystemCapabilityTypeAppServices, SDLSystemCapabilityTypeNavigation, SDLSystemCapabilityTypePhoneCall, SDLSystemCapabilityTypeVideoStreaming, SDLSystemCapabilityTypeRemoteControl]; + return @[SDLSystemCapabilityTypeAppServices, SDLSystemCapabilityTypeNavigation, SDLSystemCapabilityTypePhoneCall, SDLSystemCapabilityTypeVideoStreaming, SDLSystemCapabilityTypeRemoteControl, SDLSystemCapabilityTypeSeatLocation]; } /** diff --git a/SmartDeviceLinkTests/SDLSystemCapabilityManagerSpec.m b/SmartDeviceLinkTests/SDLSystemCapabilityManagerSpec.m index d9f324b80..33c9a7471 100644 --- a/SmartDeviceLinkTests/SDLSystemCapabilityManagerSpec.m +++ b/SmartDeviceLinkTests/SDLSystemCapabilityManagerSpec.m @@ -67,6 +67,8 @@ describe(@"System capability manager", ^{ expect(testSystemCapabilityManager.videoStreamingCapability).to(beNil()); expect(testSystemCapabilityManager.remoteControlCapability).to(beNil()); expect(testSystemCapabilityManager.appServicesCapabilities).to(beNil()); + expect(testSystemCapabilityManager.seatLocationCapability).to(beNil()); + }); context(@"When notified of a register app interface response", ^{ @@ -549,7 +551,7 @@ describe(@"System capability manager", ^{ }); it(@"should send GetSystemCapability subscriptions for all known capabilities", ^{ - expect(testConnectionManager.receivedRequests).to(haveCount(5)); + expect(testConnectionManager.receivedRequests).to(haveCount(6)); expect(testConnectionManager.receivedRequests.lastObject).to(beAnInstanceOf([SDLGetSystemCapability class])); }); }); @@ -576,6 +578,7 @@ describe(@"System capability manager", ^{ expect(testSystemCapabilityManager.videoStreamingCapability).to(beNil()); expect(testSystemCapabilityManager.remoteControlCapability).to(beNil()); expect(testSystemCapabilityManager.appServicesCapabilities).to(beNil()); + expect(testSystemCapabilityManager.seatLocationCapability).to(beNil()); }); }); }); |