pacemaker
2.1.8-3980678f03
Scalable High-Availability cluster resource manager
|
#include <signal.h>
#include <stdarg.h>
#include <stddef.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) pcmk__assert_asserts(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) |
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 35 of file unittest_internal.h.
#define pcmk__assert_aborts | ( | stmt | ) | pcmk__assert_asserts(stmt) |
Definition at line 150 of file unittest_internal.h.
#define pcmk__assert_asserts | ( | stmt | ) |
Definition at line 121 of file unittest_internal.h.
#define pcmk__assert_exits | ( | rc, | |
stmt | |||
) |
Definition at line 167 of file unittest_internal.h.
#define PCMK__UNIT_TEST | ( | group_setup, | |
group_teardown, | |||
... | |||
) |
Definition at line 196 of file unittest_internal.h.
void pcmk__assert_validates | ( | xmlNode * | xml | ) |
Definition at line 20 of file unittest.c.
void pcmk__cib_test_cleanup | ( | char * | out_path | ) |
Definition at line 121 of file unittest.c.
char* pcmk__cib_test_copy_cib | ( | const char * | in_file | ) |
Definition at line 86 of file unittest.c.
void pcmk__test_init_logging | ( | const char * | name, |
const char * | filename | ||
) |
Definition at line 138 of file unittest.c.
int pcmk__xml_test_setup_group | ( | void ** | state | ) |
Definition at line 74 of file unittest.c.