16 null_create_fn(
char **argv) {
21 invalid_params(
void **state) {
26 assert_null(pcmk__output_formatters());
30 non_null_formatters(
void **state) {
34 assert_null(pcmk__output_formatters());
38 cmocka_unit_test(invalid_params),
39 cmocka_unit_test(non_null_formatters))
#define PCMK__UNIT_TEST(group_setup, group_teardown,...)
Formatted output for pacemaker tools.
int pcmk__register_format(GOptionGroup *group, const char *name, pcmk__output_factory_t create, const GOptionEntry *options)
void pcmk__unregister_formats(void)
This structure contains everything that makes up a single output formatter.