|
- #ifndef IZ_CONFIG_MOCK_H
- #define IZ_CONFIG_MOCK_H
-
- #include "../../test/IZ_test.h"
-
- mock(IZ_GetConfigPath) void IZ_GetConfigPath(char* config_path, size_t string_size) {
- const char dummy_path[] = "test-config.ini";
- memcpy_s(config_path, string_size, dummy_path, 128);
- mock_return(IZ_GetConfigPath);
- }
-
- #endif
|