Clean-Up unused code related to GMock

This commit:
- Removes usings e.g. ::testing::Return
- Removes unnecessary gmock inclues
- Replaces Gmock macros (e.g. EXPECT_THAT) with our custom implementations

Related-To: NEO-4941
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
This commit is contained in:
Fabian Zwolinski
2022-03-14 10:15:57 +00:00
committed by Compute-Runtime-Automation
parent a23bfbc8ed
commit 3d8effcd69
134 changed files with 520 additions and 544 deletions

View File

@@ -10,7 +10,7 @@
#include "shared/source/command_stream/aub_command_stream_receiver.h"
#include "shared/test/common/test_macros/mock_method_macros.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <vector>

View File

@@ -18,7 +18,7 @@
#include "shared/source/os_interface/os_context.h"
#include "shared/test/common/helpers/dispatch_flags_helper.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <optional>
#include <vector>

View File

@@ -10,7 +10,7 @@
#include "shared/test/common/mocks/mock_command_stream_receiver.h"
#include "shared/test/common/test_macros/mock_method_macros.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <vector>

View File

@@ -10,7 +10,7 @@
#include "shared/source/os_interface/os_context.h"
#include "shared/test/common/test_macros/mock_method_macros.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
namespace NEO {

View File

@@ -13,7 +13,7 @@
#include "shared/source/execution_environment/execution_environment.h"
#include "shared/source/helpers/hw_info.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <string>

View File

@@ -11,7 +11,7 @@
#include "shared/test/common/test_macros/mock_method_macros.h"
#include "gmm_memory.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
namespace NEO {