summaryrefslogtreecommitdiff
path: root/SmartDeviceLinkTests/ProtocolSpecs
diff options
context:
space:
mode:
authorpiyushkhosla <piyush_khosla@infosys.com>2018-02-14 18:08:36 +0530
committerpiyushkhosla <piyush_khosla@infosys.com>2018-07-18 11:38:05 +0530
commit37594a9035dba1a163c0eb33b987d11b0a32827d (patch)
treecbf4333baa5f26c3050c3434d4d3a52f52384f09 /SmartDeviceLinkTests/ProtocolSpecs
parented3418d023afd7032e4790fcfcf5a81cb8931815 (diff)
downloadsdl_ios-37594a9035dba1a163c0eb33b987d11b0a32827d.tar.gz
Adding OnRCStatus notification to notify the application about remote control status change on SDL.
Diffstat (limited to 'SmartDeviceLinkTests/ProtocolSpecs')
-rw-r--r--SmartDeviceLinkTests/ProtocolSpecs/SDLFunctionIDSpec.m5
1 files changed, 4 insertions, 1 deletions
diff --git a/SmartDeviceLinkTests/ProtocolSpecs/SDLFunctionIDSpec.m b/SmartDeviceLinkTests/ProtocolSpecs/SDLFunctionIDSpec.m
index 51145a6f6..169f5c8b0 100644
--- a/SmartDeviceLinkTests/ProtocolSpecs/SDLFunctionIDSpec.m
+++ b/SmartDeviceLinkTests/ProtocolSpecs/SDLFunctionIDSpec.m
@@ -78,7 +78,8 @@ describe(@"GetFunctionName Tests", ^ {
expect([functionID functionNameForId:32781]).to(equal(SDLNameOnSystemRequest));
expect([functionID functionNameForId:32782]).to(equal(SDLNameOnHashChange));
expect([functionID functionNameForId:32784]).to(equal(SDLNameOnWayPointChange));
-
+ expect([functionID functionNameForId:32794]).to(equal(SDLNameOnRCStatus));
+
//Not listed in Spec
expect([functionID functionNameForId:65536]).to(equal(SDLNameEncodedSyncPData));
expect([functionID functionNameForId:65537]).to(equal(SDLNameSyncPData));
@@ -151,6 +152,7 @@ describe(@"GetFunctionID Tests", ^ {
expect([functionID functionIdForName:SDLNameOnSystemRequest]).to(equal(@32781));
expect([functionID functionIdForName:SDLNameOnHashChange]).to(equal(@32782));
expect([functionID functionIdForName:SDLNameOnWayPointChange]).to(equal(@32784));
+ expect([functionID functionIdForName:SDLNameOnRCStatus]).to(equal(@32794));
//Not listed in Spec
expect([functionID functionIdForName:SDLNameEncodedSyncPData]).to(equal(@65536));
@@ -158,6 +160,7 @@ describe(@"GetFunctionID Tests", ^ {
expect([functionID functionIdForName:SDLNameOnEncodedSyncPData]).to(equal(@98304));
expect([functionID functionIdForName:SDLNameOnSyncPData]).to(equal(@98305));
+
});
});