mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-12 17:33:00 +08:00
ULT renaming: Device Factory tests
Related-To: NEO-2236 Change-Id: Ib577eb1deafbaee6bbfd495f81199171cff98b82 Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
fe13f0b522
commit
f0aef442ec
@@ -43,7 +43,7 @@ struct DeviceFactoryTest : public ::testing::Test {
|
||||
ExecutionEnvironment *executionEnvironment;
|
||||
};
|
||||
|
||||
TEST_F(DeviceFactoryTest, PrepareDeviceEnvironments_Check_HwInfo_Platform) {
|
||||
TEST_F(DeviceFactoryTest, WhenDeviceEnvironemntIsPreparedThenItIsInitializedCorrectly) {
|
||||
const HardwareInfo *refHwinfo = defaultHwInfo.get();
|
||||
|
||||
bool success = DeviceFactory::prepareDeviceEnvironments(*executionEnvironment);
|
||||
@@ -52,7 +52,7 @@ TEST_F(DeviceFactoryTest, PrepareDeviceEnvironments_Check_HwInfo_Platform) {
|
||||
EXPECT_EQ(refHwinfo->platform.eDisplayCoreFamily, hwInfo->platform.eDisplayCoreFamily);
|
||||
}
|
||||
|
||||
TEST_F(DeviceFactoryTest, overrideKmdNotifySettings) {
|
||||
TEST_F(DeviceFactoryTest, WhenOverridingUsingDebugManagerThenOverridesAreAppliedCorrectly) {
|
||||
DebugManagerStateRestore stateRestore;
|
||||
|
||||
bool success = DeviceFactory::prepareDeviceEnvironments(*executionEnvironment);
|
||||
@@ -92,7 +92,7 @@ TEST_F(DeviceFactoryTest, overrideKmdNotifySettings) {
|
||||
hwInfo->capabilityTable.kmdNotifyProperties.delayQuickKmdSleepForSporadicWaitsMicroseconds);
|
||||
}
|
||||
|
||||
TEST_F(DeviceFactoryTest, getEngineTypeDebugOverride) {
|
||||
TEST_F(DeviceFactoryTest, WhenOverridingEngineTypeThenDebugEngineIsReported) {
|
||||
DebugManagerStateRestore dbgRestorer;
|
||||
int32_t debugEngineType = 2;
|
||||
DebugManager.flags.NodeOrdinal.set(debugEngineType);
|
||||
|
||||
Reference in New Issue
Block a user