void test__fl_fss_extended_list_content_read__parameter_checking(void **void_state) {
f_state_t state = f_state_t_initialize;
+ f_range_t close = f_range_t_initialize;
f_range_t range = f_range_t_initialize;
f_ranges_t found = f_ranges_t_initialize;
f_ranges_t comments = f_ranges_t_initialize;
{
state.status = F_none;
- fl_fss_extended_list_content_read(f_string_empty_s, 0, 0, 0, 0, &state);
+ fl_fss_extended_list_content_read(f_string_empty_s, 0, 0, 0, 0, 0, &state);
assert_int_equal(state.status, F_status_set_error(F_parameter));
}
{
state.status = F_none;
- fl_fss_extended_list_content_read(f_string_empty_s, &range, 0, 0, 0, &state);
+ fl_fss_extended_list_content_read(f_string_empty_s, &range, 0, 0, 0, 0, &state);
assert_int_equal(state.status, F_status_set_error(F_parameter));
}
{
state.status = F_none;
- fl_fss_extended_list_content_read(f_string_empty_s, &range, &found, 0, 0, &state);
+ fl_fss_extended_list_content_read(f_string_empty_s, &range, &found, 0, 0, 0, &state);
assert_int_equal(state.status, F_status_set_error(F_parameter));
}
{
state.status = F_none;
- fl_fss_extended_list_content_read(f_string_empty_s, &range, &found, &delimits, 0, &state);
+ fl_fss_extended_list_content_read(f_string_empty_s, &range, &found, 0, &delimits, 0, &state);
assert_int_equal(state.status, F_status_set_error(F_parameter));
}
{
state.status = F_none;
- fl_fss_extended_list_content_read(f_string_empty_s, &range, &found, 0, &comments, &state);
+ fl_fss_extended_list_content_read(f_string_empty_s, &range, &found, 0, 0, &comments, &state);
assert_int_equal(state.status, F_status_set_error(F_parameter));
}
{
state.status = F_none;
- fl_fss_extended_list_content_read(f_string_empty_s, &range, 0, &delimits, 0, &state);
+ fl_fss_extended_list_content_read(f_string_empty_s, &range, 0, &close, 0, 0, &state);
assert_int_equal(state.status, F_status_set_error(F_parameter));
}
{
state.status = F_none;
- fl_fss_extended_list_content_read(f_string_empty_s, &range, 0, &delimits, &comments, &state);
+ fl_fss_extended_list_content_read(f_string_empty_s, &range, 0, &close, &delimits, 0, &state);
assert_int_equal(state.status, F_status_set_error(F_parameter));
}
{
state.status = F_none;
- fl_fss_extended_list_content_read(f_string_empty_s, &range, 0, 0, &comments, &state);
+ fl_fss_extended_list_content_read(f_string_empty_s, &range, 0, &close, &delimits, &comments, &state);
assert_int_equal(state.status, F_status_set_error(F_parameter));
}
{
state.status = F_none;
- fl_fss_extended_list_content_read(f_string_empty_s, 0, &found, 0, 0, &state);
+ fl_fss_extended_list_content_read(f_string_empty_s, &range, 0, &close, 0, &comments, &state);
assert_int_equal(state.status, F_status_set_error(F_parameter));
}
{
state.status = F_none;
- fl_fss_extended_list_content_read(f_string_empty_s, 0, &found, &delimits, 0, &state);
+ fl_fss_extended_list_content_read(f_string_empty_s, &range, 0, 0, &delimits, 0, &state);
assert_int_equal(state.status, F_status_set_error(F_parameter));
}
{
state.status = F_none;
- fl_fss_extended_list_content_read(f_string_empty_s, 0, &found, 0, &comments, &state);
+ fl_fss_extended_list_content_read(f_string_empty_s, &range, 0, 0, &delimits, &comments, &state);
assert_int_equal(state.status, F_status_set_error(F_parameter));
}
{
state.status = F_none;
- fl_fss_extended_list_content_read(f_string_empty_s, 0, &found, &delimits, &comments, &state);
+ fl_fss_extended_list_content_read(f_string_empty_s, &range, 0, 0, 0, &comments, &state);
assert_int_equal(state.status, F_status_set_error(F_parameter));
}
{
state.status = F_none;
- fl_fss_extended_list_content_read(f_string_empty_s, 0, 0, &delimits, 0, &state);
+ fl_fss_extended_list_content_read(f_string_empty_s, 0, &found, 0, 0, 0, &state);
assert_int_equal(state.status, F_status_set_error(F_parameter));
}
{
state.status = F_none;
- fl_fss_extended_list_content_read(f_string_empty_s, 0, 0, &delimits, &comments, &state);
+ fl_fss_extended_list_content_read(f_string_empty_s, 0, &found, &close, 0, 0, &state);
assert_int_equal(state.status, F_status_set_error(F_parameter));
}
{
state.status = F_none;
- fl_fss_extended_list_content_read(f_string_empty_s, 0, 0, 0, &comments, &state);
+ fl_fss_extended_list_content_read(f_string_empty_s, 0, &found, 0, &delimits, 0, &state);
+
+ assert_int_equal(state.status, F_status_set_error(F_parameter));
+ }
+
+ {
+ state.status = F_none;
+
+ fl_fss_extended_list_content_read(f_string_empty_s, 0, &found, 0, 0, &comments, &state);
+
+ assert_int_equal(state.status, F_status_set_error(F_parameter));
+ }
+
+ {
+ state.status = F_none;
+
+ fl_fss_extended_list_content_read(f_string_empty_s, 0, &found, &close, &delimits, 0, &state);
+
+ assert_int_equal(state.status, F_status_set_error(F_parameter));
+ }
+
+ {
+ state.status = F_none;
+
+ fl_fss_extended_list_content_read(f_string_empty_s, 0, &found, &close, 0, &comments, &state);
+
+ assert_int_equal(state.status, F_status_set_error(F_parameter));
+ }
+
+ {
+ state.status = F_none;
+
+ fl_fss_extended_list_content_read(f_string_empty_s, 0, &found, &close, &delimits, &comments, &state);
+
+ assert_int_equal(state.status, F_status_set_error(F_parameter));
+ }
+
+ {
+ state.status = F_none;
+
+ fl_fss_extended_list_content_read(f_string_empty_s, 0, &found, 0, &delimits, &comments, &state);
+
+ assert_int_equal(state.status, F_status_set_error(F_parameter));
+ }
+
+ {
+ state.status = F_none;
+
+ fl_fss_extended_list_content_read(f_string_empty_s, 0, 0, &close, 0, 0, &state);
+
+ assert_int_equal(state.status, F_status_set_error(F_parameter));
+ }
+
+ {
+ state.status = F_none;
+
+ fl_fss_extended_list_content_read(f_string_empty_s, 0, 0, &close, &delimits, 0, &state);
+
+ assert_int_equal(state.status, F_status_set_error(F_parameter));
+ }
+
+ {
+ state.status = F_none;
+
+ fl_fss_extended_list_content_read(f_string_empty_s, 0, 0, &close, 0, &comments, &state);
+
+ assert_int_equal(state.status, F_status_set_error(F_parameter));
+ }
+
+ {
+ state.status = F_none;
+
+ fl_fss_extended_list_content_read(f_string_empty_s, 0, 0, &close, &delimits, &comments, &state);
+
+ assert_int_equal(state.status, F_status_set_error(F_parameter));
+ }
+
+ {
+ state.status = F_none;
+
+ fl_fss_extended_list_content_read(f_string_empty_s, 0, 0, 0, &delimits, 0, &state);
+
+ assert_int_equal(state.status, F_status_set_error(F_parameter));
+ }
+
+ {
+ state.status = F_none;
+
+ fl_fss_extended_list_content_read(f_string_empty_s, 0, 0, 0, &delimits, &comments, &state);
+
+ assert_int_equal(state.status, F_status_set_error(F_parameter));
+ }
+
+ {
+ state.status = F_none;
+
+ fl_fss_extended_list_content_read(f_string_empty_s, 0, 0, 0, 0, &comments, &state);
assert_int_equal(state.status, F_status_set_error(F_parameter));
}
void test__fl_fss_extended_list_content_read__returns_data_not(void **void_state) {
f_state_t state = f_state_t_initialize;
+ f_range_t close = f_range_t_initialize;
f_range_t range = f_range_t_initialize;
f_ranges_t found = f_ranges_t_initialize;
f_ranges_t comments = f_ranges_t_initialize;
{
state.status = F_none;
- fl_fss_extended_list_content_read(f_string_empty_s, &range, &found, &delimits, &comments, &state);
+ fl_fss_extended_list_content_read(f_string_empty_s, &range, &found, &close, &delimits, &comments, &state);
assert_int_equal(state.status, F_data_not);
}
f_string_static_t buffer_string = f_string_static_t_initialize;
f_state_t state = f_state_t_initialize;
+ f_range_t close = f_range_t_initialize;
f_range_t range = f_range_t_initialize;
f_range_t found_object = f_range_t_initialize;
f_ranges_t found = f_ranges_t_initialize;
state.status = F_none;
if (status_object == F_fss_found_object) {
- fl_fss_extended_list_content_read(buffer_string, &range, &found, &delimits, &comments, &state);
+ fl_fss_extended_list_content_read(buffer_string, &range, &found, &close, &delimits, &comments, &state);
assert_true(state.status == F_fss_found_content || state.status == F_data_not);