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

@@ -173,7 +173,7 @@ TEST(Debugger, GivenLegacyDebuggerWhenInitializingDebuggerL0ThenAbortIsCalledAft
executionEnvironment->decRefInternal();
}
using L0DebuggerTest = Test<DeviceFixture>;
using L0DebuggerTest = TestLegacy<DeviceFixture>;
HWTEST_F(L0DebuggerTest, GivenDeviceWhenAllocateCalledThenDebuggerIsCreated) {
auto debugger = DebuggerL0Hw<FamilyType>::allocate(pDevice);

View File

@@ -14,14 +14,14 @@
namespace NEO {
struct SingleAddressSpaceFixture : public Test<NEO::DeviceFixture> {
struct SingleAddressSpaceFixture : public TestLegacy<NEO::DeviceFixture> {
void SetUp() override {
NEO::DebugManager.flags.DebuggerForceSbaTrackingMode.set(1);
Test<NEO::DeviceFixture>::SetUp();
TestLegacy<NEO::DeviceFixture>::SetUp();
}
void TearDown() override {
Test<NEO::DeviceFixture>::TearDown();
TestLegacy<NEO::DeviceFixture>::TearDown();
}
DebugManagerStateRestore restorer;