mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Cleaned up files: level_zero/core/test/unit_tests/fixtures/memory_ipc_fixture.h level_zero/core/test/unit_tests/sources/tracing/test_api_tracing_common.h opencl/test/unit_test/aub_tests/fixtures/multicontext_aub_fixture.h opencl/test/unit_test/fixtures/program_fixture.h opencl/test/unit_test/offline_compiler/environment.h opencl/test/unit_test/offline_compiler/mock/mock_argument_helper.h shared/test/common/cmd_parse/cmd_parse_base.inl shared/test/common/mocks/mock_aub_file_stream.h shared/test/common/mocks/mock_deferrable_deletion.h shared/test/common/mocks/windows/mock_gmm_memory_base.h shared/test/unit_test/encoders/walker_partition_fixture_xehp_and_later.h shared/test/unit_test/os_interface/windows/os_interface_win_tests.h Related-To: NEO-5548 Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
25 lines
462 B
C++
25 lines
462 B
C++
/*
|
|
* Copyright (C) 2018-2023 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "shared/source/memory_manager/deferrable_deletion.h"
|
|
|
|
namespace NEO {
|
|
class MockDeferrableDeletion : public DeferrableDeletion {
|
|
public:
|
|
bool apply() override;
|
|
|
|
~MockDeferrableDeletion() override;
|
|
|
|
void setTrialTimes(int times) { trialTimes = times; }
|
|
int applyCalled = 0;
|
|
|
|
private:
|
|
int trialTimes = 1;
|
|
};
|
|
} // namespace NEO
|