19 uppercase_str_passes(
void **state)
26 mixed_case_str_fails(
void **state)
35 added_whitespace_fails(
void **state)
44 empty_str_fails(
void **state)
51 minus_infinity_fails(
void **state)
56 int main(
int argc,
char **argv)
58 const struct CMUnitTest tests[] = {
59 cmocka_unit_test(uppercase_str_passes),
60 cmocka_unit_test(mixed_case_str_fails),
61 cmocka_unit_test(added_whitespace_fails),
62 cmocka_unit_test(empty_str_fails),
63 cmocka_unit_test(minus_infinity_fails),
66 cmocka_set_message_output(CM_OUTPUT_TAP);
67 return cmocka_run_group_tests(tests, NULL, NULL);
bool pcmk_str_is_infinity(const char *s)
int main(int argc, char **argv)