mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
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:
committed by
Compute-Runtime-Automation
parent
a23bfbc8ed
commit
3d8effcd69
@@ -9,6 +9,7 @@
|
||||
|
||||
#include "shared/source/utilities/logger.h"
|
||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||
#include "shared/test/unit_test/helpers/gtest_helpers.h"
|
||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
||||
|
||||
#include "opencl/test/unit_test/fixtures/buffer_fixture.h"
|
||||
@@ -266,7 +267,7 @@ TEST(FileLogger, GivenLoggerWithDebugFunctionalityWhenGetMemObjectsIsCalledThenC
|
||||
EXPECT_NE(0u, memObjectString.size());
|
||||
std::stringstream output;
|
||||
output << "cl_mem " << clMem << ", MemObj " << memoryObject;
|
||||
EXPECT_THAT(memObjectString, ::testing::HasSubstr(output.str()));
|
||||
EXPECT_TRUE(hasSubstr(memObjectString, output.str()));
|
||||
}
|
||||
|
||||
TEST(FileLogger, GivenDebugFunctionalityWhenGetMemObjectsIsCalledWithNullptrThenStringIsEmpty) {
|
||||
|
||||
Reference in New Issue
Block a user