Skip to content

Commit 7d6994a

Browse files
committed
AVInput COM-RPC Support: Unit tests: Fixed mocking
1 parent 3b37039 commit 7d6994a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/L1Tests/tests/test_AVInput.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ TEST_F(AVInputInit, getInputDevices)
368368
.WillOnce(::testing::Return(1));
369369
TEST_LOG("*** _DEBUG: TEST_F(AVInputInit, getInputDevices): Mark 2");
370370
EXPECT_EQ(Core::ERROR_NONE, handler.Invoke(connection, _T("getInputDevices"), _T("{}"), response));
371-
TEST_LOG("*** _DEBUG: TEST_F(AVInputInit, getInputDevices): response=" + response);
371+
TEST_LOG("*** _DEBUG: TEST_F(AVInputInit, getInputDevices): response=%s", response);
372372
EXPECT_EQ(response, string("{\"devices\":[{\"id\":0,\"connected\":false,\"locator\":\"hdmiin:\\/\\/localhost\\/deviceid\\/0\"},{\"id\":0,\"connected\":false,\"locator\":\"cvbsin:\\/\\/localhost\\/deviceid\\/0\"}],\"success\":true}"));
373373
TEST_LOG("*** _DEBUG: TEST_F(AVInputInit, getInputDevices): exit");
374374
}

0 commit comments

Comments
 (0)