diff options
author | Andris Zeila <andris.zeila@zabbix.com> | 2017-12-06 18:22:35 +0300 |
---|---|---|
committer | Andris Zeila <andris.zeila@zabbix.com> | 2017-12-06 18:22:35 +0300 |
commit | d9d817ca2d08cac472199f396ecc608a683a1746 (patch) | |
tree | 018aca8dbd9a3840a9c4fe3d1c3e40cbe671b5b2 /tests/zbxmockutil.h | |
parent | e4ba801924531b0002e36542ae79471b8167656e (diff) |
.......... [DEV-753] initial version of test application with assert and utility additions to mock framework
Diffstat (limited to 'tests/zbxmockutil.h')
-rw-r--r-- | tests/zbxmockutil.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/zbxmockutil.h b/tests/zbxmockutil.h new file mode 100644 index 00000000000..c0ecf7a8ee8 --- /dev/null +++ b/tests/zbxmockutil.h @@ -0,0 +1,30 @@ +/* +** Zabbix +** Copyright (C) 2001-2017 Zabbix SIA +** +** This program is free software; you can redistribute it and/or modify +** it under the terms of the GNU General Public License as published by +** the Free Software Foundation; either version 2 of the License, or +** (at your option) any later version. +** +** This program is distributed in the hope that it will be useful, +** but WITHOUT ANY WARRANTY; without even the implied warranty of +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +** GNU General Public License for more details. +** +** You should have received a copy of the GNU General Public License +** along with this program; if not, write to the Free Software +** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +**/ + +#ifndef ZABBIX_MOCK_UTIL_H +#define ZABBIX_MOCK_UTIL_H + +#include "zbxmockdata.h" + +void zbx_mock_get_parameter_string(const char *path, const char **value); +void zbx_mock_get_parameter_handle(const char *path, zbx_mock_handle_t *handle); + +void zbx_mock_get_object_member_string(zbx_mock_handle_t object, const char *name, const char **value); + +#endif |