File tree Expand file tree Collapse file tree 3 files changed +7
-16
lines changed
manage/src/cpp/sdk/cpptest Expand file tree Collapse file tree 3 files changed +7
-16
lines changed Original file line number Diff line number Diff line change @@ -431,10 +431,11 @@ void CoreSDKTest::OnDeviceNameChangedNotification::onDeviceNameChanged(const std
431431{
432432 cout << " Name changed, new name --> " << name << endl;
433433
434+ #ifndef INTERACTIVE_APP
434435#ifdef GATEWAY_BIDIRECTIONAL
435436 assert (name == deviceName[" payload" ]);
436437#endif
437-
438+ # endif
438439}
439440
440441void CoreSDKTest::SubscribeDeviceNameChanged ()
Original file line number Diff line number Diff line change @@ -145,7 +145,6 @@ void ShowDiscoveryMenu()
145145 " \t W : Watched\n "
146146 " \t R : WatchedReduced\n "
147147#endif
148- " \t B : Subscribe/Unsubscribe DiscoveryOnNavigateToLaunch\n "
149148 " \t Q : Quit\n " );
150149}
151150
@@ -545,9 +544,6 @@ void HandleDiscoveryMethod()
545544 break ;
546545 }
547546#endif
548- case ' B' : {
549- HandleEventListener (Discovery, OnNavigateToLaunchNotification)
550- }
551547 default :
552548 break ;
553549 }
Original file line number Diff line number Diff line change @@ -90,28 +90,22 @@ const nlohmann::json ManageSDKTest::signOutEvent = {
9090
9191const nlohmann::json ManageSDKTest::requestStandard = {
9292 {" method" , " keyboard.onRequestStandard" },
93- {" payload" , {
94- {" parameters" , {
95- { " message" , " who has a cat?" }
96- }}
93+ {" payload" , {
94+ { " message" , " who has a cat?" }
9795 }}
9896};
9997
10098const nlohmann::json ManageSDKTest::requestEmail = {
10199 {" method" , " keyboard.onRequestEmail" },
102100 {" payload" , {
103- {" parameters" , {
104- { " message" , " who has a cat?" }
105- }}
101+ { " message" , " who has a cat?" }
106102 }}
107103};
108104
109105const nlohmann::json ManageSDKTest::requestPassword = {
110106 {" method" , " keyboard.onRequestPassword" },
111- {" payload" , {
112- {" parameters" , {
113- { " message" , " who has a cat?" }
114- }}
107+ {" payload" , {
108+ { " message" , " who has a cat?" }
115109 }}
116110};
117111
You can’t perform that action at this time.
0 commit comments