Home
last modified time | relevance | path

Searched refs:fakeFileSize (Results 1 – 3 of 3) sorted by relevance

/openbmc/phosphor-ipmi-flash/tools/test/
H A Dtools_net_unittest.cpp59 .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 Dtools_bt_unittest.cpp52 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()
93 const int fakeFileSize = 100; in TEST_F() local
96 EXPECT_CALL(sysMock, getSize(Eq(filePath))).WillOnce(Return(fakeFileSize)); in TEST_F()
98 EXPECT_CALL(progMock, start(fakeFileSize)); in TEST_F()
H A Dtools_lpc_unittest.cpp40 const int fakeFileSize = 100; in TEST() local
56 .WillOnce(Return(fakeFileSize)); in TEST()