mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-11 16:45:25 +08:00
Rename ocl DeviceFixture and add shared tests specific one
Change-Id: Ib61e987388ba14b721a573e3e84332a7f6c9ef9c Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
d5ad9b42c1
commit
aa8e9fb634
@@ -6,22 +6,22 @@
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "opencl/test/unit_test/fixtures/device_fixture.h"
|
||||
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_context.h"
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
class EnqueueHandlerTest : public NEO::DeviceFixture,
|
||||
class EnqueueHandlerTest : public NEO::ClDeviceFixture,
|
||||
public testing::Test {
|
||||
public:
|
||||
void SetUp() override {
|
||||
DeviceFixture::SetUp();
|
||||
ClDeviceFixture::SetUp();
|
||||
context = new NEO::MockContext(pClDevice);
|
||||
}
|
||||
|
||||
void TearDown() override {
|
||||
context->decRefInternal();
|
||||
DeviceFixture::TearDown();
|
||||
ClDeviceFixture::TearDown();
|
||||
}
|
||||
NEO::MockContext *context;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user