41 lines
1.1 KiB
C++
41 lines
1.1 KiB
C++
/*
|
|
* Copyright (C) 2017-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "core/helpers/ptr_math.h"
|
|
#include "runtime/command_stream/command_stream_receiver.h"
|
|
#include "runtime/mem_obj/image.h"
|
|
#include "unit_tests/aub_tests/command_stream/aub_command_stream_fixture.h"
|
|
#include "unit_tests/command_queue/command_enqueue_fixture.h"
|
|
#include "unit_tests/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(pDevice);
|
|
}
|
|
void TearDown() override {
|
|
delete context;
|
|
AUBCommandStreamFixture::TearDown();
|
|
CommandDeviceFixture::TearDown();
|
|
}
|
|
MockContext *context;
|
|
};
|
|
|
|
TEST_F(SimpleTest, VerifyBasicFixturesSetupAndTearDown) {
|
|
EXPECT_EQ(1, 1);
|
|
}
|