Lines Matching refs:mockDeviceFactory
92 auto mockDeviceFactory = std::make_unique<MockDeviceFactory>(); in setup() local
93 EXPECT_CALL(*mockDeviceFactory, Call(true)).Times(1).WillOnce(Return(mockDevice)); in setup()
95 auto device = ResilientDevice::create(mockDeviceFactory->AsStdFunction()).value(); in setup()
96 return std::make_tuple(std::move(mockDevice), std::move(mockDeviceFactory), std::move(device)); in setup()
133 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
144 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
157 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
170 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
184 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
195 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
208 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
221 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
223 EXPECT_CALL(*mockDeviceFactory, Call(true)).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
235 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
239 EXPECT_CALL(*mockDeviceFactory, Call(true)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
251 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
266 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
279 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
281 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
293 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
299 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
311 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
327 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
342 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
346 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
358 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
367 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
379 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
395 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
410 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
414 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
426 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
435 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
447 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
461 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
474 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
476 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
488 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
493 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
505 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
507 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
520 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
522 EXPECT_CALL(*mockDeviceFactory, Call(_)).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
533 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
535 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
549 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
554 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
569 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
576 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
591 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
596 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
611 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
614 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
629 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
637 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
652 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
661 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
676 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
679 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
693 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
696 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
710 const auto [mockDevice, mockDeviceFactory, device] = setup(); in TEST()
713 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()