Lines Matching refs:mockBufferFactory

48     auto mockBufferFactory = std::make_unique<MockBufferFactory>();  in setup()  local
49 EXPECT_CALL(*mockBufferFactory, Call()).Times(1).WillOnce(Return(mockBuffer)); in setup()
51 auto buffer = ResilientBuffer::create(mockBufferFactory->AsStdFunction()).value(); in setup()
52 return std::make_tuple(std::move(mockBuffer), std::move(mockBufferFactory), std::move(buffer)); in setup()
91 const auto [mockBuffer, mockBufferFactory, buffer] = setup(); in TEST()
102 const auto [mockBuffer, mockBufferFactory, buffer] = setup(); in TEST()
114 const auto [mockBuffer, mockBufferFactory, buffer] = setup(); in TEST()
128 const auto [mockBuffer, mockBufferFactory, buffer] = setup(); in TEST()
142 const auto [mockBuffer, mockBufferFactory, buffer] = setup(); in TEST()
144 EXPECT_CALL(*mockBufferFactory, Call()).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
157 const auto [mockBuffer, mockBufferFactory, buffer] = setup(); in TEST()
161 EXPECT_CALL(*mockBufferFactory, Call()).Times(1).WillOnce(Return(recoveredMockBuffer)); in TEST()
174 const auto [mockBuffer, mockBufferFactory, buffer] = setup(); in TEST()
188 const auto [mockBuffer, mockBufferFactory, buffer] = setup(); in TEST()
202 const auto [mockBuffer, mockBufferFactory, buffer] = setup(); in TEST()
204 EXPECT_CALL(*mockBufferFactory, Call()).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
217 const auto [mockBuffer, mockBufferFactory, buffer] = setup(); in TEST()
221 EXPECT_CALL(*mockBufferFactory, Call()).Times(1).WillOnce(Return(recoveredMockBuffer)); in TEST()
234 const auto [mockBuffer, mockBufferFactory, buffer] = setup(); in TEST()
236 EXPECT_CALL(*mockBufferFactory, Call()).Times(1).WillOnce(Return(recoveredMockBuffer)); in TEST()
249 const auto [mockBuffer, mockBufferFactory, buffer] = setup(); in TEST()
251 EXPECT_CALL(*mockBufferFactory, Call()).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
262 const auto [mockBuffer, mockBufferFactory, buffer] = setup(); in TEST()
264 EXPECT_CALL(*mockBufferFactory, Call()).Times(1).WillOnce(Return(recoveredMockBuffer)); in TEST()