Skip to content

Commit 59e53ff

Browse files
committed
AVInput COM-RPC Support: WIP
1 parent dd59107 commit 59e53ff

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Tests/L1Tests/tests/test_AVInput.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,6 @@ TEST_F(AVInputDsTest, currentVideoMode)
291291

292292
TEST_F(AVInputDsTest, getEdid2AllmSupport)
293293
{
294-
TEST_LOG("*** _DEBUG: TEST_F(AVInputDsTest, getEdid2AllmSupport)");
295294
EXPECT_CALL(*p_hdmiInputImplMock, getEdid2AllmSupport(::testing::_, ::testing::_))
296295
.WillOnce([](int iport, bool *allmSupport) {
297296
*allmSupport = true;
@@ -303,11 +302,8 @@ TEST_F(AVInputDsTest, getEdid2AllmSupport)
303302

304303
TEST_F(AVInputDsTest, getEdid2AllmSupport_ErrorCase)
305304
{
306-
TEST_LOG("*** _DEBUG: TEST_F(AVInputDsTest, getEdid2AllmSupport_ErrorCase)");
307305
EXPECT_CALL(*p_hdmiInputImplMock, getEdid2AllmSupport(::testing::_, ::testing::_))
308-
.WillOnce([](int iport, bool *allmSupport) {
309-
throw std::runtime_error("Mocked exception");
310-
});
306+
.WillOnce(testing::Throw(std::runtime_error("Simulated exception")));
311307

312308
EXPECT_EQ(Core::ERROR_GENERAL, handler.Invoke(connection, _T("getEdid2AllmSupport"), _T("{\"portId\": \"test\"}"), response));
313309
EXPECT_EQ(response, string("{\"success\":false}"));

0 commit comments

Comments
 (0)