Added expect call time for hasClients #4721

This commit is contained in:
Jerry (Xinyu Hou) 2015-07-16 17:05:22 -07:00
parent c3d38db053
commit a5c865913f
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ TEST(IpcLogOutputterTests, write_threadingEnabled_bufferIsSent)
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 2\n"), _)).Times(1);