Searched refs:fakeFileSize (Results 1 – 3 of 3) sorted by relevance
/openbmc/phosphor-ipmi-flash/tools/test/ |
H A D | tools_net_unittest.cpp | 59 .WillOnce(Return(fakeFileSize)); in expectOpenFile() 100 static constexpr size_t fakeFileSize = 128; member in host_tool::__anon925496610111::NetHandleTest 167 sendfile(connFd, inFd, Pointee(0), Gt(fakeFileSize))) in TEST_F() 169 DoAll(SetArgPointee<2>(fakeFileSize), Return(fakeFileSize))); in TEST_F() 170 EXPECT_CALL(sysMock, sendfile(connFd, inFd, Pointee(fakeFileSize), in TEST_F() 171 Gt(fakeFileSize))) in TEST_F() 176 chunk.length = fakeFileSize; in TEST_F() 181 EXPECT_CALL(progMock, updateProgress(fakeFileSize)); in TEST_F() 200 for (std::uint32_t offset = 0; offset < fakeFileSize; in TEST_F() 212 EXPECT_CALL(sysMock, sendfile(connFd, inFd, Pointee(fakeFileSize), in TEST_F() [all …]
|
H A D | tools_bt_unittest.cpp | 52 const int fakeFileSize = 100; in TEST_F() local 55 EXPECT_CALL(sysMock, getSize(Eq(filePath))).WillOnce(Return(fakeFileSize)); in TEST_F() 57 EXPECT_CALL(progMock, start(fakeFileSize)); in TEST_F() 94 const int fakeFileSize = 100; in TEST_F() local 97 EXPECT_CALL(sysMock, getSize(Eq(filePath))).WillOnce(Return(fakeFileSize)); in TEST_F() 99 EXPECT_CALL(progMock, start(fakeFileSize)); in TEST_F()
|
H A D | tools_lpc_unittest.cpp | 40 const int fakeFileSize = 100; in TEST() local 56 .WillOnce(Return(fakeFileSize)); in TEST()
|