mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
test: cleanup includes
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
2459fa0a5d
commit
642adfa70d
@@ -12,6 +12,8 @@
|
||||
#include "shared/test/common/mocks/mock_device.h"
|
||||
#include "shared/test/common/mocks/mock_graphics_allocation.h"
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
void CommandStreamReceiverFixture::setUp() {
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
#include "shared/test/common/mocks/mock_ostime.h"
|
||||
#include "shared/test/common/mocks/ult_device_factory.h"
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
bool MockDevice::createSingleDevice = true;
|
||||
@@ -207,6 +209,10 @@ std::unique_ptr<CommandStreamReceiver> MockDevice::createCommandStreamReceiver()
|
||||
return std::unique_ptr<CommandStreamReceiver>(createCommandStreamReceiverFunc(*executionEnvironment, getRootDeviceIndex(), getDeviceBitfield()));
|
||||
}
|
||||
|
||||
MockSubDevice::~MockSubDevice() {
|
||||
EXPECT_EQ(nullptr, this->getDebugSurface());
|
||||
}
|
||||
|
||||
std::unique_ptr<CommandStreamReceiver> MockSubDevice::createCommandStreamReceiver() const {
|
||||
return std::unique_ptr<CommandStreamReceiver>(createCommandStreamReceiverFunc(*executionEnvironment, getRootDeviceIndex(), getDeviceBitfield()));
|
||||
}
|
||||
|
||||
@@ -15,8 +15,6 @@
|
||||
#include "shared/test/common/helpers/variable_backup.h"
|
||||
#include "shared/test/common/mocks/mock_memory_operations_handler.h"
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
namespace NEO {
|
||||
class CommandStreamReceiver;
|
||||
class DriverInfo;
|
||||
@@ -36,9 +34,7 @@ struct MockSubDevice : public SubDevice {
|
||||
using SubDevice::getGlobalMemorySize;
|
||||
using SubDevice::SubDevice;
|
||||
|
||||
~MockSubDevice() override {
|
||||
EXPECT_EQ(nullptr, this->getDebugSurface());
|
||||
}
|
||||
~MockSubDevice() override;
|
||||
|
||||
std::unique_ptr<CommandStreamReceiver> createCommandStreamReceiver() const override;
|
||||
static decltype(&createCommandStream) createCommandStreamReceiverFunc;
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
#include "shared/test/common/mocks/mock_gmm.h"
|
||||
#include "shared/test/common/mocks/mock_gmm_client_context.h"
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
static uint32_t ccsMode = 1u;
|
||||
|
||||
struct MockWddmLinux : NEO::Wddm {
|
||||
|
||||
Reference in New Issue
Block a user