Added expect call time for hasClients #4721
This commit is contained in:
parent
c3d38db053
commit
a5c865913f
|
@ -52,6 +52,7 @@ TEST(IpcLogOutputterTests, write_threadingEnabled_bufferIsSent)
|
||||||
|
|
||||||
ON_CALL(mockServer, hasClients(_)).WillByDefault(Return(true));
|
ON_CALL(mockServer, hasClients(_)).WillByDefault(Return(true));
|
||||||
|
|
||||||
|
EXPECT_CALL(mockServer, hasClients(_)).Times(3);
|
||||||
EXPECT_CALL(mockServer, send(IpcLogLineMessageEq("mock 1\n"), _)).Times(1);
|
EXPECT_CALL(mockServer, send(IpcLogLineMessageEq("mock 1\n"), _)).Times(1);
|
||||||
EXPECT_CALL(mockServer, send(IpcLogLineMessageEq("mock 2\n"), _)).Times(1);
|
EXPECT_CALL(mockServer, send(IpcLogLineMessageEq("mock 2\n"), _)).Times(1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue