Add a struct for test fixtures with correct method naming convention

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2022-08-11 11:28:20 +00:00
committed by Compute-Runtime-Automation
parent aed890a219
commit e6fc458d4b
363 changed files with 652 additions and 638 deletions

View File

@ -13,7 +13,7 @@
using namespace NEO;
typedef Test<ClDeviceFixture> DeviceTest;
typedef TestLegacy<ClDeviceFixture> DeviceTest;
SKLTEST_F(DeviceTest, givenSklDeviceWhenAskedForProflingTimerResolutionThen83IsReturned) {
auto resolution = pDevice->getProfilingTimerResolution();

View File

@ -13,7 +13,7 @@
using namespace NEO;
typedef Test<ClDeviceFixture> SklDeviceCaps;
typedef TestLegacy<ClDeviceFixture> SklDeviceCaps;
SKLTEST_F(SklDeviceCaps, WhenCheckingProfilingTimerResolutionThenCorrectResolutionIsReturned) {
const auto &caps = pDevice->getDeviceInfo();
@ -35,7 +35,7 @@ SKLTEST_F(SklDeviceCaps, WhenCheckingCapabilitiesThenSvmIsEnabled) {
EXPECT_EQ(expectedCaps, caps.svmCapabilities);
}
typedef Test<ClDeviceFixture> SklUsDeviceIdTest;
typedef TestLegacy<ClDeviceFixture> SklUsDeviceIdTest;
SKLTEST_F(SklUsDeviceIdTest, WhenCheckingIsSimulationThenTrueReturnedOnlyForSimulationId) {
unsigned short sklSimulationIds[6] = {

View File

@ -13,7 +13,7 @@
using namespace NEO;
typedef Test<ClDeviceFixture> SkylakeOnlyTest;
typedef TestLegacy<ClDeviceFixture> SkylakeOnlyTest;
SKLTEST_F(SkylakeOnlyTest, WhenGettingProductFamilyThenSkylakeIsReturned) {
EXPECT_EQ(IGFX_SKYLAKE, pDevice->getHardwareInfo().platform.eProductFamily);

View File

@ -13,7 +13,7 @@
using namespace NEO;
typedef Test<ClDeviceFixture> SklDeviceCapsWindows;
typedef TestLegacy<ClDeviceFixture> SklDeviceCapsWindows;
SKLTEST_F(SklDeviceCapsWindows, GivenWhenGettingKmdNotifyPropertiesThenItIsDisabled) {
EXPECT_FALSE(pDevice->getHardwareInfo().capabilityTable.kmdNotifyProperties.enableKmdNotify);