mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Setup registry reader in DriverInfoWindows constructor
Related-To: NEO-4457 Change-Id: I6d4dcced724c56ea350e27eb9494f32b3299e88a Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
2869d83657
commit
196409f24c
@@ -991,7 +991,7 @@ TEST_F(DeviceGetCapsTest, givenSystemWithDriverInfoWhenGettingNameAndVersionThen
|
||||
auto device = std::make_unique<MockClDevice>(MockDevice::createWithNewExecutionEnvironment<MockDevice>(platformDevices[0]));
|
||||
|
||||
DriverInfoMock *driverInfoMock = new DriverInfoMock();
|
||||
device->setDriverInfo(driverInfoMock);
|
||||
device->driverInfo.reset(driverInfoMock);
|
||||
device->initializeCaps();
|
||||
|
||||
const auto &caps = device->getDeviceInfo();
|
||||
@@ -1003,7 +1003,7 @@ TEST_F(DeviceGetCapsTest, givenSystemWithDriverInfoWhenGettingNameAndVersionThen
|
||||
TEST_F(DeviceGetCapsTest, givenSystemWithNoDriverInfoWhenGettingNameAndVersionThenReturnDefaultValues) {
|
||||
auto device = std::make_unique<MockClDevice>(MockDevice::createWithNewExecutionEnvironment<MockDevice>(platformDevices[0]));
|
||||
|
||||
device->setDriverInfo(nullptr);
|
||||
device->driverInfo.reset();
|
||||
device->name.clear();
|
||||
device->initializeCaps();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user