Skip to content

Commit 0dcb03f

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

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

AVInput/AVInputImplementation.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1250,9 +1250,6 @@ 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>
12561253
}
12571254
return Core::ERROR_NONE;
12581255
}

Tests/L1Tests/tests/test_AVInput.cpp

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -300,27 +300,12 @@ TEST_F(AVInputDsTest, getEdid2AllmSupport)
300300
EXPECT_EQ(response, string("{\"allmSupport\":true,\"success\":true}"));
301301
}
302302

303-
TEST_F(AVInputDsTest, getEdid2AllmSupport_ErrorCase)
304-
{
305-
// EXPECT_CALL(*p_hdmiInputImplMock, getEdid2AllmSupport(::testing::_, ::testing::_))
306-
// .WillOnce(testing::Throw(new device::Exception(-1, "Error")));
307-
308-
EXPECT_EQ(Core::ERROR_GENERAL, handler.Invoke(connection, _T("getEdid2AllmSupport"), _T("{\"portId\": \"test\"}"), response));
309-
EXPECT_EQ(response, string("{\"success\":false}"));
310-
}
311-
312303
TEST_F(AVInputDsTest, setEdid2AllmSupport)
313304
{
314305
EXPECT_EQ(Core::ERROR_NONE, handler.Invoke(connection, _T("setEdid2AllmSupport"), _T("{\"portId\": \"0\",\"allmSupport\":true}"), response));
315306
EXPECT_EQ(response, string("{\"success\":true}"));
316307
}
317308

318-
TEST_F(AVInputDsTest, setEdid2AllmSupport_ErrorCase)
319-
{
320-
EXPECT_EQ(Core::ERROR_GENERAL, handler.Invoke(connection, _T("setEdid2AllmSupport"), _T("{\"portId\": \"test\",\"allmSupport\":true}"), response));
321-
EXPECT_EQ(response, string(""));
322-
}
323-
324309
TEST_F(AVInputDsTest, getVRRSupport)
325310
{
326311
EXPECT_EQ(Core::ERROR_NONE, handler.Invoke(connection, _T("getVRRSupport"), _T("{\"portId\": \"0\",\"vrrSupport\":true}"), response));

0 commit comments

Comments
 (0)