mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
This reverts commit 418e0f7322.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
18 lines
351 B
C++
18 lines
351 B
C++
/*
|
|
* Copyright (C) 2018-2022 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/test/common/mocks/mock_deferrable_deletion.h"
|
|
|
|
namespace NEO {
|
|
bool MockDeferrableDeletion::apply() {
|
|
applyCalled++;
|
|
return true;
|
|
}
|
|
MockDeferrableDeletion::~MockDeferrableDeletion() {
|
|
EXPECT_EQ(1, applyCalled);
|
|
}
|
|
} // namespace NEO
|