mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
Change-Id: I67a6919bbbff1d30c7d6cdb257b41c87bad51e7f Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
41 lines
1.1 KiB
C++
41 lines
1.1 KiB
C++
/*
|
|
* Copyright (C) 2017-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/command_stream/command_stream_receiver.h"
|
|
#include "shared/source/helpers/ptr_math.h"
|
|
#include "opencl/source/mem_obj/image.h"
|
|
#include "opencl/test/unit_test/aub_tests/command_stream/aub_command_stream_fixture.h"
|
|
#include "opencl/test/unit_test/command_queue/command_enqueue_fixture.h"
|
|
#include "opencl/test/unit_test/mocks/mock_context.h"
|
|
|
|
#include "gtest/gtest.h"
|
|
|
|
using namespace NEO;
|
|
|
|
struct SimpleTest : public CommandDeviceFixture,
|
|
public AUBCommandStreamFixture,
|
|
public ::testing::Test {
|
|
|
|
using AUBCommandStreamFixture::SetUp;
|
|
|
|
void SetUp() override {
|
|
CommandDeviceFixture::SetUp(cl_command_queue_properties(0));
|
|
AUBCommandStreamFixture::SetUp(pCmdQ);
|
|
context = new MockContext(pClDevice);
|
|
}
|
|
void TearDown() override {
|
|
delete context;
|
|
AUBCommandStreamFixture::TearDown();
|
|
CommandDeviceFixture::TearDown();
|
|
}
|
|
MockContext *context;
|
|
};
|
|
|
|
TEST_F(SimpleTest, VerifyBasicFixturesSetupAndTearDown) {
|
|
EXPECT_EQ(1, 1);
|
|
}
|