mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
Change-Id: I95585f05805ee85577dfa0b981b32f828853af8a Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
27 lines
593 B
C++
27 lines
593 B
C++
/*
|
|
* Copyright (C) 2018 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "unit_tests/fixtures/device_fixture.h"
|
|
#include "unit_tests/mocks/mock_context.h"
|
|
#include "gtest/gtest.h"
|
|
|
|
class EnqueueHandlerTest : public OCLRT::DeviceFixture,
|
|
public testing::Test {
|
|
public:
|
|
void SetUp() override {
|
|
DeviceFixture::SetUp();
|
|
context = new OCLRT::MockContext(pDevice);
|
|
}
|
|
|
|
void TearDown() override {
|
|
context->decRefInternal();
|
|
DeviceFixture::TearDown();
|
|
}
|
|
OCLRT::MockContext *context;
|
|
};
|