Searched refs:mockDeviceFactory (Results 1 – 1 of 1) sorted by relevance
/hardware/interfaces/neuralnetworks/utils/common/test/ |
D | ResilientDeviceTest.cpp | 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() [all …]
|