Browse Source

Update ini-config mock

Use library in new subproject.
master
TheoryOfNekomata 1 year ago
parent
commit
d5dba952e6
3 changed files with 4 additions and 4 deletions
  1. +1
    -1
      CMakeLists.txt
  2. +2
    -2
      __mocks__/subprojects/ini-config/ini-config.mock.h
  3. +1
    -1
      __tests__/src/packages/game/input.test.c

+ 1
- 1
CMakeLists.txt View File

@@ -262,7 +262,7 @@ add_executable(
__mocks__/src/packages/stdinc/IZ_stdlib.mock.h

__tests__/src/packages/game/input.test.c
__mocks__/src/packages/config/IZ_config.mock.h
__mocks__/subprojects/ini-config/ini-config.mock.h
)

target_link_libraries(


__mocks__/src/packages/config/IZ_config.mock.h → __mocks__/subprojects/ini-config/ini-config.mock.h View File

@@ -1,5 +1,5 @@
#ifndef IZ_CONFIG_MOCK_H
#define IZ_CONFIG_MOCK_H
#ifndef INI_CONFIG_MOCK_H
#define INI_CONFIG_MOCK_H

#include <bdd-for-c-mocks.h>
#include <ini-config.h>

+ 1
- 1
__tests__/src/packages/game/input.test.c View File

@@ -6,7 +6,7 @@
#include <subprojects/portmidi/portmidi.mock.h>
#include <stdinc/IZ_string.mock.h>
#include <stdinc/IZ_stdlib.mock.h>
#include <config/IZ_config.mock.h>
#include <subprojects/ini-config/ini-config.mock.h>
#include <game/input/IZ_keyboard.h>
#include <game/input/IZ_joystick.h>
#include <game/input/IZ_midi.h>


Loading…
Cancel
Save