mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
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:

committed by
Compute-Runtime-Automation

parent
aed890a219
commit
e6fc458d4b
@ -13,7 +13,7 @@
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
typedef Test<ClDeviceFixture> DeviceTest;
|
||||
typedef TestLegacy<ClDeviceFixture> DeviceTest;
|
||||
|
||||
SKLTEST_F(DeviceTest, givenSklDeviceWhenAskedForProflingTimerResolutionThen83IsReturned) {
|
||||
auto resolution = pDevice->getProfilingTimerResolution();
|
||||
|
@ -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] = {
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user