ソースを参照

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"


読み込み中…
キャンセル
保存