Files
compute-runtime/unit_tests/fixtures/enqueue_handler_fixture.h
Maciej Plewka 9e52684f5b Change namespace from OCLRT to NEO
Change-Id: If965c79d70392db26597aea4c2f3b7ae2820fe96
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-03-26 15:48:19 +01:00

28 lines
593 B
C++

/*
* Copyright (C) 2018-2019 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 NEO::DeviceFixture,
public testing::Test {
public:
void SetUp() override {
DeviceFixture::SetUp();
context = new NEO::MockContext(pDevice);
}
void TearDown() override {
context->decRefInternal();
DeviceFixture::TearDown();
}
NEO::MockContext *context;
};