Fix fixture definition

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski 2021-07-05 14:24:08 +00:00 committed by Compute-Runtime-Automation
parent fb7ea1d0a5
commit f6443a2304
1 changed files with 1 additions and 5 deletions

View File

@ -26,11 +26,7 @@ class MockPhysicalAddressAllocatorHw : public PhysicalAddressAllocatorHw<GfxFami
MockPhysicalAddressAllocatorHw() : PhysicalAddressAllocatorHw<GfxFamily>(MemoryConstants::gigaByte, 4) {}
};
struct PhysicalAddressAllocatorFixture {
void SetUp() {}
void TearDown() {}
};
typedef Test<PhysicalAddressAllocatorFixture> PhysicalAddressAllocatorHwTest;
using PhysicalAddressAllocatorHwTest = ::testing::Test;
HWTEST_F(PhysicalAddressAllocatorHwTest, givenZeroBanksWhenPageInBankIsReservedThenMainAllocatorIsUsed) {
size_t bankSize = 1024 * MemoryConstants::pageSize;