16 empty_list(
void **state) {
24 non_null_list(
void **state) {
37 nodes = g_list_append(nodes, a);
38 nodes = g_list_append(nodes, b);
61 cmocka_unit_test(empty_list),
62 cmocka_unit_test(non_null_list))
pe_node_t * pe_find_node_any(const GList *node_list, const char *id, const char *node_name)
Find a node by name or ID in a list of nodes.
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))
struct pe_node_shared_s * details