Skip to content

Commit 2c49dc8

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

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Tests/L1Tests/tests/test_AVInput.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,12 @@ TEST_F(AVInputDsTest, setEdid2AllmSupport)
308308

309309
TEST_F(AVInputDsTest, getVRRSupport)
310310
{
311-
EXPECT_EQ(Core::ERROR_NONE, handler.Invoke(connection, _T("getVRRSupport"), _T("{\"portId\": \"0\",\"vrrSupport\":true}"), response));
311+
EXPECT_CALL(*p_hdmiInputImplMock, getVRRSupport(::testing::_, ::testing::_))
312+
.WillOnce([](int iport, bool *vrrSupport) {
313+
*vrrSupport = true;
314+
});
315+
316+
EXPECT_EQ(Core::ERROR_NONE, handler.Invoke(connection, _T("getVRRSupport"), _T("{\"portId\": \"0\"}"), response));
312317
EXPECT_EQ(response, string("{\"vrrSupport\":true,\"success\":true}"));
313318
}
314319

0 commit comments

Comments
 (0)