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

Change-Id: I2d0659b6f608467f9c1bc5746742ac5e3454582d Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
26 lines
594 B
C++
26 lines
594 B
C++
/*
|
|
* Copyright (C) 2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "opencl/test/unit_test/mocks/mock_io_functions.h"
|
|
|
|
namespace NEO {
|
|
namespace IoFunctions {
|
|
fopenFuncPtr fopenPtr = &mockFopen;
|
|
vfprintfFuncPtr vfprintfPtr = &mockVfptrinf;
|
|
fcloseFuncPtr fclosePtr = &mockFclose;
|
|
getenvFuncPtr getenvPtr = &mockGetenv;
|
|
|
|
uint32_t mockFopenCalled = 0;
|
|
uint32_t mockVfptrinfCalled = 0;
|
|
uint32_t mockFcloseCalled = 0;
|
|
uint32_t mockGetenvCalled = 0;
|
|
|
|
std::unordered_map<std::string, std::string> *mockableEnvValues = nullptr;
|
|
|
|
} // namespace IoFunctions
|
|
} // namespace NEO
|