Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndris Zeila <andris.zeila@zabbix.com>2017-12-06 18:22:35 +0300
committerAndris Zeila <andris.zeila@zabbix.com>2017-12-06 18:22:35 +0300
commitd9d817ca2d08cac472199f396ecc608a683a1746 (patch)
tree018aca8dbd9a3840a9c4fe3d1c3e40cbe671b5b2 /tests/zbxmockdata.h
parente4ba801924531b0002e36542ae79471b8167656e (diff)
.......... [DEV-753] initial version of test application with assert and utility additions to mock framework
Diffstat (limited to 'tests/zbxmockdata.h')
-rw-r--r--tests/zbxmockdata.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/zbxmockdata.h b/tests/zbxmockdata.h
index a4fb63572ae..434f153e365 100644
--- a/tests/zbxmockdata.h
+++ b/tests/zbxmockdata.h
@@ -36,7 +36,8 @@ typedef enum
ZBX_MOCK_NOT_A_VECTOR,
ZBX_MOCK_END_OF_VECTOR,
ZBX_MOCK_NOT_A_STRING,
- ZBX_MOCK_INTERNAL_ERROR
+ ZBX_MOCK_INTERNAL_ERROR,
+ ZBX_MOCK_INVALID_YAML_PATH
}
zbx_mock_error_t;
@@ -50,5 +51,6 @@ zbx_mock_error_t zbx_mock_exit_code(int *status);
zbx_mock_error_t zbx_mock_object_member(zbx_mock_handle_t object, const char *name, zbx_mock_handle_t *member);
zbx_mock_error_t zbx_mock_vector_element(zbx_mock_handle_t vector, zbx_mock_handle_t *element);
zbx_mock_error_t zbx_mock_string(zbx_mock_handle_t string, const char **value);
+zbx_mock_error_t zbx_mock_parameter(const char *path, zbx_mock_handle_t *parameter);
#endif /* ZABBIX_MOCK_DATA_H */