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