test: remove gmock from L0 sysman ult

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2023-10-25 13:02:23 +00:00
committed by Compute-Runtime-Automation
parent c4a24d8f31
commit 67660b44b0
17 changed files with 15 additions and 16 deletions

View File

@@ -10,7 +10,6 @@
#include "level_zero/sysman/test/unit_tests/sources/ecc/windows/mock_ecc.h"
using ::testing::Matcher;
using ::testing::NiceMock;
namespace L0 {
namespace Sysman {

View File

@@ -13,8 +13,6 @@
#include "level_zero/sysman/source/linux/sysman_fs_access.h"
#include "level_zero/sysman/source/linux/zes_os_sysman_imp.h"
#include "gmock/gmock.h"
namespace L0 {
namespace Sysman {
namespace ult {

View File

@@ -9,7 +9,6 @@
#include "level_zero/sysman/test/unit_tests/sources/linux/mock_sysman_fixture.h"
#include "level_zero/sysman/test/unit_tests/sources/linux/nl_api/mock_iaf_nl_api_prelim.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <limits>

View File

@@ -12,7 +12,6 @@
#include "level_zero/sysman/test/unit_tests/sources/linux/mock_sysman_fixture.h"
#include "level_zero/sysman/test/unit_tests/sources/linux/nl_api/mock_iaf_nl_api_prelim.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <limits>

View File

@@ -8,7 +8,6 @@
#include "level_zero/sysman/test/unit_tests/sources/fabric_port/linux/mock_fabric_device.h"
#include "level_zero/sysman/test/unit_tests/sources/linux/mock_sysman_fixture.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <limits>

View File

@@ -7,7 +7,6 @@
#include "level_zero/sysman/test/unit_tests/sources/firmware/windows/mock_zes_sysman_firmware.h"
using ::testing::_;
namespace L0 {
namespace Sysman {
namespace ult {

View File

@@ -12,8 +12,6 @@
#include "level_zero/sysman/source/firmware_util/sysman_firmware_util.h"
#include "gmock/gmock.h"
using namespace NEO;
namespace L0 {

View File

@@ -9,6 +9,8 @@
#include "level_zero/sysman/source/linux/nl_api/sysman_iaf_nl_api.h"
#include "gtest/gtest.h"
namespace L0 {
namespace Sysman {
namespace ult {
@@ -298,4 +300,4 @@ ze_result_t MockIafNlApi::fportProperties(const L0::Sysman::IafPortId portId, ui
} // namespace ult
} // namespace Sysman
} // namespace L0
} // namespace L0

View File

@@ -9,8 +9,6 @@
#include "level_zero/sysman/source/linux/nl_api/sysman_iaf_nl_api.h"
#include "gmock/gmock.h"
#include <sstream>
namespace L0 {

View File

@@ -9,6 +9,8 @@
#include "level_zero/sysman/source/linux/nl_api/sysman_iaf_nl_api.h"
#include "gtest/gtest.h"
namespace L0 {
namespace Sysman {
namespace ult {

View File

@@ -12,8 +12,6 @@
#include "level_zero/sysman/source/linux/nl_api/sysman_iaf_nl_api.h"
#include "level_zero/sysman/source/linux/nl_api/sysman_nl_api.h"
#include "gmock/gmock.h"
#include <map>
namespace L0 {

View File

@@ -9,6 +9,7 @@
#include <level_zero/zes_api.h>
#include "gtest/gtest.h"
#include "iaf/iaf_netlink.h"
namespace L0 {

View File

@@ -11,7 +11,7 @@
#include "level_zero/sysman/source/linux/nl_api/sysman_nl_api.h"
#include "gmock/gmock.h"
#include <map>
// Define opaque types so variables can be allocated
struct nl_sock {};

View File

@@ -11,7 +11,7 @@
#include "level_zero/sysman/source/linux/nl_api/sysman_iaf_nl_api.h"
#include "level_zero/sysman/test/unit_tests/sources/linux/nl_api/mock_nl_api_prelim.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <limits>
#include <netlink/handlers.h>

View File

@@ -7,6 +7,7 @@
#include "level_zero/sysman/test/unit_tests/sources/linux/nl_api/mock_nl_dll.h"
#include "gtest/gtest.h"
#include "iaf/iaf_netlink.h"
namespace L0 {

View File

@@ -8,6 +8,10 @@
#include "level_zero/sysman/test/unit_tests/sources/linux/mock_sysman_fixture.h"
#include "level_zero/sysman/test/unit_tests/sources/performance/linux/mock_sysfs_performance_prelim.h"
#include "gtest/gtest.h"
#include <cmath>
namespace L0 {
namespace Sysman {
namespace ult {

View File

@@ -15,6 +15,8 @@
#include "level_zero/sysman/test/unit_tests/sources/firmware_util/mock_fw_util_fixture.h"
#include "level_zero/sysman/test/unit_tests/sources/windows/mock_sysman_wddm.h"
#include "gtest/gtest.h"
using namespace NEO;
namespace L0 {