mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

Change-Id: I7067bc2bc74f92518a33ccb9f9dce9b57cc28637 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
18 lines
347 B
C++
18 lines
347 B
C++
/*
|
|
* Copyright (C) 2017-2018 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "unit_tests/mocks/mock_deferrable_deletion.h"
|
|
|
|
namespace OCLRT {
|
|
bool MockDeferrableDeletion::apply() {
|
|
applyCalled++;
|
|
return true;
|
|
}
|
|
MockDeferrableDeletion::~MockDeferrableDeletion() {
|
|
EXPECT_EQ(1, applyCalled);
|
|
}
|
|
} // namespace OCLRT
|