Searched refs:mock_file_ (Results 1 – 1 of 1) sorted by relevance
/external/bsdiff/ |
D | extents_file_unittest.cc | 49 mock_file_ = new StrictMock<MockFile>(); in SetUp() 50 mock_file_ptr_.reset(mock_file_); in SetUp() 52 EXPECT_CALL(*mock_file_, Close()).WillOnce(Return(true)); in SetUp() 57 StrictMock<MockFile>* mock_file_; member in bsdiff::ExtentsFileTest 68 EXPECT_CALL(*mock_file_, Close()).WillOnce(Return(false)); in TEST_F() 95 EXPECT_CALL(*mock_file_, Seek(offset_pair.second)).WillOnce(Return(true)); in TEST_F() 96 EXPECT_CALL(*mock_file_, Read(_, _, _)).WillOnce(Return(false)); in TEST_F() 116 EXPECT_CALL(*mock_file_, Seek(10)).WillOnce(Return(true)); in TEST_F() 117 EXPECT_CALL(*mock_file_, Read(buf, 5, _)).WillOnce(SucceedIO()); in TEST_F() 118 EXPECT_CALL(*mock_file_, Seek(20)).WillOnce(Return(true)); in TEST_F() [all …]
|