mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 05:56:36 +08:00
Cleaned up files: opencl/test/unit_test/fixtures/cl_device_fixture.h Related-To: NEO-5548 Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
25 lines
800 B
C++
25 lines
800 B
C++
/*
|
|
* Copyright (C) 2018-2023 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/gen8/hw_cmds.h"
|
|
#include "shared/test/common/test_macros/header/per_product_test_definitions.h"
|
|
#include "shared/test/common/test_macros/test.h"
|
|
|
|
#include "opencl/source/helpers/hardware_commands_helper.h"
|
|
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
|
|
#include "opencl/test/unit_test/mocks/mock_cl_device.h"
|
|
#include "opencl/test/unit_test/mocks/mock_kernel.h"
|
|
|
|
using namespace NEO;
|
|
|
|
using Gen8KernelTest = Test<ClDeviceFixture>;
|
|
GEN8TEST_F(Gen8KernelTest, givenKernelWhenCanTransformImagesIsCalledThenReturnsFalse) {
|
|
MockKernelWithInternals mockKernel(*pClDevice);
|
|
auto retVal = mockKernel.mockKernel->Kernel::canTransformImages();
|
|
EXPECT_FALSE(retVal);
|
|
}
|