소스 검색

Fix tests

Add correct includes.
master
부모
커밋
6d513ca6c3
3개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. +3
    -0
      CMakeLists.txt
  2. +2
    -1
      src/packages/game/input/input.test.c
  3. +1
    -0
      src/packages/game/output/output.test.c

+ 3
- 0
CMakeLists.txt 파일 보기

@@ -227,6 +227,9 @@ add_executable(
src/packages/midi/IZ_midi.c
src/packages/midi/IZ_midi.h

src/packages/stdinc/IZ_string.h
__mocks__/src/packages/stdinc/IZ_string.mock.h

src/packages/game/input/input.test.c
)



+ 2
- 1
src/packages/game/input/input.test.c 파일 보기

@@ -1,9 +1,10 @@
#include <bdd-for-c.h>
#include "../../../../__mocks__/dependencies/SDL2/SDL_keyboard.mock.h"
#include "../../../../__mocks__/dependencies/SDL2/SDL_joystick.mock.h"
#include "../../../../__mocks__/dependencies/SDL2/SDL_stdinc.mock.h"
#include "../../../../__mocks__/dependencies/minIni/minIni.mock.h"
#include "../../../../__mocks__/dependencies/portmidi/portmidi.mock.h"
//#include "../../stdinc/IZ_string.h"
#include "../../../../__mocks__/src/packages/stdinc/IZ_string.mock.h"
#include "IZ_keyboard.h"
#include "IZ_joystick.h"
#include "IZ_midi.h"


+ 1
- 0
src/packages/game/output/output.test.c 파일 보기

@@ -1,3 +1,4 @@
#include <bdd-for-c.h>
#include "../../../../__mocks__/dependencies/minIni/minIni.mock.h"
#include "../../../../__mocks__/dependencies/SDL2/SDL_stdinc.mock.h"
#include "../../../../__mocks__/dependencies/SDL2/SDL_render.mock.h"


불러오는 중...
취소
저장