Lines Matching refs:recoveredMockDevice

237     const auto recoveredMockDevice = createConfiguredMockDevice();  in TEST()  local
238 EXPECT_CALL(*recoveredMockDevice, wait()).Times(1).WillOnce(Return(nn::GeneralResult<void>{})); in TEST()
239 EXPECT_CALL(*mockDeviceFactory, Call(true)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
295 const auto recoveredMockDevice = createConfiguredMockDevice(); in TEST() local
296 EXPECT_CALL(*recoveredMockDevice, getSupportedOperations(_)) in TEST()
299 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
362 const auto recoveredMockDevice = createConfiguredMockDevice(); in TEST() local
364 EXPECT_CALL(*recoveredMockDevice, prepareModel(_, _, _, _, _, _, _)) in TEST()
367 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
430 const auto recoveredMockDevice = createConfiguredMockDevice(); in TEST() local
432 EXPECT_CALL(*recoveredMockDevice, prepareModelFromCache(_, _, _, _)) in TEST()
435 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
490 const auto recoveredMockDevice = createConfiguredMockDevice(); in TEST() local
492 EXPECT_CALL(*recoveredMockDevice, allocate(_, _, _, _)).Times(1).WillOnce(Return(mockBuffer)); in TEST()
493 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
506 const auto recoveredMockDevice = createConfiguredMockDevice(); in TEST() local
507 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
515 EXPECT_TRUE(result.value() == recoveredMockDevice); in TEST()
521 const auto recoveredMockDevice = createConfiguredMockDevice(); in TEST() local
534 const auto recoveredMockDevice = createConfiguredMockDevice(); in TEST() local
535 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
544 EXPECT_TRUE(result.value() == recoveredMockDevice); in TEST()
550 const auto recoveredMockDevice = createConfiguredMockDevice(); in TEST() local
553 EXPECT_CALL(*recoveredMockDevice, getName()).Times(1).WillOnce(ret); in TEST()
554 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
564 EXPECT_TRUE(result.value() != recoveredMockDevice); in TEST()
570 const auto recoveredMockDevice = createConfiguredMockDevice(); in TEST() local
575 EXPECT_CALL(*recoveredMockDevice, getVersionString()).Times(1).WillOnce(ret); in TEST()
576 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
586 EXPECT_TRUE(result.value() != recoveredMockDevice); in TEST()
592 const auto recoveredMockDevice = createConfiguredMockDevice(); in TEST() local
593 EXPECT_CALL(*recoveredMockDevice, getFeatureLevel()) in TEST()
596 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
606 EXPECT_TRUE(result.value() != recoveredMockDevice); in TEST()
612 const auto recoveredMockDevice = createConfiguredMockDevice(); in TEST() local
613 EXPECT_CALL(*recoveredMockDevice, getType()).Times(1).WillOnce(Return(nn::DeviceType::GPU)); in TEST()
614 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
624 EXPECT_TRUE(result.value() != recoveredMockDevice); in TEST()
630 const auto recoveredMockDevice = createConfiguredMockDevice(); in TEST() local
636 EXPECT_CALL(*recoveredMockDevice, getSupportedExtensions()).Times(1).WillOnce(ret); in TEST()
637 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
647 EXPECT_TRUE(result.value() != recoveredMockDevice); in TEST()
653 const auto recoveredMockDevice = createConfiguredMockDevice(); in TEST() local
660 EXPECT_CALL(*recoveredMockDevice, getCapabilities()).Times(1).WillOnce(ret); in TEST()
661 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
671 EXPECT_TRUE(result.value() != recoveredMockDevice); in TEST()
677 const auto recoveredMockDevice = createConfiguredMockDevice(); in TEST() local
678 EXPECT_CALL(*recoveredMockDevice, getType()).Times(1).WillOnce(Return(nn::DeviceType::GPU)); in TEST()
679 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
694 const auto recoveredMockDevice = createConfiguredMockDevice(); in TEST() local
695 EXPECT_CALL(*recoveredMockDevice, getType()).Times(1).WillOnce(Return(nn::DeviceType::GPU)); in TEST()
696 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()
711 const auto recoveredMockDevice = createConfiguredMockDevice(); in TEST() local
712 EXPECT_CALL(*recoveredMockDevice, getType()).Times(1).WillOnce(Return(nn::DeviceType::GPU)); in TEST()
713 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(Return(recoveredMockDevice)); in TEST()