Lines Matching refs:sysMock
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()
111 EXPECT_CALL(sysMock, close(fd)).WillOnce(Return(0)); in TEST_F()