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;
|
||||
|
||||
using EhlTest = Test<ClDeviceFixture>;
|
||||
using EhlTest = TestLegacy<ClDeviceFixture>;
|
||||
|
||||
EHLTEST_F(EhlTest, givenDeviceIdWhenAskingForSimulationThenReturnValidValue) {
|
||||
unsigned short ehlSimulationIds[2] = {
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
namespace NEO {
|
||||
|
||||
using Gen11EnqueueTest = Test<ClDeviceFixture>;
|
||||
using Gen11EnqueueTest = TestLegacy<ClDeviceFixture>;
|
||||
GEN11TEST_F(Gen11EnqueueTest, givenKernelRequiringIndependentForwardProgressWhenKernelIsSubmittedThenDefaultPolicyIsProgrammed) {
|
||||
MockContext mc;
|
||||
CommandQueueHw<FamilyType> cmdQ{&mc, pClDevice, 0, false};
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
using IcllpTest = Test<ClDeviceFixture>;
|
||||
using IcllpTest = TestLegacy<ClDeviceFixture>;
|
||||
|
||||
ICLLPTEST_F(IcllpTest, givenIcllpWhenSlmSizeIsRequiredThenReturnCorrectValue) {
|
||||
EXPECT_EQ(64u, pDevice->getHardwareInfo().capabilityTable.slmSize);
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
using Gen11KernelTest = Test<ClDeviceFixture>;
|
||||
using Gen11KernelTest = TestLegacy<ClDeviceFixture>;
|
||||
GEN11TEST_F(Gen11KernelTest, givenKernelWhenCanTransformImagesIsCalledThenReturnsTrue) {
|
||||
MockKernelWithInternals mockKernel(*pClDevice);
|
||||
auto retVal = mockKernel.mockKernel->Kernel::canTransformImages();
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
using LkfTest = Test<ClDeviceFixture>;
|
||||
using LkfTest = TestLegacy<ClDeviceFixture>;
|
||||
|
||||
LKFTEST_F(LkfTest, givenLkfWhenSlmSizeIsRequiredThenReturnCorrectValue) {
|
||||
EXPECT_EQ(64u, pDevice->getHardwareInfo().capabilityTable.slmSize);
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
typedef Test<ClDeviceFixture> Gen11SamplerTest;
|
||||
typedef TestLegacy<ClDeviceFixture> Gen11SamplerTest;
|
||||
|
||||
GEN11TEST_F(Gen11SamplerTest, WhenAppendingSamplerStateParamsThenStateIsNotChanged) {
|
||||
typedef typename FamilyType::SAMPLER_STATE SAMPLER_STATE;
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
using Gen11TbxCommandStreamReceiverTests = Test<ClDeviceFixture>;
|
||||
using Gen11TbxCommandStreamReceiverTests = TestLegacy<ClDeviceFixture>;
|
||||
|
||||
GEN11TEST_F(Gen11TbxCommandStreamReceiverTests, whenAskedForPollForCompletionParametersThenReturnCorrectValues) {
|
||||
class MyMockTbxHw : public TbxCommandStreamReceiverHw<FamilyType> {
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
typedef Test<ClDeviceFixture> Gen11DeviceCaps;
|
||||
typedef TestLegacy<ClDeviceFixture> Gen11DeviceCaps;
|
||||
|
||||
GEN11TEST_F(Gen11DeviceCaps, GivenDefaultWhenCheckingPreemptionModeThenMidThreadIsReturned) {
|
||||
EXPECT_TRUE(PreemptionMode::MidThread == pDevice->getHardwareInfo().capabilityTable.defaultPreemptionMode);
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
typedef Test<ClDeviceFixture> Gen11OnlyTeset;
|
||||
typedef TestLegacy<ClDeviceFixture> Gen11OnlyTeset;
|
||||
|
||||
GEN11TEST_F(Gen11OnlyTeset, WhenGettingRenderCoreFamilyThenGen11CoreIsReturned) {
|
||||
EXPECT_EQ(IGFX_GEN11_CORE, pDevice->getRenderCoreFamily());
|
||||
|
Reference in New Issue
Block a user