mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00

Change-Id: Ib61e987388ba14b721a573e3e84332a7f6c9ef9c Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
28 lines
626 B
C++
28 lines
626 B
C++
/*
|
|
* Copyright (C) 2018-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#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::ClDeviceFixture,
|
|
public testing::Test {
|
|
public:
|
|
void SetUp() override {
|
|
ClDeviceFixture::SetUp();
|
|
context = new NEO::MockContext(pClDevice);
|
|
}
|
|
|
|
void TearDown() override {
|
|
context->decRefInternal();
|
|
ClDeviceFixture::TearDown();
|
|
}
|
|
NEO::MockContext *context;
|
|
};
|