mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +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
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user