20 empty_params(
void **state)
26 standard_usage(
void **state)
31 assert_string_equal(s,
"CRM_meta_notify");
35 assert_string_equal(s,
"CRM_meta_resource_stickiness");
39 assert_string_equal(s,
"CRM_meta_blah");
43 int main(
int argc,
char **argv)
45 const struct CMUnitTest tests[] = {
46 cmocka_unit_test(empty_params),
47 cmocka_unit_test(standard_usage),
50 cmocka_set_message_output(CM_OUTPUT_TAP);
51 return cmocka_run_group_tests(tests, NULL, NULL);
#define XML_RSC_ATTR_STICKINESS
char * crm_meta_name(const char *field)
#define XML_RSC_ATTR_NOTIFY