2D Run-and-gun shooter inspired by One Man's Doomsday, Counter-Strike, and Metal Slug.
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.

123456789101112131415161718192021222324252627282930
  1. #ifndef MININI_MOCK_H
  2. #define MININI_MOCK_H
  3. #include <bdd-for-c-mocks.h>
  4. #include "../../../src/packages/common/IZ_common.h"
  5. mock(ini_getl) long ini_getl(const char *Section, const char *Key, long DefValue, const char *Filename) {
  6. mock_return(ini_getl) DefValue;
  7. }
  8. mock(ini_putl) i32 ini_putl(const char *Section, const char *Key, long Value, const char *Filename) {
  9. mock_return(ini_putl) 1;
  10. }
  11. mock(ini_gets) i32 ini_gets(
  12. const char *Section,
  13. const char *Key,
  14. const char *DefValue,
  15. char *Buffer,
  16. i32 BufferSize,
  17. const char *Filename
  18. ) {
  19. mock_return(ini_gets) 0;
  20. }
  21. mock(ini_puts) i32 ini_puts(const char *Section, const char *Key, const char *Value, const char *Filename) {
  22. mock_return(ini_puts) 1;
  23. }
  24. #endif