15 empty_input_string(
void **state)
20 assert_int_equal(
result, 47);
24 bad_input_string(
void **state)
29 assert_int_equal(
result, 47);
31 assert_int_equal(
result, 47);
35 trailing_chars(
void **state)
40 assert_int_equal(
result, 12);
44 no_result_variable(
void **state)
51 typical_case(
void **state)
56 assert_int_equal(
result, 1234);
60 cmocka_unit_test(empty_input_string),
61 cmocka_unit_test(bad_input_string),
62 cmocka_unit_test(trailing_chars),
63 cmocka_unit_test(no_result_variable),
64 cmocka_unit_test(typical_case))
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))
int pcmk__scan_ll(const char *text, long long *result, long long default_value)
pcmk__action_result_t result