Lines Matching refs:mockExecution

41     auto mockExecution = std::make_shared<const nn::MockExecution>();  in setup()  local
44 EXPECT_CALL(*mockExecutionFactory, Call()).Times(1).WillOnce(Return(mockExecution)); in setup()
47 return std::make_tuple(std::move(mockExecution), std::move(mockExecutionFactory), in setup()
91 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
97 EXPECT_TRUE(result == mockExecution); in TEST()
102 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
103 EXPECT_CALL(*mockExecution, compute(_)).Times(1).WillOnce(Return(kNoExecutionError)); in TEST()
115 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
116 EXPECT_CALL(*mockExecution, compute(_)).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
128 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
129 EXPECT_CALL(*mockExecution, compute(_)).Times(1).WillOnce(kReturnDeadObject); in TEST()
142 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
143 EXPECT_CALL(*mockExecution, compute(_)).Times(1).WillOnce(kReturnDeadObject); in TEST()
158 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
159 EXPECT_CALL(*mockExecution, computeFenced(_, _, _)) in TEST()
173 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
174 EXPECT_CALL(*mockExecution, computeFenced(_, _, _)).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
186 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
187 EXPECT_CALL(*mockExecution, computeFenced(_, _, _)).Times(1).WillOnce(kReturnDeadObject); in TEST()
200 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
201 EXPECT_CALL(*mockExecution, computeFenced(_, _, _)).Times(1).WillOnce(kReturnDeadObject); in TEST()
218 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
223 const auto result = execution->recover(mockExecution.get()); in TEST()
233 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
238 const auto result = execution->recover(mockExecution.get()); in TEST()
246 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
249 execution->recover(mockExecution.get()); in TEST()
252 const auto result = execution->recover(mockExecution.get()); in TEST()