22 empty_input(
void **state) {
31 not_present(
void **state) {
37 present(
void **state) {
41 assert_int_equal(strcmp(s,
"xyz"), 0);
45 assert_int_equal(strcmp(s,
"xyz"), 0);
50 main(
int argc,
char **argv)
52 const struct CMUnitTest tests[] = {
53 cmocka_unit_test(empty_input),
54 cmocka_unit_test(not_present),
55 cmocka_unit_test(present),
58 cmocka_set_message_output(CM_OUTPUT_TAP);
59 return cmocka_run_group_tests(tests, NULL, NULL);
char * pcmk__xpath_node_id(const char *xpath, const char *node)
int main(int argc, char **argv)