Skip to content

Commit bfa77df

Browse files
committed
AVInput COM-RPC Support: WIP
1 parent aadee75 commit bfa77df

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

AVInput/AVInputImplementation.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1250,6 +1250,9 @@ namespace Plugin {
12501250
} catch (const device::Exception& err) {
12511251
LOG_DEVICE_EXCEPTION1(std::to_string(portId));
12521252
success = false;
1253+
// <pca> debug
1254+
return Core::ERROR_GENERAL;
1255+
// </pca>
12531256
}
12541257
return Core::ERROR_NONE;
12551258
}

Tests/L1Tests/tests/test_AVInput.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ TEST_F(AVInputDsTest, getEdid2AllmSupport_ErrorCase)
305305
// EXPECT_CALL(*p_hdmiInputImplMock, getEdid2AllmSupport(::testing::_, ::testing::_))
306306
// .WillOnce(testing::Throw(new device::Exception(-1, "Error")));
307307

308-
EXPECT_EQ(Core::ERROR_NONE, handler.Invoke(connection, _T("getEdid2AllmSupport"), _T("{\"portId\": \"test\"}"), response));
308+
EXPECT_EQ(Core::ERROR_GENERAL, handler.Invoke(connection, _T("getEdid2AllmSupport"), _T("{\"portId\": \"test\"}"), response));
309309
EXPECT_EQ(response, string("{\"success\":false}"));
310310
}
311311

0 commit comments

Comments
 (0)