|
|
@@ -4,11 +4,11 @@ |
|
|
|
#include <bdd-for-c-mocks.h> |
|
|
|
#include "../../../src/packages/config/IZ_config.h" |
|
|
|
|
|
|
|
mock(IZ_ConfigInitialize) IZ_ConfigInitializeResult IZ_ConfigInitialize(IZ_ConfigItem[], const char*, u8, const char*[]) { |
|
|
|
mock(IZ_ConfigInitialize) IZ_ConfigInitializeResult IZ_ConfigInitialize(IZ_ConfigItem _item[], const char* _config_path, u8 _argc, const char* _argv[]) { |
|
|
|
mock_return(IZ_ConfigInitialize) IZ_CONFIG_INITIALIZE_RESULT_OK; |
|
|
|
} |
|
|
|
|
|
|
|
mock(IZ_ConfigSave) IZ_ConfigSaveResult IZ_ConfigSave(IZ_ConfigItem[], const char*) { |
|
|
|
mock(IZ_ConfigSave) IZ_ConfigSaveResult IZ_ConfigSave(IZ_ConfigItem _item[], const char* _config_path) { |
|
|
|
mock_return(IZ_ConfigSave) 0; |
|
|
|
} |
|
|
|
|
|
|
|