2019-03-19 11:57:45 +01:00
|
|
|
/*
|
2021-07-06 15:44:16 +02:00
|
|
|
* Copyright (C) 2019-2021 Intel Corporation
|
2019-03-19 11:57:45 +01:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2021-12-20 18:16:04 +00:00
|
|
|
#include "shared/test/common/fixtures/device_fixture.h"
|
2021-07-06 15:44:16 +02:00
|
|
|
#include "shared/test/unit_test/fixtures/mock_aub_center_fixture.h"
|
|
|
|
|
|
2019-03-19 11:57:45 +01:00
|
|
|
namespace NEO {
|
2021-12-20 18:16:04 +00:00
|
|
|
struct AubCommandStreamReceiverFixture : public DeviceFixture, MockAubCenterFixture {
|
2019-03-19 11:57:45 +01:00
|
|
|
void SetUp() {
|
2021-12-20 18:16:04 +00:00
|
|
|
DeviceFixture::SetUp();
|
2019-03-19 11:57:45 +01:00
|
|
|
MockAubCenterFixture::SetUp();
|
2019-11-15 09:59:48 +01:00
|
|
|
setMockAubCenter(*pDevice->getExecutionEnvironment()->rootDeviceEnvironments[0]);
|
2019-03-19 11:57:45 +01:00
|
|
|
}
|
|
|
|
|
void TearDown() {
|
|
|
|
|
MockAubCenterFixture::TearDown();
|
2021-12-20 18:16:04 +00:00
|
|
|
DeviceFixture::TearDown();
|
2019-03-19 11:57:45 +01:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
} // namespace NEO
|