Lines Matching refs:mockExecutionFactory
43 auto mockExecutionFactory = std::make_unique<MockExecutionFactory>(); in setup() local
44 EXPECT_CALL(*mockExecutionFactory, Call()).Times(1).WillOnce(Return(mockExecution)); in setup()
46 auto buffer = ResilientExecution::create(mockExecutionFactory->AsStdFunction()).value(); in setup()
47 return std::make_tuple(std::move(mockExecution), std::move(mockExecutionFactory), in setup()
91 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
102 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
115 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
128 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
130 EXPECT_CALL(*mockExecutionFactory, Call()).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
142 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
146 EXPECT_CALL(*mockExecutionFactory, Call()).Times(1).WillOnce(Return(recoveredMockExecution)); in TEST()
158 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
173 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
186 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
188 EXPECT_CALL(*mockExecutionFactory, Call()).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
200 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
206 EXPECT_CALL(*mockExecutionFactory, Call()).Times(1).WillOnce(Return(recoveredMockExecution)); in TEST()
218 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
220 EXPECT_CALL(*mockExecutionFactory, Call()).Times(1).WillOnce(Return(recoveredMockExecution)); in TEST()
233 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
235 EXPECT_CALL(*mockExecutionFactory, Call()).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
246 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
248 EXPECT_CALL(*mockExecutionFactory, Call()).Times(1).WillOnce(Return(recoveredMockExecution)); in TEST()