mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Remove GMock from GMockMemoryManagerFailFirstAllocation, GMockMemoryManager...
Removed GMock from - GMockMemoryManagerFailFirstAllocation - GMockMemoryManager - TestEventCsr - MockKmdNotifyCsr - MockMemoryOperationsHandlerTests - GmockGmmMemory - MockMemoryManagerCommandQueueSBA - TestCmdQueueCsr Renamed: - GMockMemoryManagerFailFirstAllocation -> MockMemoryManagerFailFirstAllocation Moved class body: - GMockMemoryManager to MockMemoryManager - GmockGmmMemory to MockGmmMemoryBase Related-To: NEO-4914 Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
fbc0666d1b
commit
d9bf1886c2
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2021 Intel Corporation
|
||||
* Copyright (C) 2018-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@ -198,7 +198,10 @@ TEST(ExecutionEnvironment, givenExecutionEnvironmentWithVariousMembersWhenItIsDe
|
||||
uint32_t destructorId = 0u;
|
||||
|
||||
struct MemoryMangerMock : public DestructorCounted<MockMemoryManager, 8> {
|
||||
MemoryMangerMock(uint32_t &destructorId, ExecutionEnvironment &executionEnvironment) : DestructorCounted(destructorId, executionEnvironment) {}
|
||||
MemoryMangerMock(uint32_t &destructorId, ExecutionEnvironment &executionEnvironment) : DestructorCounted(destructorId, executionEnvironment) {
|
||||
callBaseAllocateGraphicsMemoryForNonSvmHostPtr = false;
|
||||
callBasePopulateOsHandles = false;
|
||||
}
|
||||
};
|
||||
struct DirectSubmissionControllerMock : public DestructorCounted<DirectSubmissionController, 7> {
|
||||
DirectSubmissionControllerMock(uint32_t &destructorId) : DestructorCounted(destructorId) {}
|
||||
|
Reference in New Issue
Block a user