18 empty_params(
void **state)
25 g_hash_table_destroy(tbl);
29 key_not_in_table(
void **state)
36 g_hash_table_destroy(tbl);
40 key_in_table(
void **state)
52 g_hash_table_destroy(tbl);
56 cmocka_unit_test(empty_params),
57 cmocka_unit_test(key_not_in_table),
58 cmocka_unit_test(key_in_table))
#define PCMK__UNIT_TEST(group_setup, group_teardown,...)
#define PCMK_META_RESOURCE_STICKINESS
Wrappers for and extensions to libxml2.
GHashTable * pcmk__strkey_table(GDestroyNotify key_destroy_func, GDestroyNotify value_destroy_func)
const char * crm_meta_value(GHashTable *hash, const char *field)
Get the value of a meta-attribute.
char * crm_meta_name(const char *field)
Get the environment variable equivalent of a meta-attribute name.