mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
Tests that are not specific to openCL or level zero Related-To: NEO-5161 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
18 lines
351 B
C++
18 lines
351 B
C++
/*
|
|
* Copyright (C) 2018-2021 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
|