Starter project for SDL2.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
312 B

  1. #ifndef IZ_CONFIG_MOCK_H
  2. #define IZ_CONFIG_MOCK_H
  3. #include "../../test/IZ_test.h"
  4. mock(IZ_GetConfigPath) void IZ_GetConfigPath(char* config_path, size_t string_size) {
  5. const char dummy_path[] = "test-config.ini";
  6. memcpy_s(config_path, string_size, dummy_path, 128);
  7. mock_return(IZ_GetConfigPath);
  8. }
  9. #endif