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.
 
 
 
 
 
 

30 lines
700 B

  1. #ifndef MININI_MOCK_H
  2. #define MININI_MOCK_H
  3. #include "../src/packages/test/IZ_test.h"
  4. mock(ini_getl) long ini_getl(const TCHAR *Section, const TCHAR *Key, long DefValue, const TCHAR *Filename) {
  5. mock_return(ini_getl) DefValue;
  6. }
  7. mock(ini_putl) int ini_putl(const TCHAR *Section, const TCHAR *Key, long Value, const TCHAR *Filename) {
  8. mock_return(ini_putl) 1;
  9. }
  10. mock(ini_gets) int ini_gets(
  11. const TCHAR *Section,
  12. const TCHAR *Key,
  13. const TCHAR *DefValue,
  14. TCHAR *Buffer,
  15. int BufferSize,
  16. const TCHAR *Filename
  17. ) {
  18. mock_return(ini_gets) 0;
  19. }
  20. mock(ini_puts) int ini_puts(const TCHAR *Section, const TCHAR *Key, const TCHAR *Value, const TCHAR *Filename) {
  21. mock_return(ini_puts) 1;
  22. }
  23. #endif