mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 10:17:01 +08:00
Change-Id: Ia390389e514facb3d81cc28d97bf017367e9f728 Signed-off-by: Robert Krzemien <robert.krzemien@intel.com>
28 lines
635 B
C++
28 lines
635 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;
|
|
|
|
bool returnMockEnvValue = false;
|
|
std::string mockEnvValue = "1";
|
|
std::set<std::string> notMockableEnvValues = {""};
|
|
|
|
} // namespace IoFunctions
|
|
} // namespace NEO
|