mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Remove usage of TestLegacy from opencl tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

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