20 lines
388 B
C++
20 lines
388 B
C++
/*
|
|
* Copyright (C) 2017-2018 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "runtime/memory_manager/deferrable_deletion.h"
|
|
#include "gtest/gtest.h"
|
|
|
|
namespace OCLRT {
|
|
class MockDeferrableDeletion : public DeferrableDeletion {
|
|
public:
|
|
void apply() override;
|
|
|
|
virtual ~MockDeferrableDeletion();
|
|
int applyCalled = 0;
|
|
};
|
|
} // namespace OCLRT
|