22 empty_params(
void **state)
29 g_hash_table_destroy(tbl);
33 key_not_in_table(
void **state)
40 g_hash_table_destroy(tbl);
44 key_in_table(
void **state)
54 g_hash_table_destroy(tbl);
57 int main(
int argc,
char **argv)
59 const struct CMUnitTest tests[] = {
60 cmocka_unit_test(empty_params),
61 cmocka_unit_test(key_not_in_table),
62 cmocka_unit_test(key_in_table),
65 cmocka_set_message_output(CM_OUTPUT_TAP);
66 return cmocka_run_group_tests(tests, NULL, NULL);
const char * crm_meta_value(GHashTable *hash, const char *field)
#define XML_RSC_ATTR_STICKINESS
char * crm_meta_name(const char *field)
#define XML_RSC_ATTR_NOTIFY
GHashTable * pcmk__strkey_table(GDestroyNotify key_destroy_func, GDestroyNotify value_destroy_func)