From b0559beca634b9131e00d2855a4ff0a5d1f81a7d Mon Sep 17 00:00:00 2001 From: Mateusz Jablonski Date: Fri, 7 Nov 2025 08:41:43 +0000 Subject: [PATCH] test: add missing include of gtest.h Signed-off-by: Mateusz Jablonski --- .../test/unit_tests/sources/debugger/l0_debugger_fixture.h | 2 ++ opencl/test/unit_test/fixtures/device_info_fixture.h | 2 ++ opencl/test/unit_test/fixtures/dispatch_flags_fixture.h | 4 +++- opencl/test/unit_test/fixtures/enqueue_handler_fixture.h | 2 ++ opencl/test/unit_test/fixtures/scenario_test_fixture.h | 2 ++ opencl/test/unit_test/fixtures/simple_arg_kernel_fixture.h | 1 + shared/test/unit_test/image/image_surface_state_fixture.h | 2 ++ 7 files changed, 14 insertions(+), 1 deletion(-) diff --git a/level_zero/core/test/unit_tests/sources/debugger/l0_debugger_fixture.h b/level_zero/core/test/unit_tests/sources/debugger/l0_debugger_fixture.h index c5aa2a2fae..e24da773fa 100644 --- a/level_zero/core/test/unit_tests/sources/debugger/l0_debugger_fixture.h +++ b/level_zero/core/test/unit_tests/sources/debugger/l0_debugger_fixture.h @@ -20,6 +20,8 @@ #include "level_zero/core/test/unit_tests/mocks/mock_driver_handle.h" +#include "gtest/gtest.h" + namespace L0 { namespace ult { diff --git a/opencl/test/unit_test/fixtures/device_info_fixture.h b/opencl/test/unit_test/fixtures/device_info_fixture.h index 409129a07e..15d4711d34 100644 --- a/opencl/test/unit_test/fixtures/device_info_fixture.h +++ b/opencl/test/unit_test/fixtures/device_info_fixture.h @@ -12,6 +12,8 @@ #include "opencl/test/unit_test/mocks/mock_cl_device.h" +#include "gtest/gtest.h" + #include namespace NEO { diff --git a/opencl/test/unit_test/fixtures/dispatch_flags_fixture.h b/opencl/test/unit_test/fixtures/dispatch_flags_fixture.h index b36f4ce351..1050dbbb87 100644 --- a/opencl/test/unit_test/fixtures/dispatch_flags_fixture.h +++ b/opencl/test/unit_test/fixtures/dispatch_flags_fixture.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2022 Intel Corporation + * Copyright (C) 2019-2025 Intel Corporation * * SPDX-License-Identifier: MIT * @@ -16,6 +16,8 @@ #include "opencl/test/unit_test/mocks/mock_cl_device.h" #include "opencl/test/unit_test/mocks/mock_context.h" +#include "gtest/gtest.h" + namespace NEO { template struct DispatchFlagsTestsBase : public ::testing::Test { diff --git a/opencl/test/unit_test/fixtures/enqueue_handler_fixture.h b/opencl/test/unit_test/fixtures/enqueue_handler_fixture.h index b05eb70807..ad1ffaa249 100644 --- a/opencl/test/unit_test/fixtures/enqueue_handler_fixture.h +++ b/opencl/test/unit_test/fixtures/enqueue_handler_fixture.h @@ -10,6 +10,8 @@ #include "opencl/test/unit_test/mocks/mock_cl_device.h" #include "opencl/test/unit_test/mocks/mock_context.h" +#include "gtest/gtest.h" + class EnqueueHandlerTest : public NEO::ClDeviceFixture, public testing::Test { public: diff --git a/opencl/test/unit_test/fixtures/scenario_test_fixture.h b/opencl/test/unit_test/fixtures/scenario_test_fixture.h index 0261c4c346..9605f5f98c 100644 --- a/opencl/test/unit_test/fixtures/scenario_test_fixture.h +++ b/opencl/test/unit_test/fixtures/scenario_test_fixture.h @@ -13,6 +13,8 @@ #include "opencl/test/unit_test/mocks/mock_command_queue.h" #include "opencl/test/unit_test/mocks/mock_kernel.h" +#include "gtest/gtest.h" + using namespace NEO; namespace NEO { class UserEvent; diff --git a/opencl/test/unit_test/fixtures/simple_arg_kernel_fixture.h b/opencl/test/unit_test/fixtures/simple_arg_kernel_fixture.h index 6668722277..7aa453a810 100644 --- a/opencl/test/unit_test/fixtures/simple_arg_kernel_fixture.h +++ b/opencl/test/unit_test/fixtures/simple_arg_kernel_fixture.h @@ -21,6 +21,7 @@ #include "opencl/test/unit_test/mocks/mock_program.h" #include "CL/cl.h" +#include "gtest/gtest.h" #include diff --git a/shared/test/unit_test/image/image_surface_state_fixture.h b/shared/test/unit_test/image/image_surface_state_fixture.h index 4dd7b3dd78..836fe3c272 100644 --- a/shared/test/unit_test/image/image_surface_state_fixture.h +++ b/shared/test/unit_test/image/image_surface_state_fixture.h @@ -17,6 +17,8 @@ #include "shared/test/common/fixtures/device_fixture.h" #include "shared/test/common/mocks/mock_gmm.h" +#include "gtest/gtest.h" + #include namespace NEO {