Lines Matching refs:mockPreparedModel
42 auto mockPreparedModel = std::make_shared<const nn::MockPreparedModel>(); in setup() local
45 EXPECT_CALL(*mockPreparedModelFactory, Call()).Times(1).WillOnce(Return(mockPreparedModel)); in setup()
48 return std::make_tuple(std::move(mockPreparedModel), std::move(mockPreparedModelFactory), in setup()
95 const auto [mockPreparedModel, mockPreparedModelFactory, preparedModel] = setup(); in TEST()
101 EXPECT_TRUE(result == mockPreparedModel); in TEST()
106 const auto [mockPreparedModel, mockPreparedModelFactory, preparedModel] = setup(); in TEST()
107 EXPECT_CALL(*mockPreparedModel, execute(_, _, _, _)) in TEST()
121 const auto [mockPreparedModel, mockPreparedModelFactory, preparedModel] = setup(); in TEST()
122 EXPECT_CALL(*mockPreparedModel, execute(_, _, _, _)).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
134 const auto [mockPreparedModel, mockPreparedModelFactory, preparedModel] = setup(); in TEST()
135 EXPECT_CALL(*mockPreparedModel, execute(_, _, _, _)).Times(1).WillOnce(kReturnDeadObject); in TEST()
149 const auto [mockPreparedModel, mockPreparedModelFactory, preparedModel] = setup(); in TEST()
150 EXPECT_CALL(*mockPreparedModel, execute(_, _, _, _)).Times(1).WillOnce(kReturnDeadObject); in TEST()
169 const auto [mockPreparedModel, mockPreparedModelFactory, preparedModel] = setup(); in TEST()
170 EXPECT_CALL(*mockPreparedModel, executeFenced(_, _, _, _, _, _)) in TEST()
184 const auto [mockPreparedModel, mockPreparedModelFactory, preparedModel] = setup(); in TEST()
185 EXPECT_CALL(*mockPreparedModel, executeFenced(_, _, _, _, _, _)) in TEST()
199 const auto [mockPreparedModel, mockPreparedModelFactory, preparedModel] = setup(); in TEST()
200 EXPECT_CALL(*mockPreparedModel, executeFenced(_, _, _, _, _, _)) in TEST()
215 const auto [mockPreparedModel, mockPreparedModelFactory, preparedModel] = setup(); in TEST()
216 EXPECT_CALL(*mockPreparedModel, executeFenced(_, _, _, _, _, _)) in TEST()
237 const auto [mockPreparedModel, mockPreparedModelFactory, preparedModel] = setup(); in TEST()
238 EXPECT_CALL(*mockPreparedModel, createReusableExecution(_, _, _)) in TEST()
252 const auto [mockPreparedModel, mockPreparedModelFactory, preparedModel] = setup(); in TEST()
253 EXPECT_CALL(*mockPreparedModel, createReusableExecution(_, _, _)) in TEST()
267 const auto [mockPreparedModel, mockPreparedModelFactory, preparedModel] = setup(); in TEST()
268 EXPECT_CALL(*mockPreparedModel, getUnderlyingResource()) in TEST()
282 const auto [mockPreparedModel, mockPreparedModelFactory, preparedModel] = setup(); in TEST()
289 const auto result = preparedModel->recover(mockPreparedModel.get()); in TEST()
299 const auto [mockPreparedModel, mockPreparedModelFactory, preparedModel] = setup(); in TEST()
304 const auto result = preparedModel->recover(mockPreparedModel.get()); in TEST()
312 const auto [mockPreparedModel, mockPreparedModelFactory, preparedModel] = setup(); in TEST()
317 preparedModel->recover(mockPreparedModel.get()); in TEST()
320 const auto result = preparedModel->recover(mockPreparedModel.get()); in TEST()