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:
Adam Cetnerowski
2020-06-18 16:45:52 +02:00
committed by sys_ocldev
parent fe13f0b522
commit f0aef442ec

View File

@@ -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);