15 empty_input_string(
void **state)
24 null_input_variables(
void **state)
33 missing_separator(
void **state)
38 assert_int_equal(start, 1234);
39 assert_int_equal(end, 1234);
43 only_separator(
void **state)
53 no_range_end(
void **state)
58 assert_int_equal(start, 2000);
63 no_range_start(
void **state)
69 assert_int_equal(end, 2020);
73 range_start_and_end(
void **state)
78 assert_int_equal(start, 2000);
79 assert_int_equal(end, 2020);
99 strtoll_errors(
void **state)
101 long long start, end;
108 cmocka_unit_test(empty_input_string),
109 cmocka_unit_test(null_input_variables),
110 cmocka_unit_test(missing_separator),
111 cmocka_unit_test(only_separator),
112 cmocka_unit_test(no_range_end),
113 cmocka_unit_test(no_range_start),
114 cmocka_unit_test(range_start_and_end),
115 cmocka_unit_test(strtoll_errors),
116 cmocka_unit_test(garbage))
#define PCMK__UNIT_TEST(group_setup, group_teardown,...)
#define PCMK__PARSE_INT_DEFAULT
#define pcmk__assert_asserts(stmt)
int pcmk__parse_ll_range(const char *srcstring, long long *start, long long *end)