![]() |
pacemaker 3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
|
#include <signal.h>#include <stdarg.h>#include <stdint.h>#include <setjmp.h>#include <sys/resource.h>#include <sys/types.h>#include <sys/wait.h>#include <unistd.h>#include <cmocka.h>#include <crm/common/xml.h>
Go to the source code of this file.
Macros | |
| #define | __gcov_dump() |
| #define | pcmk__assert_asserts(stmt) |
| #define | pcmk__assert_aborts(stmt) |
| #define | pcmk__assert_exits(rc, stmt) |
| #define | PCMK__UNIT_TEST(group_setup, group_teardown, ...) |
Functions | |
| void | pcmk__assert_validates (xmlNode *xml) |
| int | pcmk__xml_test_setup_group (void **state) |
| int | pcmk__xml_test_teardown_group (void **state) |
| char * | pcmk__cib_test_copy_cib (const char *in_file) |
| void | pcmk__cib_test_cleanup (char *out_path) |
| void | pcmk__test_init_logging (const char *name, const char *filename) |
| #define __gcov_dump | ( | ) |
Definition at line 38 of file unittest_internal.h.
| #define pcmk__assert_aborts | ( | stmt | ) |
Definition at line 156 of file unittest_internal.h.
| #define pcmk__assert_asserts | ( | stmt | ) |
Definition at line 127 of file unittest_internal.h.
| #define pcmk__assert_exits | ( | rc, | |
| stmt ) |
Definition at line 173 of file unittest_internal.h.
| #define PCMK__UNIT_TEST | ( | group_setup, | |
| group_teardown, | |||
| ... ) |
Definition at line 202 of file unittest_internal.h.
| void pcmk__assert_validates | ( | xmlNode * | xml | ) |
Definition at line 22 of file unittest.c.
| void pcmk__cib_test_cleanup | ( | char * | out_path | ) |
Definition at line 148 of file unittest.c.
| char * pcmk__cib_test_copy_cib | ( | const char * | in_file | ) |
Definition at line 113 of file unittest.c.
| void pcmk__test_init_logging | ( | const char * | name, |
| const char * | filename ) |
Definition at line 165 of file unittest.c.
| int pcmk__xml_test_setup_group | ( | void ** | state | ) |
Definition at line 87 of file unittest.c.
| int pcmk__xml_test_teardown_group | ( | void ** | state | ) |
Definition at line 105 of file unittest.c.