Skip to content

Commit f6443a2

Browse files
Fix fixture definition
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
1 parent fb7ea1d commit f6443a2

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

shared/test/unit_test/memory_manager/physical_address_allocator_hw_tests.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,7 @@ class MockPhysicalAddressAllocatorHw : public PhysicalAddressAllocatorHw<GfxFami
2626
MockPhysicalAddressAllocatorHw() : PhysicalAddressAllocatorHw<GfxFamily>(MemoryConstants::gigaByte, 4) {}
2727
};
2828

29-
struct PhysicalAddressAllocatorFixture {
30-
void SetUp() {}
31-
void TearDown() {}
32-
};
33-
typedef Test<PhysicalAddressAllocatorFixture> PhysicalAddressAllocatorHwTest;
29+
using PhysicalAddressAllocatorHwTest = ::testing::Test;
3430

3531
HWTEST_F(PhysicalAddressAllocatorHwTest, givenZeroBanksWhenPageInBankIsReservedThenMainAllocatorIsUsed) {
3632
size_t bankSize = 1024 * MemoryConstants::pageSize;

0 commit comments

Comments
 (0)