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))
PCMK__UNIT_TEST(NULL, NULL, cmocka_unit_test(bad_input), cmocka_unit_test(not_found), cmocka_unit_test(find_attrB), cmocka_unit_test(find_attrA_matching))
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.