2018-03-27 14:30:05 +02:00
|
|
|
/*
|
2020-01-14 14:32:11 +01:00
|
|
|
* Copyright (C) 2018-2020 Intel Corporation
|
2018-03-27 14:30:05 +02:00
|
|
|
*
|
2018-09-18 09:11:08 +02:00
|
|
|
* SPDX-License-Identifier: MIT
|
2018-03-27 14:30:05 +02:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2020-02-22 22:50:57 +01:00
|
|
|
#include "opencl/source/helpers/hardware_commands_helper.h"
|
2020-05-28 14:05:12 +02:00
|
|
|
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
|
2020-02-23 15:20:22 +01:00
|
|
|
#include "opencl/test/unit_test/mocks/mock_kernel.h"
|
2019-02-27 11:39:32 +01:00
|
|
|
#include "test.h"
|
2018-03-27 14:30:05 +02:00
|
|
|
|
2019-03-26 11:59:46 +01:00
|
|
|
using namespace NEO;
|
2018-03-27 14:30:05 +02:00
|
|
|
|
2020-05-28 14:05:12 +02:00
|
|
|
using Gen8KernelTest = Test<ClDeviceFixture>;
|
2018-03-27 14:30:05 +02:00
|
|
|
GEN8TEST_F(Gen8KernelTest, givenKernelWhenCanTransformImagesIsCalledThenReturnsFalse) {
|
2020-01-14 14:32:11 +01:00
|
|
|
MockKernelWithInternals mockKernel(*pClDevice);
|
2018-03-27 14:30:05 +02:00
|
|
|
auto retVal = mockKernel.mockKernel->Kernel::canTransformImages();
|
|
|
|
EXPECT_FALSE(retVal);
|
|
|
|
}
|