2017-12-21 07:45:38 +08:00
|
|
|
/*
|
2022-12-12 18:57:02 +08:00
|
|
|
* Copyright (C) 2018-2023 Intel Corporation
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
2018-09-18 15:11:08 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
2020-02-24 05:44:01 +08:00
|
|
|
#include "shared/source/memory_manager/deferrable_deletion.h"
|
2019-02-27 18:39:32 +08:00
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
namespace NEO {
|
2017-12-21 07:45:38 +08:00
|
|
|
class MockDeferrableDeletion : public DeferrableDeletion {
|
|
|
|
public:
|
2018-11-29 18:20:02 +08:00
|
|
|
bool apply() override;
|
2017-12-21 07:45:38 +08:00
|
|
|
|
2020-03-13 16:17:01 +08:00
|
|
|
~MockDeferrableDeletion() override;
|
2017-12-21 07:45:38 +08:00
|
|
|
int applyCalled = 0;
|
|
|
|
};
|
2020-03-13 16:17:01 +08:00
|
|
|
} // namespace NEO
|