Searched refs:sysMock (Results 1 – 3 of 3) sorted by relevance
/openbmc/phosphor-ipmi-flash/tools/test/ |
H A D | tools_net_unittest.cpp | 55 EXPECT_CALL(sysMock, open(StrEq(filePath.c_str()), _)) in expectOpenFile() 65 sysMock, in expectAddrInfo() 72 EXPECT_CALL(sysMock, freeaddrinfo(&addr)); in expectAddrInfo() 80 EXPECT_CALL(sysMock, in expectConnection() 86 internal::InternalSysMock sysMock; member in host_tool::__anon925496610111::NetHandleTest 108 EXPECT_CALL(sysMock, open(StrEq(filePath.c_str()), _)) in TEST_F() 118 EXPECT_CALL(sysMock, in TEST_F() 134 EXPECT_CALL(sysMock, socket(AF_INET6, SOCK_STREAM, 0)) in TEST_F() 137 EXPECT_CALL(sysMock, in TEST_F() 166 EXPECT_CALL(sysMock, in TEST_F() [all …]
|
H A D | tools_bt_unittest.cpp | 35 handler(std::make_unique<BtDataHandler>(&blobMock, &progMock, &sysMock)) in BtHandlerTest() 38 internal::InternalSysMock sysMock; member in host_tool::__anon753fe9300111::BtHandlerTest 54 EXPECT_CALL(sysMock, open(Eq(filePath), _)).WillOnce(Return(fd)); in TEST_F() 55 EXPECT_CALL(sysMock, getSize(Eq(filePath))).WillOnce(Return(fakeFileSize)); in TEST_F() 59 EXPECT_CALL(sysMock, read(fd, NotNull(), _)) in TEST_F() 69 EXPECT_CALL(sysMock, close(fd)).WillOnce(Return(0)); in TEST_F() 81 EXPECT_CALL(sysMock, open(Eq(filePath), _)).WillOnce(Return(-1)); in TEST_F() 96 EXPECT_CALL(sysMock, open(Eq(filePath), _)).WillOnce(Return(fd)); in TEST_F() 97 EXPECT_CALL(sysMock, getSize(Eq(filePath))).WillOnce(Return(fakeFileSize)); in TEST_F() 101 EXPECT_CALL(sysMock, read(fd, NotNull(), _)) in TEST_F() [all …]
|
H A D | tools_lpc_unittest.cpp | 27 internal::InternalSysMock sysMock; in TEST() local 36 &sysMock); in TEST() 53 EXPECT_CALL(sysMock, open(StrEq(filePath.c_str()), _)) in TEST() 55 EXPECT_CALL(sysMock, getSize(StrEq(filePath.c_str()))) in TEST() 57 EXPECT_CALL(sysMock, read(_, NotNull(), Gt(data.size()))) in TEST() 73 EXPECT_CALL(sysMock, close(fileDescriptor)).WillOnce(Return(0)); in TEST()
|