ULTs: more MemoryManagementFixture cleanup

Change-Id: Iaeb60c9c9e22baf63ff01419a5a6dde1e1652a47
This commit is contained in:
Artur Harasimiuk
2018-03-29 21:26:25 +02:00
committed by sys_ocldev
parent 6e005f716c
commit bdcaf332ce
16 changed files with 39 additions and 104 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, Intel Corporation
* Copyright (c) 2017 - 2018, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -25,7 +25,6 @@
#include "runtime/memory_manager/page_table.h"
#include "test.h"
#include "gtest/gtest.h"
#include "unit_tests/fixtures/memory_management_fixture.h"
#include "unit_tests/helpers/memory_management.h"
#include <memory>
@@ -87,19 +86,17 @@ class GGTTPageTable : public PDPE {
}
};
class PageTableFixture : public MemoryManagementFixture, public PTEFixture {
class PageTableFixture : public PTEFixture {
protected:
const uintptr_t refAddr = (uintptr_t(1) << IntSelector<46, 31, is64Bit>::value);
public:
void SetUp() override {
MemoryManagementFixture::SetUp();
void SetUp() {
PTEFixture::SetUp();
}
void TearDown() override {
void TearDown() {
PTEFixture::TearDown();
MemoryManagementFixture::TearDown();
}
};