mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_account_t data = f_account_t_initialize;
+ f_string_static_t base = macro_f_string_static_t_initialize_1(F_string_empty_s, 1, 0);
+
+ f_account_t data = {
+ .id_user = 0,
+ .id_group = 0,
+ .home = base,
+ .label = base,
+ .name = base,
+ .password = base,
+ .shell = base,
+ };
+
f_account_t data_array[] = { data };
{
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].home = base;
+ data_array[0].label = base;
+ data_array[0].name = base;
+ data_array[0].password = base;
+ data_array[0].shell = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].home = base;
+ data_array[0].label = base;
+ data_array[0].name = base;
+ data_array[0].password = base;
+ data_array[0].shell = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].home = base;
+ data_array[0].label = base;
+ data_array[0].name = base;
+ data_array[0].password = base;
+ data_array[0].shell = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].home = base;
+ data_array[0].label = base;
+ data_array[0].name = base;
+ data_array[0].password = base;
+ data_array[0].shell = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_account_t data = f_account_t_initialize;
+ f_string_static_t base = macro_f_string_static_t_initialize_1(F_string_empty_s, 1, 0);
+
+ f_account_t data = {
+ .id_user = 0,
+ .id_group = 0,
+ .home = base,
+ .label = base,
+ .name = base,
+ .password = base,
+ .shell = base,
+ };
+
f_account_t data_array[] = { data };
{
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].home = base;
+ data_array[0].label = base;
+ data_array[0].name = base;
+ data_array[0].password = base;
+ data_array[0].shell = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].home = base;
+ data_array[0].label = base;
+ data_array[0].name = base;
+ data_array[0].password = base;
+ data_array[0].shell = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].home = base;
+ data_array[0].label = base;
+ data_array[0].name = base;
+ data_array[0].password = base;
+ data_array[0].shell = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].home = base;
+ data_array[0].label = base;
+ data_array[0].name = base;
+ data_array[0].password = base;
+ data_array[0].shell = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_account_t data = f_account_t_initialize;
+ f_string_static_t base = macro_f_string_static_t_initialize_1(F_string_empty_s, 1, 0);
+
+ f_account_t data = {
+ .id_user = 0,
+ .id_group = 0,
+ .home = base,
+ .label = base,
+ .name = base,
+ .password = base,
+ .shell = base,
+ };
+
f_account_t data_array[] = { data };
f_accounts_t datas = { .array = data_array, .used = 1, .size = 1 };
f_accounts_t datas_array[] = { datas };
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].array[0].home = base;
+ datas_array[0].array[0].label = base;
+ datas_array[0].array[0].name = base;
+ datas_array[0].array[0].password = base;
+ datas_array[0].array[0].shell = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].array[0].home = base;
+ datas_array[0].array[0].label = base;
+ datas_array[0].array[0].name = base;
+ datas_array[0].array[0].password = base;
+ datas_array[0].array[0].shell = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].array[0].home = base;
+ datas_array[0].array[0].label = base;
+ datas_array[0].array[0].name = base;
+ datas_array[0].array[0].password = base;
+ datas_array[0].array[0].shell = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].array[0].home = base;
+ datas_array[0].array[0].label = base;
+ datas_array[0].array[0].name = base;
+ datas_array[0].array[0].password = base;
+ datas_array[0].array[0].shell = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].array[0].home = base;
+ datas_array[0].array[0].label = base;
+ datas_array[0].array[0].name = base;
+ datas_array[0].array[0].password = base;
+ datas_array[0].array[0].shell = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_account_t data = f_account_t_initialize;
+ f_string_static_t base = macro_f_string_static_t_initialize_1(F_string_empty_s, 1, 0);
+
+ f_account_t data = {
+ .id_user = 0,
+ .id_group = 0,
+ .home = base,
+ .label = base,
+ .name = base,
+ .password = base,
+ .shell = base,
+ };
+
f_account_t data_array[] = { data };
f_accounts_t datas = { .array = data_array, .used = 1, .size = 1 };
f_accounts_t datas_array[] = { datas };
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].array[0].home = base;
+ datas_array[0].array[0].label = base;
+ datas_array[0].array[0].name = base;
+ datas_array[0].array[0].password = base;
+ datas_array[0].array[0].shell = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].array[0].home = base;
+ datas_array[0].array[0].label = base;
+ datas_array[0].array[0].name = base;
+ datas_array[0].array[0].password = base;
+ datas_array[0].array[0].shell = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].array[0].home = base;
+ datas_array[0].array[0].label = base;
+ datas_array[0].array[0].name = base;
+ datas_array[0].array[0].password = base;
+ datas_array[0].array[0].shell = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].array[0].home = base;
+ datas_array[0].array[0].label = base;
+ datas_array[0].array[0].name = base;
+ datas_array[0].array[0].password = base;
+ datas_array[0].array[0].shell = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].array[0].home = base;
+ datas_array[0].array[0].label = base;
+ datas_array[0].array[0].name = base;
+ datas_array[0].array[0].password = base;
+ datas_array[0].array[0].shell = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_directory_listing_t data = f_directory_listing_t_initialize;
+ f_string_static_t base = macro_f_string_static_t_initialize_1(F_string_empty_s, 1, 0);
+ f_string_static_t base_array[] = { base };
+ f_string_statics_t bases = macro_f_string_statics_t_initialize_1(base_array, 1, 0);
+
+ f_directory_listing_t data = {
+ .block = bases,
+ .character = bases,
+ .directory = bases,
+ .regular = bases,
+ .link = bases,
+ .fifo = bases,
+ .socket = bases,
+ .unknown = bases,
+ };
+
f_directory_listing_t data_array[] = { data };
- f_directory_listings_t datas = { .array = data_array, .used = 1, .size = 1 };
- f_directory_listings_t datas_array[] = { datas };
{
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_listings_delete_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_directory_listings_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].block = bases;
+ data_array[0].character = bases;
+ data_array[0].directory = bases;
+ data_array[0].regular = bases;
+ data_array[0].link = bases;
+ data_array[0].fifo = bases;
+ data_array[0].socket = bases;
+ data_array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_resize, false);
will_return(__wrap_f_memory_arrays_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_listings_delete_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_directory_listings_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].block = bases;
+ data_array[0].character = bases;
+ data_array[0].directory = bases;
+ data_array[0].regular = bases;
+ data_array[0].link = bases;
+ data_array[0].fifo = bases;
+ data_array[0].socket = bases;
+ data_array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_resize, false);
will_return(__wrap_f_memory_arrays_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_listings_delete_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_directory_listings_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].block = bases;
+ data_array[0].character = bases;
+ data_array[0].directory = bases;
+ data_array[0].regular = bases;
+ data_array[0].link = bases;
+ data_array[0].fifo = bases;
+ data_array[0].socket = bases;
+ data_array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_resize, false);
will_return(__wrap_f_memory_arrays_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_listings_delete_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_directory_listings_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].block = bases;
+ data_array[0].character = bases;
+ data_array[0].directory = bases;
+ data_array[0].regular = bases;
+ data_array[0].link = bases;
+ data_array[0].fifo = bases;
+ data_array[0].socket = bases;
+ data_array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_resize, false);
will_return(__wrap_f_memory_arrays_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_listings_delete_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_directory_listings_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].block = bases;
+ data_array[0].character = bases;
+ data_array[0].directory = bases;
+ data_array[0].regular = bases;
+ data_array[0].link = bases;
+ data_array[0].fifo = bases;
+ data_array[0].socket = bases;
+ data_array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_resize, false);
will_return(__wrap_f_memory_arrays_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_listings_delete_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_directory_listings_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].block = bases;
+ data_array[0].character = bases;
+ data_array[0].directory = bases;
+ data_array[0].regular = bases;
+ data_array[0].link = bases;
+ data_array[0].fifo = bases;
+ data_array[0].socket = bases;
+ data_array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_resize, false);
will_return(__wrap_f_memory_arrays_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_listings_delete_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_directory_listings_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].block = bases;
+ data_array[0].character = bases;
+ data_array[0].directory = bases;
+ data_array[0].regular = bases;
+ data_array[0].link = bases;
+ data_array[0].fifo = bases;
+ data_array[0].socket = bases;
+ data_array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_resize, false);
will_return(__wrap_f_memory_arrays_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_listings_delete_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_directory_listings_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_directory_listing_t data = f_directory_listing_t_initialize;
+ f_string_static_t base = macro_f_string_static_t_initialize_1(F_string_empty_s, 1, 0);
+ f_string_static_t base_array[] = { base };
+ f_string_statics_t bases = macro_f_string_statics_t_initialize_1(base_array, 1, 0);
+
+ f_directory_listing_t data = {
+ .block = bases,
+ .character = bases,
+ .directory = bases,
+ .regular = bases,
+ .link = bases,
+ .fifo = bases,
+ .socket = bases,
+ .unknown = bases,
+ };
+
f_directory_listing_t data_array[] = { data };
- f_directory_listings_t datas = { .array = data_array, .used = 1, .size = 1 };
- f_directory_listings_t datas_array[] = { datas };
{
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_listings_destroy_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_directory_listings_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].block = bases;
+ data_array[0].character = bases;
+ data_array[0].directory = bases;
+ data_array[0].regular = bases;
+ data_array[0].link = bases;
+ data_array[0].fifo = bases;
+ data_array[0].socket = bases;
+ data_array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_adjust, false);
will_return(__wrap_f_memory_arrays_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_listings_destroy_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_directory_listings_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].block = bases;
+ data_array[0].character = bases;
+ data_array[0].directory = bases;
+ data_array[0].regular = bases;
+ data_array[0].link = bases;
+ data_array[0].fifo = bases;
+ data_array[0].socket = bases;
+ data_array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_adjust, false);
will_return(__wrap_f_memory_arrays_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_listings_destroy_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_directory_listings_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].block = bases;
+ data_array[0].character = bases;
+ data_array[0].directory = bases;
+ data_array[0].regular = bases;
+ data_array[0].link = bases;
+ data_array[0].fifo = bases;
+ data_array[0].socket = bases;
+ data_array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_adjust, false);
will_return(__wrap_f_memory_arrays_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_listings_destroy_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_directory_listings_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].block = bases;
+ data_array[0].character = bases;
+ data_array[0].directory = bases;
+ data_array[0].regular = bases;
+ data_array[0].link = bases;
+ data_array[0].fifo = bases;
+ data_array[0].socket = bases;
+ data_array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_adjust, false);
will_return(__wrap_f_memory_arrays_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_listings_destroy_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_directory_listings_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].block = bases;
+ data_array[0].character = bases;
+ data_array[0].directory = bases;
+ data_array[0].regular = bases;
+ data_array[0].link = bases;
+ data_array[0].fifo = bases;
+ data_array[0].socket = bases;
+ data_array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_adjust, false);
will_return(__wrap_f_memory_arrays_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_listings_destroy_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_directory_listings_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].block = bases;
+ data_array[0].character = bases;
+ data_array[0].directory = bases;
+ data_array[0].regular = bases;
+ data_array[0].link = bases;
+ data_array[0].fifo = bases;
+ data_array[0].socket = bases;
+ data_array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_adjust, false);
will_return(__wrap_f_memory_arrays_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_listings_destroy_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_directory_listings_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].block = bases;
+ data_array[0].character = bases;
+ data_array[0].directory = bases;
+ data_array[0].regular = bases;
+ data_array[0].link = bases;
+ data_array[0].fifo = bases;
+ data_array[0].socket = bases;
+ data_array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_adjust, false);
will_return(__wrap_f_memory_arrays_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_listings_destroy_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_directory_listings_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_directory_listing_t data = f_directory_listing_t_initialize;
+ f_string_static_t base = macro_f_string_static_t_initialize_1(F_string_empty_s, 1, 0);
+ f_string_static_t base_array[] = { base };
+ f_string_statics_t bases = macro_f_string_statics_t_initialize_1(base_array, 1, 0);
+
+ f_directory_listing_t data = {
+ .block = bases,
+ .character = bases,
+ .directory = bases,
+ .regular = bases,
+ .link = bases,
+ .fifo = bases,
+ .socket = bases,
+ .unknown = bases,
+ };
+
f_directory_listing_t data_array[] = { data };
- f_directory_listings_t datas = { .array = data_array, .used = 1, .size = 1 };
+ f_directory_listings_t datas = { .array = data_array, .used = 0, .size = 1 };
f_directory_listings_t datas_array[] = { datas };
{
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].block = bases;
+ datas_array[0].array[0].character = bases;
+ datas_array[0].array[0].directory = bases;
+ datas_array[0].array[0].regular = bases;
+ datas_array[0].array[0].link = bases;
+ datas_array[0].array[0].fifo = bases;
+ datas_array[0].array[0].socket = bases;
+ datas_array[0].array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_resize, false);
will_return(__wrap_f_memory_arrays_resize, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].block = bases;
+ datas_array[0].array[0].character = bases;
+ datas_array[0].array[0].directory = bases;
+ datas_array[0].array[0].regular = bases;
+ datas_array[0].array[0].link = bases;
+ datas_array[0].array[0].fifo = bases;
+ datas_array[0].array[0].socket = bases;
+ datas_array[0].array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_resize, false);
will_return(__wrap_f_memory_arrays_resize, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].block = bases;
+ datas_array[0].array[0].character = bases;
+ datas_array[0].array[0].directory = bases;
+ datas_array[0].array[0].regular = bases;
+ datas_array[0].array[0].link = bases;
+ datas_array[0].array[0].fifo = bases;
+ datas_array[0].array[0].socket = bases;
+ datas_array[0].array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_resize, false);
will_return(__wrap_f_memory_arrays_resize, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].block = bases;
+ datas_array[0].array[0].character = bases;
+ datas_array[0].array[0].directory = bases;
+ datas_array[0].array[0].regular = bases;
+ datas_array[0].array[0].link = bases;
+ datas_array[0].array[0].fifo = bases;
+ datas_array[0].array[0].socket = bases;
+ datas_array[0].array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_resize, false);
will_return(__wrap_f_memory_arrays_resize, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].array[0].block = bases;
+ datas_array[0].array[0].character = bases;
+ datas_array[0].array[0].directory = bases;
+ datas_array[0].array[0].regular = bases;
+ datas_array[0].array[0].link = bases;
+ datas_array[0].array[0].fifo = bases;
+ datas_array[0].array[0].socket = bases;
+ datas_array[0].array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_resize, false);
will_return(__wrap_f_memory_arrays_resize, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].array[0].block = bases;
+ datas_array[0].array[0].character = bases;
+ datas_array[0].array[0].directory = bases;
+ datas_array[0].array[0].regular = bases;
+ datas_array[0].array[0].link = bases;
+ datas_array[0].array[0].fifo = bases;
+ datas_array[0].array[0].socket = bases;
+ datas_array[0].array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_resize, false);
will_return(__wrap_f_memory_arrays_resize, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].array[0].block = bases;
+ datas_array[0].array[0].character = bases;
+ datas_array[0].array[0].directory = bases;
+ datas_array[0].array[0].regular = bases;
+ datas_array[0].array[0].link = bases;
+ datas_array[0].array[0].fifo = bases;
+ datas_array[0].array[0].socket = bases;
+ datas_array[0].array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_resize, false);
will_return(__wrap_f_memory_arrays_resize, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].array[0].block = bases;
+ datas_array[0].array[0].character = bases;
+ datas_array[0].array[0].directory = bases;
+ datas_array[0].array[0].regular = bases;
+ datas_array[0].array[0].link = bases;
+ datas_array[0].array[0].fifo = bases;
+ datas_array[0].array[0].socket = bases;
+ datas_array[0].array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_resize, false);
will_return(__wrap_f_memory_arrays_resize, F_okay);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_directory_listing_t data = f_directory_listing_t_initialize;
+ f_string_static_t base = macro_f_string_static_t_initialize_1(F_string_empty_s, 1, 0);
+ f_string_static_t base_array[] = { base };
+ f_string_statics_t bases = macro_f_string_statics_t_initialize_1(base_array, 1, 0);
+
+ f_directory_listing_t data = {
+ .block = bases,
+ .character = bases,
+ .directory = bases,
+ .regular = bases,
+ .link = bases,
+ .fifo = bases,
+ .socket = bases,
+ .unknown = bases,
+ };
+
f_directory_listing_t data_array[] = { data };
- f_directory_listings_t datas = { .array = data_array, .used = 1, .size = 1 };
+ f_directory_listings_t datas = { .array = data_array, .used = 0, .size = 1 };
f_directory_listings_t datas_array[] = { datas };
{
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].block = bases;
+ datas_array[0].array[0].character = bases;
+ datas_array[0].array[0].directory = bases;
+ datas_array[0].array[0].regular = bases;
+ datas_array[0].array[0].link = bases;
+ datas_array[0].array[0].fifo = bases;
+ datas_array[0].array[0].socket = bases;
+ datas_array[0].array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_adjust, false);
will_return(__wrap_f_memory_arrays_adjust, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].block = bases;
+ datas_array[0].array[0].character = bases;
+ datas_array[0].array[0].directory = bases;
+ datas_array[0].array[0].regular = bases;
+ datas_array[0].array[0].link = bases;
+ datas_array[0].array[0].fifo = bases;
+ datas_array[0].array[0].socket = bases;
+ datas_array[0].array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_adjust, false);
will_return(__wrap_f_memory_arrays_adjust, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].block = bases;
+ datas_array[0].array[0].character = bases;
+ datas_array[0].array[0].directory = bases;
+ datas_array[0].array[0].regular = bases;
+ datas_array[0].array[0].link = bases;
+ datas_array[0].array[0].fifo = bases;
+ datas_array[0].array[0].socket = bases;
+ datas_array[0].array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_adjust, false);
will_return(__wrap_f_memory_arrays_adjust, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].block = bases;
+ datas_array[0].array[0].character = bases;
+ datas_array[0].array[0].directory = bases;
+ datas_array[0].array[0].regular = bases;
+ datas_array[0].array[0].link = bases;
+ datas_array[0].array[0].fifo = bases;
+ datas_array[0].array[0].socket = bases;
+ datas_array[0].array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_adjust, false);
will_return(__wrap_f_memory_arrays_adjust, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].array[0].block = bases;
+ datas_array[0].array[0].character = bases;
+ datas_array[0].array[0].directory = bases;
+ datas_array[0].array[0].regular = bases;
+ datas_array[0].array[0].link = bases;
+ datas_array[0].array[0].fifo = bases;
+ datas_array[0].array[0].socket = bases;
+ datas_array[0].array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_adjust, false);
will_return(__wrap_f_memory_arrays_adjust, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].array[0].block = bases;
+ datas_array[0].array[0].character = bases;
+ datas_array[0].array[0].directory = bases;
+ datas_array[0].array[0].regular = bases;
+ datas_array[0].array[0].link = bases;
+ datas_array[0].array[0].fifo = bases;
+ datas_array[0].array[0].socket = bases;
+ datas_array[0].array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_adjust, false);
will_return(__wrap_f_memory_arrays_adjust, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].array[0].block = bases;
+ datas_array[0].array[0].character = bases;
+ datas_array[0].array[0].directory = bases;
+ datas_array[0].array[0].regular = bases;
+ datas_array[0].array[0].link = bases;
+ datas_array[0].array[0].fifo = bases;
+ datas_array[0].array[0].socket = bases;
+ datas_array[0].array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_adjust, false);
will_return(__wrap_f_memory_arrays_adjust, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].array[0].block = bases;
+ datas_array[0].array[0].character = bases;
+ datas_array[0].array[0].directory = bases;
+ datas_array[0].array[0].regular = bases;
+ datas_array[0].array[0].link = bases;
+ datas_array[0].array[0].fifo = bases;
+ datas_array[0].array[0].socket = bases;
+ datas_array[0].array[0].unknown = bases;
+
{
will_return(__wrap_f_memory_arrays_adjust, false);
will_return(__wrap_f_memory_arrays_adjust, F_okay);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_directory_recurse_do_t data = f_directory_recurse_do_t_initialize;
+ f_string_static_t base = macro_f_string_static_t_initialize_1(F_string_empty_s, 1, 0);
+ f_string_static_t base_array[] = { base };
+ f_string_statics_t bases = macro_f_string_statics_t_initialize_1(base_array, 1, 0);
+
+ f_directory_listing_t listing = {
+ .block = bases,
+ .character = bases,
+ .directory = bases,
+ .regular = bases,
+ .link = bases,
+ .fifo = bases,
+ .socket = bases,
+ .unknown = bases,
+ };
+
+ f_directory_recurse_do_t data = {
+ .listing = listing,
+ .path = base,
+ .path_cache = base,
+ };
+
f_directory_recurse_do_t data_array[] = { data };
- f_directory_recurse_dos_t datas = { .array = data_array, .used = 1, .size = 1 };
- f_directory_recurse_dos_t datass_array[] = { datas };
{
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_dos_delete_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_dos_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].listing.block = bases;
+ data_array[0].listing.character = bases;
+ data_array[0].listing.directory = bases;
+ data_array[0].listing.regular = bases;
+ data_array[0].listing.link = bases;
+ data_array[0].listing.fifo = bases;
+ data_array[0].listing.socket = bases;
+ data_array[0].listing.unknown = bases;
+ data_array[0].path = base;
+ data_array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_dos_delete_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_dos_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].listing.block = bases;
+ data_array[0].listing.character = bases;
+ data_array[0].listing.directory = bases;
+ data_array[0].listing.regular = bases;
+ data_array[0].listing.link = bases;
+ data_array[0].listing.fifo = bases;
+ data_array[0].listing.socket = bases;
+ data_array[0].listing.unknown = bases;
+ data_array[0].path = base;
+ data_array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_dos_delete_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_dos_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].listing.block = bases;
+ data_array[0].listing.character = bases;
+ data_array[0].listing.directory = bases;
+ data_array[0].listing.regular = bases;
+ data_array[0].listing.link = bases;
+ data_array[0].listing.fifo = bases;
+ data_array[0].listing.socket = bases;
+ data_array[0].listing.unknown = bases;
+ data_array[0].path = base;
+ data_array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_dos_delete_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_dos_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].listing.block = bases;
+ data_array[0].listing.character = bases;
+ data_array[0].listing.directory = bases;
+ data_array[0].listing.regular = bases;
+ data_array[0].listing.link = bases;
+ data_array[0].listing.fifo = bases;
+ data_array[0].listing.socket = bases;
+ data_array[0].listing.unknown = bases;
+ data_array[0].path = base;
+ data_array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_dos_delete_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_dos_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].listing.block = bases;
+ data_array[0].listing.character = bases;
+ data_array[0].listing.directory = bases;
+ data_array[0].listing.regular = bases;
+ data_array[0].listing.link = bases;
+ data_array[0].listing.fifo = bases;
+ data_array[0].listing.socket = bases;
+ data_array[0].listing.unknown = bases;
+ data_array[0].path = base;
+ data_array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_dos_delete_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_dos_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].listing.block = bases;
+ data_array[0].listing.character = bases;
+ data_array[0].listing.directory = bases;
+ data_array[0].listing.regular = bases;
+ data_array[0].listing.link = bases;
+ data_array[0].listing.fifo = bases;
+ data_array[0].listing.socket = bases;
+ data_array[0].listing.unknown = bases;
+ data_array[0].path = base;
+ data_array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_dos_delete_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_dos_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].listing.block = bases;
+ data_array[0].listing.character = bases;
+ data_array[0].listing.directory = bases;
+ data_array[0].listing.regular = bases;
+ data_array[0].listing.link = bases;
+ data_array[0].listing.fifo = bases;
+ data_array[0].listing.socket = bases;
+ data_array[0].listing.unknown = bases;
+ data_array[0].path = base;
+ data_array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_dos_delete_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_dos_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].listing.block = bases;
+ data_array[0].listing.character = bases;
+ data_array[0].listing.directory = bases;
+ data_array[0].listing.regular = bases;
+ data_array[0].listing.link = bases;
+ data_array[0].listing.fifo = bases;
+ data_array[0].listing.socket = bases;
+ data_array[0].listing.unknown = bases;
+ data_array[0].path = base;
+ data_array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_dos_delete_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_dos_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].listing.block = bases;
+ data_array[0].listing.character = bases;
+ data_array[0].listing.directory = bases;
+ data_array[0].listing.regular = bases;
+ data_array[0].listing.link = bases;
+ data_array[0].listing.fifo = bases;
+ data_array[0].listing.socket = bases;
+ data_array[0].listing.unknown = bases;
+ data_array[0].path = base;
+ data_array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_dos_delete_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_dos_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_directory_recurse_do_t data = f_directory_recurse_do_t_initialize;
+ f_string_static_t base = macro_f_string_static_t_initialize_1(F_string_empty_s, 1, 0);
+ f_string_static_t base_array[] = { base };
+ f_string_statics_t bases = macro_f_string_statics_t_initialize_1(base_array, 1, 0);
+
+ f_directory_listing_t listing = {
+ .block = bases,
+ .character = bases,
+ .directory = bases,
+ .regular = bases,
+ .link = bases,
+ .fifo = bases,
+ .socket = bases,
+ .unknown = bases,
+ };
+
+ f_directory_recurse_do_t data = {
+ .listing = listing,
+ .path = base,
+ .path_cache = base,
+ };
+
f_directory_recurse_do_t data_array[] = { data };
- f_directory_recurse_dos_t datas = { .array = data_array, .used = 1, .size = 1 };
- f_directory_recurse_dos_t datass_array[] = { datas };
{
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_dos_destroy_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_dos_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].listing.block = bases;
+ data_array[0].listing.character = bases;
+ data_array[0].listing.directory = bases;
+ data_array[0].listing.regular = bases;
+ data_array[0].listing.link = bases;
+ data_array[0].listing.fifo = bases;
+ data_array[0].listing.socket = bases;
+ data_array[0].listing.unknown = bases;
+ data_array[0].path = base;
+ data_array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_dos_destroy_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_dos_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].listing.block = bases;
+ data_array[0].listing.character = bases;
+ data_array[0].listing.directory = bases;
+ data_array[0].listing.regular = bases;
+ data_array[0].listing.link = bases;
+ data_array[0].listing.fifo = bases;
+ data_array[0].listing.socket = bases;
+ data_array[0].listing.unknown = bases;
+ data_array[0].path = base;
+ data_array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_dos_destroy_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_dos_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].listing.block = bases;
+ data_array[0].listing.character = bases;
+ data_array[0].listing.directory = bases;
+ data_array[0].listing.regular = bases;
+ data_array[0].listing.link = bases;
+ data_array[0].listing.fifo = bases;
+ data_array[0].listing.socket = bases;
+ data_array[0].listing.unknown = bases;
+ data_array[0].path = base;
+ data_array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_dos_destroy_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_dos_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].listing.block = bases;
+ data_array[0].listing.character = bases;
+ data_array[0].listing.directory = bases;
+ data_array[0].listing.regular = bases;
+ data_array[0].listing.link = bases;
+ data_array[0].listing.fifo = bases;
+ data_array[0].listing.socket = bases;
+ data_array[0].listing.unknown = bases;
+ data_array[0].path = base;
+ data_array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_dos_destroy_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_dos_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].listing.block = bases;
+ data_array[0].listing.character = bases;
+ data_array[0].listing.directory = bases;
+ data_array[0].listing.regular = bases;
+ data_array[0].listing.link = bases;
+ data_array[0].listing.fifo = bases;
+ data_array[0].listing.socket = bases;
+ data_array[0].listing.unknown = bases;
+ data_array[0].path = base;
+ data_array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_dos_destroy_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_dos_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].listing.block = bases;
+ data_array[0].listing.character = bases;
+ data_array[0].listing.directory = bases;
+ data_array[0].listing.regular = bases;
+ data_array[0].listing.link = bases;
+ data_array[0].listing.fifo = bases;
+ data_array[0].listing.socket = bases;
+ data_array[0].listing.unknown = bases;
+ data_array[0].path = base;
+ data_array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_dos_destroy_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_dos_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].listing.block = bases;
+ data_array[0].listing.character = bases;
+ data_array[0].listing.directory = bases;
+ data_array[0].listing.regular = bases;
+ data_array[0].listing.link = bases;
+ data_array[0].listing.fifo = bases;
+ data_array[0].listing.socket = bases;
+ data_array[0].listing.unknown = bases;
+ data_array[0].path = base;
+ data_array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_dos_destroy_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_dos_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].listing.block = bases;
+ data_array[0].listing.character = bases;
+ data_array[0].listing.directory = bases;
+ data_array[0].listing.regular = bases;
+ data_array[0].listing.link = bases;
+ data_array[0].listing.fifo = bases;
+ data_array[0].listing.socket = bases;
+ data_array[0].listing.unknown = bases;
+ data_array[0].path = base;
+ data_array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_dos_destroy_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_dos_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].listing.block = bases;
+ data_array[0].listing.character = bases;
+ data_array[0].listing.directory = bases;
+ data_array[0].listing.regular = bases;
+ data_array[0].listing.link = bases;
+ data_array[0].listing.fifo = bases;
+ data_array[0].listing.socket = bases;
+ data_array[0].listing.unknown = bases;
+ data_array[0].path = base;
+ data_array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_dos_destroy_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_dos_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_directory_recurse_do_t data = f_directory_recurse_do_t_initialize;
+ f_string_static_t base = macro_f_string_static_t_initialize_1(F_string_empty_s, 1, 0);
+ f_string_static_t base_array[] = { base };
+ f_string_statics_t bases = macro_f_string_statics_t_initialize_1(base_array, 1, 0);
+
+ f_directory_listing_t listing = {
+ .block = bases,
+ .character = bases,
+ .directory = bases,
+ .regular = bases,
+ .link = bases,
+ .fifo = bases,
+ .socket = bases,
+ .unknown = bases,
+ };
+
+ f_directory_recurse_do_t data = {
+ .listing = listing,
+ .path = base,
+ .path_cache = base,
+ };
+
f_directory_recurse_do_t data_array[] = { data };
- f_directory_recurse_dos_t datas = { .array = data_array, .used = 1, .size = 1 };
- f_directory_recurse_dos_t datass_array[] = { datas };
+ f_directory_recurse_dos_t datas = { .array = data_array, .used = 0, .size = 1 };
+ f_directory_recurse_dos_t datas_array[] = { datas };
{
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_doss_delete_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_doss_delete_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].listing.block = bases;
+ datas_array[0].array[0].listing.character = bases;
+ datas_array[0].array[0].listing.directory = bases;
+ datas_array[0].array[0].listing.regular = bases;
+ datas_array[0].array[0].listing.link = bases;
+ datas_array[0].array[0].listing.fifo = bases;
+ datas_array[0].array[0].listing.socket = bases;
+ datas_array[0].array[0].listing.unknown = bases;
+ datas_array[0].array[0].path = base;
+ datas_array[0].array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_doss_delete_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_doss_delete_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].listing.block = bases;
+ datas_array[0].array[0].listing.character = bases;
+ datas_array[0].array[0].listing.directory = bases;
+ datas_array[0].array[0].listing.regular = bases;
+ datas_array[0].array[0].listing.link = bases;
+ datas_array[0].array[0].listing.fifo = bases;
+ datas_array[0].array[0].listing.socket = bases;
+ datas_array[0].array[0].listing.unknown = bases;
+ datas_array[0].array[0].path = base;
+ datas_array[0].array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_doss_delete_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_doss_delete_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].listing.block = bases;
+ datas_array[0].array[0].listing.character = bases;
+ datas_array[0].array[0].listing.directory = bases;
+ datas_array[0].array[0].listing.regular = bases;
+ datas_array[0].array[0].listing.link = bases;
+ datas_array[0].array[0].listing.fifo = bases;
+ datas_array[0].array[0].listing.socket = bases;
+ datas_array[0].array[0].listing.unknown = bases;
+ datas_array[0].array[0].path = base;
+ datas_array[0].array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_doss_delete_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_doss_delete_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].listing.block = bases;
+ datas_array[0].array[0].listing.character = bases;
+ datas_array[0].array[0].listing.directory = bases;
+ datas_array[0].array[0].listing.regular = bases;
+ datas_array[0].array[0].listing.link = bases;
+ datas_array[0].array[0].listing.fifo = bases;
+ datas_array[0].array[0].listing.socket = bases;
+ datas_array[0].array[0].listing.unknown = bases;
+ datas_array[0].array[0].path = base;
+ datas_array[0].array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_doss_delete_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_doss_delete_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].listing.block = bases;
+ datas_array[0].array[0].listing.character = bases;
+ datas_array[0].array[0].listing.directory = bases;
+ datas_array[0].array[0].listing.regular = bases;
+ datas_array[0].array[0].listing.link = bases;
+ datas_array[0].array[0].listing.fifo = bases;
+ datas_array[0].array[0].listing.socket = bases;
+ datas_array[0].array[0].listing.unknown = bases;
+ datas_array[0].array[0].path = base;
+ datas_array[0].array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_doss_delete_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_doss_delete_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].listing.block = bases;
+ datas_array[0].array[0].listing.character = bases;
+ datas_array[0].array[0].listing.directory = bases;
+ datas_array[0].array[0].listing.regular = bases;
+ datas_array[0].array[0].listing.link = bases;
+ datas_array[0].array[0].listing.fifo = bases;
+ datas_array[0].array[0].listing.socket = bases;
+ datas_array[0].array[0].listing.unknown = bases;
+ datas_array[0].array[0].path = base;
+ datas_array[0].array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_doss_delete_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_doss_delete_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].listing.block = bases;
+ datas_array[0].array[0].listing.character = bases;
+ datas_array[0].array[0].listing.directory = bases;
+ datas_array[0].array[0].listing.regular = bases;
+ datas_array[0].array[0].listing.link = bases;
+ datas_array[0].array[0].listing.fifo = bases;
+ datas_array[0].array[0].listing.socket = bases;
+ datas_array[0].array[0].listing.unknown = bases;
+ datas_array[0].array[0].path = base;
+ datas_array[0].array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_doss_delete_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_doss_delete_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].listing.block = bases;
+ datas_array[0].array[0].listing.character = bases;
+ datas_array[0].array[0].listing.directory = bases;
+ datas_array[0].array[0].listing.regular = bases;
+ datas_array[0].array[0].listing.link = bases;
+ datas_array[0].array[0].listing.fifo = bases;
+ datas_array[0].array[0].listing.socket = bases;
+ datas_array[0].array[0].listing.unknown = bases;
+ datas_array[0].array[0].path = base;
+ datas_array[0].array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_doss_delete_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_doss_delete_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].listing.block = bases;
+ datas_array[0].array[0].listing.character = bases;
+ datas_array[0].array[0].listing.directory = bases;
+ datas_array[0].array[0].listing.regular = bases;
+ datas_array[0].array[0].listing.link = bases;
+ datas_array[0].array[0].listing.fifo = bases;
+ datas_array[0].array[0].listing.socket = bases;
+ datas_array[0].array[0].listing.unknown = bases;
+ datas_array[0].array[0].path = base;
+ datas_array[0].array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_doss_delete_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_doss_delete_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].listing.block = bases;
+ datas_array[0].array[0].listing.character = bases;
+ datas_array[0].array[0].listing.directory = bases;
+ datas_array[0].array[0].listing.regular = bases;
+ datas_array[0].array[0].listing.link = bases;
+ datas_array[0].array[0].listing.fifo = bases;
+ datas_array[0].array[0].listing.socket = bases;
+ datas_array[0].array[0].listing.unknown = bases;
+ datas_array[0].array[0].path = base;
+ datas_array[0].array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_doss_delete_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_doss_delete_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_directory_recurse_do_t data = f_directory_recurse_do_t_initialize;
+ f_string_static_t base = macro_f_string_static_t_initialize_1(F_string_empty_s, 1, 0);
+ f_string_static_t base_array[] = { base };
+ f_string_statics_t bases = macro_f_string_statics_t_initialize_1(base_array, 1, 0);
+
+ f_directory_listing_t listing = {
+ .block = bases,
+ .character = bases,
+ .directory = bases,
+ .regular = bases,
+ .link = bases,
+ .fifo = bases,
+ .socket = bases,
+ .unknown = bases,
+ };
+
+ f_directory_recurse_do_t data = {
+ .listing = listing,
+ .path = base,
+ .path_cache = base,
+ };
+
f_directory_recurse_do_t data_array[] = { data };
- f_directory_recurse_dos_t datas = { .array = data_array, .used = 1, .size = 1 };
- f_directory_recurse_dos_t datass_array[] = { datas };
+ f_directory_recurse_dos_t datas = { .array = data_array, .used = 0, .size = 1 };
+ f_directory_recurse_dos_t datas_array[] = { datas };
{
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_doss_destroy_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_doss_destroy_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].listing.block = bases;
+ datas_array[0].array[0].listing.character = bases;
+ datas_array[0].array[0].listing.directory = bases;
+ datas_array[0].array[0].listing.regular = bases;
+ datas_array[0].array[0].listing.link = bases;
+ datas_array[0].array[0].listing.fifo = bases;
+ datas_array[0].array[0].listing.socket = bases;
+ datas_array[0].array[0].listing.unknown = bases;
+ datas_array[0].array[0].path = base;
+ datas_array[0].array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_doss_destroy_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_doss_destroy_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].listing.block = bases;
+ datas_array[0].array[0].listing.character = bases;
+ datas_array[0].array[0].listing.directory = bases;
+ datas_array[0].array[0].listing.regular = bases;
+ datas_array[0].array[0].listing.link = bases;
+ datas_array[0].array[0].listing.fifo = bases;
+ datas_array[0].array[0].listing.socket = bases;
+ datas_array[0].array[0].listing.unknown = bases;
+ datas_array[0].array[0].path = base;
+ datas_array[0].array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_doss_destroy_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_doss_destroy_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].listing.block = bases;
+ datas_array[0].array[0].listing.character = bases;
+ datas_array[0].array[0].listing.directory = bases;
+ datas_array[0].array[0].listing.regular = bases;
+ datas_array[0].array[0].listing.link = bases;
+ datas_array[0].array[0].listing.fifo = bases;
+ datas_array[0].array[0].listing.socket = bases;
+ datas_array[0].array[0].listing.unknown = bases;
+ datas_array[0].array[0].path = base;
+ datas_array[0].array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_doss_destroy_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_doss_destroy_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].listing.block = bases;
+ datas_array[0].array[0].listing.character = bases;
+ datas_array[0].array[0].listing.directory = bases;
+ datas_array[0].array[0].listing.regular = bases;
+ datas_array[0].array[0].listing.link = bases;
+ datas_array[0].array[0].listing.fifo = bases;
+ datas_array[0].array[0].listing.socket = bases;
+ datas_array[0].array[0].listing.unknown = bases;
+ datas_array[0].array[0].path = base;
+ datas_array[0].array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_doss_destroy_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_doss_destroy_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].listing.block = bases;
+ datas_array[0].array[0].listing.character = bases;
+ datas_array[0].array[0].listing.directory = bases;
+ datas_array[0].array[0].listing.regular = bases;
+ datas_array[0].array[0].listing.link = bases;
+ datas_array[0].array[0].listing.fifo = bases;
+ datas_array[0].array[0].listing.socket = bases;
+ datas_array[0].array[0].listing.unknown = bases;
+ datas_array[0].array[0].path = base;
+ datas_array[0].array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_doss_destroy_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_doss_destroy_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].listing.block = bases;
+ datas_array[0].array[0].listing.character = bases;
+ datas_array[0].array[0].listing.directory = bases;
+ datas_array[0].array[0].listing.regular = bases;
+ datas_array[0].array[0].listing.link = bases;
+ datas_array[0].array[0].listing.fifo = bases;
+ datas_array[0].array[0].listing.socket = bases;
+ datas_array[0].array[0].listing.unknown = bases;
+ datas_array[0].array[0].path = base;
+ datas_array[0].array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_doss_destroy_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_doss_destroy_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].listing.block = bases;
+ datas_array[0].array[0].listing.character = bases;
+ datas_array[0].array[0].listing.directory = bases;
+ datas_array[0].array[0].listing.regular = bases;
+ datas_array[0].array[0].listing.link = bases;
+ datas_array[0].array[0].listing.fifo = bases;
+ datas_array[0].array[0].listing.socket = bases;
+ datas_array[0].array[0].listing.unknown = bases;
+ datas_array[0].array[0].path = base;
+ datas_array[0].array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_doss_destroy_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_doss_destroy_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].listing.block = bases;
+ datas_array[0].array[0].listing.character = bases;
+ datas_array[0].array[0].listing.directory = bases;
+ datas_array[0].array[0].listing.regular = bases;
+ datas_array[0].array[0].listing.link = bases;
+ datas_array[0].array[0].listing.fifo = bases;
+ datas_array[0].array[0].listing.socket = bases;
+ datas_array[0].array[0].listing.unknown = bases;
+ datas_array[0].array[0].path = base;
+ datas_array[0].array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_doss_destroy_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_doss_destroy_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].listing.block = bases;
+ datas_array[0].array[0].listing.character = bases;
+ datas_array[0].array[0].listing.directory = bases;
+ datas_array[0].array[0].listing.regular = bases;
+ datas_array[0].array[0].listing.link = bases;
+ datas_array[0].array[0].listing.fifo = bases;
+ datas_array[0].array[0].listing.socket = bases;
+ datas_array[0].array[0].listing.unknown = bases;
+ datas_array[0].array[0].path = base;
+ datas_array[0].array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_doss_destroy_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_doss_destroy_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].listing.block = bases;
+ datas_array[0].array[0].listing.character = bases;
+ datas_array[0].array[0].listing.directory = bases;
+ datas_array[0].array[0].listing.regular = bases;
+ datas_array[0].array[0].listing.link = bases;
+ datas_array[0].array[0].listing.fifo = bases;
+ datas_array[0].array[0].listing.socket = bases;
+ datas_array[0].array[0].listing.unknown = bases;
+ datas_array[0].array[0].path = base;
+ datas_array[0].array[0].path_cache = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_recurse_doss_destroy_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_recurse_doss_destroy_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_directory_status_t data = f_directory_status_t_initialize;
+ f_string_static_t base = macro_f_string_static_t_initialize_1(F_string_empty_s, 1, 0);
+
+ f_directory_status_t data = { .path = base };
f_directory_status_t data_array[] = { data };
- f_directory_statuss_t datas = { .array = data_array, .used = 1, .size = 1 };
- f_directory_statuss_t datass_array[] = { datas };
+ f_directory_statuss_t datas = { .array = data_array, .used = 0, .size = 1 };
+ f_directory_statuss_t datas_array[] = { datas };
{
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_statusss_delete_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_statusss_delete_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].path = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
- const f_status_t status = f_directory_statusss_delete_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_statusss_delete_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_directory_status_t data = f_directory_status_t_initialize;
+ f_string_static_t base = macro_f_string_static_t_initialize_1(F_string_empty_s, 1, 0);
+
+ f_directory_status_t data = { .path = base };
f_directory_status_t data_array[] = { data };
- f_directory_statuss_t datas = { .array = data_array, .used = 1, .size = 1 };
- f_directory_statuss_t datass_array[] = { datas };
+ f_directory_statuss_t datas = { .array = data_array, .used = 0, .size = 1 };
+ f_directory_statuss_t datas_array[] = { datas };
{
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_statusss_destroy_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_statusss_destroy_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0] = datas;
+ datas_array[0].array[0].path = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_directory_statusss_destroy_callback(0, 1, (void *) datass_array);
+ const f_status_t status = f_directory_statusss_destroy_callback(0, 1, (void *) datas_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
cmocka_unit_test(test__f_directory_remove_custom__returns_data_not),
cmocka_unit_test(test__f_directory_remove_custom__works),
- cmocka_unit_test(test__f_directory_listings_destroy_callback__fails),
cmocka_unit_test(test__f_directory_listings_delete_callback__fails),
- cmocka_unit_test(test__f_directory_listingss_destroy_callback__fails),
+ cmocka_unit_test(test__f_directory_listings_destroy_callback__fails),
cmocka_unit_test(test__f_directory_listingss_delete_callback__fails),
+ cmocka_unit_test(test__f_directory_listingss_destroy_callback__fails),
- cmocka_unit_test(test__f_directory_listings_destroy_callback__works),
cmocka_unit_test(test__f_directory_listings_delete_callback__works),
- cmocka_unit_test(test__f_directory_listingss_destroy_callback__works),
+ cmocka_unit_test(test__f_directory_listings_destroy_callback__works),
cmocka_unit_test(test__f_directory_listingss_delete_callback__works),
+ cmocka_unit_test(test__f_directory_listingss_destroy_callback__works),
- cmocka_unit_test(test__f_directory_recurse_dos_destroy_callback__fails),
cmocka_unit_test(test__f_directory_recurse_dos_delete_callback__fails),
- cmocka_unit_test(test__f_directory_recurse_doss_destroy_callback__fails),
+ cmocka_unit_test(test__f_directory_recurse_dos_destroy_callback__fails),
cmocka_unit_test(test__f_directory_recurse_doss_delete_callback__fails),
+ cmocka_unit_test(test__f_directory_recurse_doss_destroy_callback__fails),
- cmocka_unit_test(test__f_directory_recurse_dos_destroy_callback__works),
cmocka_unit_test(test__f_directory_recurse_dos_delete_callback__works),
- cmocka_unit_test(test__f_directory_recurse_doss_destroy_callback__works),
+ cmocka_unit_test(test__f_directory_recurse_dos_destroy_callback__works),
cmocka_unit_test(test__f_directory_recurse_doss_delete_callback__works),
+ cmocka_unit_test(test__f_directory_recurse_doss_destroy_callback__works),
- cmocka_unit_test(test__f_directory_statuss_destroy_callback__fails),
cmocka_unit_test(test__f_directory_statuss_delete_callback__fails),
- cmocka_unit_test(test__f_directory_statusss_destroy_callback__fails),
+ cmocka_unit_test(test__f_directory_statuss_destroy_callback__fails),
cmocka_unit_test(test__f_directory_statusss_delete_callback__fails),
+ cmocka_unit_test(test__f_directory_statusss_destroy_callback__fails),
- cmocka_unit_test(test__f_directory_statuss_destroy_callback__works),
cmocka_unit_test(test__f_directory_statuss_delete_callback__works),
- cmocka_unit_test(test__f_directory_statusss_destroy_callback__works),
+ cmocka_unit_test(test__f_directory_statuss_destroy_callback__works),
cmocka_unit_test(test__f_directory_statusss_delete_callback__works),
+ cmocka_unit_test(test__f_directory_statusss_destroy_callback__works),
cmocka_unit_test(test__f_directory_touch__fails),
cmocka_unit_test(test__f_directory_touch__returns_data_not),
// f_directory_touch() doesn't use parameter checking.
// f_directory_touch_at() doesn't use parameter checking.
- // f_directory_listings_destroy_callback() doesn't use parameter checking.
// f_directory_listings_delete_callback() doesn't use parameter checking.
- // f_directory_listingss_destroy_callback() doesn't use parameter checking.
+ // f_directory_listings_destroy_callback() doesn't use parameter checking.
// f_directory_listingss_delete_callback() doesn't use parameter checking.
- // f_directory_recurse_dos_destroy_callback() doesn't use parameter checking.
+ // f_directory_listingss_destroy_callback() doesn't use parameter checking.
// f_directory_recurse_dos_delete_callback() doesn't use parameter checking.
- // f_directory_recurse_doss_destroy_callback() doesn't use parameter checking.
+ // f_directory_recurse_dos_destroy_callback() doesn't use parameter checking.
// f_directory_recurse_doss_delete_callback() doesn't use parameter checking.
- // f_directory_statuss_destroy_callback() doesn't use parameter checking.
+ // f_directory_recurse_doss_destroy_callback() doesn't use parameter checking.
// f_directory_statuss_delete_callback() doesn't use parameter checking.
- // f_directory_statusss_destroy_callback() doesn't use parameter checking.
+ // f_directory_statuss_destroy_callback() doesn't use parameter checking.
// f_directory_statusss_delete_callback() doesn't use parameter checking.
+ // f_directory_statusss_destroy_callback() doesn't use parameter checking.
#endif // _di_level_0_parameter_checking_
};
#include "test-directory-open_at.h"
#include "test-directory-remove.h"
#include "test-directory-remove_custom.h"
-#include "test-directory-listings_destroy_callback.h"
#include "test-directory-listings_delete_callback.h"
-#include "test-directory-listingss_destroy_callback.h"
+#include "test-directory-listings_destroy_callback.h"
#include "test-directory-listingss_delete_callback.h"
-#include "test-directory-recurse_dos_destroy_callback.h"
+#include "test-directory-listingss_destroy_callback.h"
#include "test-directory-recurse_dos_delete_callback.h"
-#include "test-directory-recurse_doss_destroy_callback.h"
+#include "test-directory-recurse_dos_destroy_callback.h"
#include "test-directory-recurse_doss_delete_callback.h"
-#include "test-directory-statuss_destroy_callback.h"
+#include "test-directory-recurse_doss_destroy_callback.h"
#include "test-directory-statuss_delete_callback.h"
-#include "test-directory-statusss_destroy_callback.h"
+#include "test-directory-statuss_destroy_callback.h"
#include "test-directory-statusss_delete_callback.h"
+#include "test-directory-statusss_destroy_callback.h"
#include "test-directory-touch.h"
#include "test-directory-touch_at.h"
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_item_t data = f_fss_item_t_initialize;
+ f_string_range_t base = macro_f_string_range_t_initialize_1(1, 0);
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t bases = { .array = base_array, .used = 0, .size = 1 };
+
+ f_fss_item_t data = { .content = bases };
f_fss_item_t data_array[] = { data };
- f_fss_items_t datas = { .array = data_array, .used = 1, .size = 1 };
- f_fss_items_t datas_array[] = { datas };
{
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
- const f_status_t status = f_fss_items_delete_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_fss_items_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_item_t data = f_fss_item_t_initialize;
+ f_string_range_t base = macro_f_string_range_t_initialize_1(1, 0);
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t bases = { .array = base_array, .used = 0, .size = 1 };
+
+ f_fss_item_t data = { .content = bases };
f_fss_item_t data_array[] = { data };
- f_fss_items_t datas = { .array = data_array, .used = 1, .size = 1 };
- f_fss_items_t datas_array[] = { datas };
{
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_fss_items_destroy_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_fss_items_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_item_t data = f_fss_item_t_initialize;
+ f_string_range_t base = macro_f_string_range_t_initialize_1(1, 0);
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t bases = { .array = base_array, .used = 0, .size = 1 };
+
+ f_fss_item_t data = { .content = bases };
f_fss_item_t data_array[] = { data };
- f_fss_items_t datas = { .array = data_array, .used = 1, .size = 1 };
+ f_fss_items_t datas = { .array = data_array, .used = 0, .size = 1 };
f_fss_items_t datas_array[] = { datas };
{
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].size = 1;
+ datas_array[0].array[0].content.size = 1;
+ datas_array[0].array[0].content.array[0] = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_item_t data = f_fss_item_t_initialize;
+ f_string_range_t base = macro_f_string_range_t_initialize_1(1, 0);
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t bases = { .array = base_array, .used = 0, .size = 1 };
+
+ f_fss_item_t data = { .content = bases };
f_fss_item_t data_array[] = { data };
- f_fss_items_t datas = { .array = data_array, .used = 1, .size = 1 };
+ f_fss_items_t datas = { .array = data_array, .used = 0, .size = 1 };
f_fss_items_t datas_array[] = { datas };
{
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].size = 1;
+ datas_array[0].array[0].content.size = 1;
+ datas_array[0].array[0].content.array[0] = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_named_t data = f_fss_named_t_initialize;
+ f_string_range_t base = f_string_range_t_initialize;
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t objects = { .array = base_array, .used = 0, .size = 1 };
+ f_string_ranges_t objects_array[] = { objects };
+ f_string_rangess_t contents = { .array = objects_array, .used = 0, .size = 1 };
+
+ uint8_t quote_array[] = { 0 };
+ f_uint8s_t quotes = { .array = quote_array, .used = 0, .size = 1 };
+ f_uint8s_t quotes_array[] = { quotes };
+ f_uint8ss_t quotess = { .array = quotes_array, .used = 0, .size = 1 };;
+
+ f_fss_named_t data = { .objects = objects, .contents = contents, .quotess = quotess };
{
will_return(__wrap_f_memory_array_resize, true);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data.objects = objects;
+ data.contents = contents;
+ data.quotess = quotess;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data.objects = objects;
+ data.contents = contents;
+ data.quotess = quotess;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_named_t data = f_fss_named_t_initialize;
+ f_string_range_t base = f_string_range_t_initialize;
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t objects = { .array = base_array, .used = 0, .size = 1 };
+ f_string_ranges_t objects_array[] = { objects };
+ f_string_rangess_t contents = { .array = objects_array, .used = 0, .size = 1 };
+
+ uint8_t quote_array[] = { 0 };
+ f_uint8s_t quotes = { .array = quote_array, .used = 0, .size = 1 };
+ f_uint8s_t quotes_array[] = { quotes };
+ f_uint8ss_t quotess = { .array = quotes_array, .used = 0, .size = 1 };;
+
+ f_fss_named_t data = { .objects = objects, .contents = contents, .quotess = quotess };
{
will_return(__wrap_f_memory_array_adjust, true);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data.objects = objects;
+ data.contents = contents;
+ data.quotess = quotess;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data.objects = objects;
+ data.contents = contents;
+ data.quotess = quotess;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_named_t data = f_fss_named_t_initialize;
+ f_string_range_t base = f_string_range_t_initialize;
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t objects = { .array = base_array, .used = 0, .size = 1 };
+ f_string_ranges_t objects_array[] = { objects };
+ f_string_rangess_t contents = { .array = objects_array, .used = 0, .size = 1 };
+
+ uint8_t quote_array[] = { 0 };
+ f_uint8s_t quotes = { .array = quote_array, .used = 0, .size = 1 };
+ f_uint8s_t quotes_array[] = { quotes };
+ f_uint8ss_t quotess = { .array = quotes_array, .used = 0, .size = 1 };;
+
+ f_fss_named_t data = { .objects = objects, .contents = contents, .quotess = quotess };
f_fss_named_t data_array[] = { data };
- f_fss_nameds_t datas = { .array = data_array, .used = 1, .size = 1 };
- f_fss_nameds_t datas_array[] = { datas };
{
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
- const f_status_t status = f_fss_nameds_delete_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_fss_nameds_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].objects = objects;
+ data_array[0].contents = contents;
+ data_array[0].quotess = quotess;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_fss_nameds_delete_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_fss_nameds_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].objects = objects;
+ data_array[0].contents = contents;
+ data_array[0].quotess = quotess;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_fss_nameds_delete_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_fss_nameds_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_named_t data = f_fss_named_t_initialize;
+ f_string_range_t base = f_string_range_t_initialize;
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t objects = { .array = base_array, .used = 0, .size = 1 };
+ f_string_ranges_t objects_array[] = { objects };
+ f_string_rangess_t contents = { .array = objects_array, .used = 0, .size = 1 };
+
+ uint8_t quote_array[] = { 0 };
+ f_uint8s_t quotes = { .array = quote_array, .used = 0, .size = 1 };
+ f_uint8s_t quotes_array[] = { quotes };
+ f_uint8ss_t quotess = { .array = quotes_array, .used = 0, .size = 1 };;
+
+ f_fss_named_t data = { .objects = objects, .contents = contents, .quotess = quotess };
f_fss_named_t data_array[] = { data };
- f_fss_nameds_t datas = { .array = data_array, .used = 1, .size = 1 };
- f_fss_nameds_t datas_array[] = { datas };
{
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_fss_nameds_destroy_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_fss_nameds_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].objects = objects;
+ data_array[0].contents = contents;
+ data_array[0].quotess = quotess;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_fss_nameds_destroy_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_fss_nameds_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].objects = objects;
+ data_array[0].contents = contents;
+ data_array[0].quotess = quotess;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_fss_nameds_destroy_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_fss_nameds_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_named_t data = f_fss_named_t_initialize;
+ f_string_range_t base = f_string_range_t_initialize;
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t objects = { .array = base_array, .used = 0, .size = 1 };
+ f_string_ranges_t objects_array[] = { objects };
+ f_string_rangess_t contents = { .array = objects_array, .used = 0, .size = 1 };
+
+ uint8_t quote_array[] = { 0 };
+ f_uint8s_t quotes = { .array = quote_array, .used = 0, .size = 1 };
+ f_uint8s_t quotes_array[] = { quotes };
+ f_uint8ss_t quotess = { .array = quotes_array, .used = 0, .size = 1 };;
+
+ f_fss_named_t data = { .objects = objects, .contents = contents, .quotess = quotess };
f_fss_named_t data_array[] = { data };
- f_fss_nameds_t datas = { .array = data_array, .used = 1, .size = 1 };
+ f_fss_nameds_t datas = { .array = data_array, .used = 0, .size = 1 };
f_fss_nameds_t datas_array[] = { datas };
{
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].size = 1;
+ datas_array[0].array[0].objects = objects;
+ datas_array[0].array[0].contents = contents;
+ datas_array[0].array[0].quotess = quotess;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].size = 1;
+ datas_array[0].array[0].objects = objects;
+ datas_array[0].array[0].contents = contents;
+ datas_array[0].array[0].quotess = quotess;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_named_t data = f_fss_named_t_initialize;
+ f_string_range_t base = f_string_range_t_initialize;
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t objects = { .array = base_array, .used = 0, .size = 1 };
+ f_string_ranges_t objects_array[] = { objects };
+ f_string_rangess_t contents = { .array = objects_array, .used = 0, .size = 1 };
+
+ uint8_t quote_array[] = { 0 };
+ f_uint8s_t quotes = { .array = quote_array, .used = 0, .size = 1 };
+ f_uint8s_t quotes_array[] = { quotes };
+ f_uint8ss_t quotess = { .array = quotes_array, .used = 0, .size = 1 };;
+
+ f_fss_named_t data = { .objects = objects, .contents = contents, .quotess = quotess };
f_fss_named_t data_array[] = { data };
- f_fss_nameds_t datas = { .array = data_array, .used = 1, .size = 1 };
+ f_fss_nameds_t datas = { .array = data_array, .used = 0, .size = 1 };
f_fss_nameds_t datas_array[] = { datas };
{
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].size = 1;
+ datas_array[0].array[0].objects = objects;
+ datas_array[0].array[0].contents = contents;
+ datas_array[0].array[0].quotess = quotess;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].size = 1;
+ datas_array[0].array[0].objects = objects;
+ datas_array[0].array[0].contents = contents;
+ datas_array[0].array[0].quotess = quotess;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_item_t item = f_fss_item_t_initialize;
+ f_string_range_t base = macro_f_string_range_t_initialize_1(1, 0);
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t bases = { .array = base_array, .used = 0, .size = 1 };
+
+ f_fss_item_t item = { .content = bases };
f_fss_item_t item_array[] = { item };
- f_fss_items_t items = { .array = item_array, .used = 1, .size = 1 };
+ f_fss_items_t items = { .array = item_array, .used = 0, .size = 1 };
f_fss_items_t items_array[] = { items };
- f_fss_nest_t data = { .depth = items_array, .used = 1, .size = 1 };
+
+ f_fss_nest_t data = { .depth = items_array, .used = 0, .size = 1 };
f_fss_nest_t data_array[] = { data };
{
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].size = 1;
+ data_array[0].depth[0].size = 1;
+ data_array[0].depth[0].array[0].content = bases;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].size = 1;
+ data_array[0].depth[0].size = 1;
+ data_array[0].depth[0].array[0].content = bases;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_item_t item = f_fss_item_t_initialize;
+ f_string_range_t base = macro_f_string_range_t_initialize_1(1, 0);
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t bases = { .array = base_array, .used = 0, .size = 1 };
+
+ f_fss_item_t item = { .content = bases };
f_fss_item_t item_array[] = { item };
- f_fss_items_t items = { .array = item_array, .used = 1, .size = 1 };
+ f_fss_items_t items = { .array = item_array, .used = 0, .size = 1 };
f_fss_items_t items_array[] = { items };
- f_fss_nest_t data = { .depth = items_array, .used = 1, .size = 1 };
+
+ f_fss_nest_t data = { .depth = items_array, .used = 0, .size = 1 };
f_fss_nest_t data_array[] = { data };
{
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].size = 1;
+ data_array[0].depth[0].size = 1;
+ data_array[0].depth[0].array[0].content = bases;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].size = 1;
+ data_array[0].depth[0].size = 1;
+ data_array[0].depth[0].array[0].content = bases;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
f_fss_items_t items_array[] = { items };
f_fss_nest_t data = { .depth = items_array, .used = 1, .size = 1 };
f_fss_nest_t data_array[] = { data };
- f_fss_nests_t datas = { .array = data_array, .used = 1, .size = 1 };
+ f_fss_nests_t datas = { .array = data_array, .used = 0, .size = 1 };
f_fss_nests_t datas_array[] = { datas };
{
f_fss_items_t items_array[] = { items };
f_fss_nest_t data = { .depth = items_array, .used = 1, .size = 1 };
f_fss_nest_t data_array[] = { data };
- f_fss_nests_t datas = { .array = data_array, .used = 1, .size = 1 };
+ f_fss_nests_t datas = { .array = data_array, .used = 0, .size = 1 };
f_fss_nests_t datas_array[] = { datas };
{
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_set_t data = f_fss_set_t_initialize;
+ f_string_range_t base = f_string_range_t_initialize;
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t objects = { .array = base_array, .used = 0, .size = 1 };
+ f_string_ranges_t objects_array[] = { objects };
+ f_string_rangess_t contents = { .array = objects_array, .used = 0, .size = 1 };
+
+ f_fss_set_t data = { .objects = objects, .contents = contents };
{
will_return(__wrap_f_memory_array_resize, true);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_set_t data = f_fss_set_t_initialize;
+ f_string_range_t base = f_string_range_t_initialize;
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t objects = { .array = base_array, .used = 0, .size = 1 };
+ f_string_ranges_t objects_array[] = { objects };
+ f_string_rangess_t contents = { .array = objects_array, .used = 0, .size = 1 };
+
+ f_fss_set_t data = { .objects = objects, .contents = contents };
{
will_return(__wrap_f_memory_array_adjust, true);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_set_quote_t data = f_fss_set_quote_t_initialize;
+ f_string_range_t base = f_string_range_t_initialize;
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t objects = { .array = base_array, .used = 0, .size = 1 };
+ f_string_ranges_t objects_array[] = { objects };
+ f_string_rangess_t contents = { .array = objects_array, .used = 0, .size = 1 };
+
+ uint8_t quote_array[] = { 0 };
+ f_uint8s_t quotes = { .array = quote_array, .used = 0, .size = 1 };
+ f_uint8s_t quotes_array[] = { quotes };
+ f_uint8ss_t quotess = { .array = quotes_array, .used = 0, .size = 1 };;
+
+ f_fss_set_quote_t data = { .objects = objects, .contents = contents, .objects_quote = quotes, .contents_quote = quotess };
{
will_return(__wrap_f_memory_array_resize, true);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_set_quote_t data = f_fss_set_quote_t_initialize;
+ f_string_range_t base = f_string_range_t_initialize;
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t objects = { .array = base_array, .used = 0, .size = 1 };
+ f_string_ranges_t objects_array[] = { objects };
+ f_string_rangess_t contents = { .array = objects_array, .used = 0, .size = 1 };
+
+ uint8_t quote_array[] = { 0 };
+ f_uint8s_t quotes = { .array = quote_array, .used = 0, .size = 1 };
+ f_uint8s_t quotes_array[] = { quotes };
+ f_uint8ss_t quotess = { .array = quotes_array, .used = 0, .size = 1 };;
+
+ f_fss_set_quote_t data = { .objects = objects, .contents = contents, .objects_quote = quotes, .contents_quote = quotess };
{
will_return(__wrap_f_memory_array_adjust, true);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_set_quote_t data = f_fss_set_quote_t_initialize;
+ f_string_range_t base = f_string_range_t_initialize;
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t objects = { .array = base_array, .used = 0, .size = 1 };
+ f_string_ranges_t objects_array[] = { objects };
+ f_string_rangess_t contents = { .array = objects_array, .used = 0, .size = 1 };
+
+ uint8_t quote_array[] = { 0 };
+ f_uint8s_t quotes = { .array = quote_array, .used = 0, .size = 1 };
+ f_uint8s_t quotes_array[] = { quotes };
+ f_uint8ss_t quotess = { .array = quotes_array, .used = 0, .size = 1 };;
+
+ f_fss_set_quote_t data = { .objects = objects, .contents = contents, .objects_quote = quotes, .contents_quote = quotess };
f_fss_set_quote_t data_array[] = { data };
- f_fss_set_quotes_t datas = { .array = data_array, .used = 1, .size = 1 };
- f_fss_set_quotes_t datas_array[] = { datas };
{
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
- const f_status_t status = f_fss_set_quotes_delete_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_fss_set_quotes_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].objects = objects;
+ data_array[0].contents = contents;
+ data_array[0].objects_quote = quotes;
+ data_array[0].contents_quote = quotess;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_fss_set_quotes_delete_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_fss_set_quotes_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].objects = objects;
+ data_array[0].contents = contents;
+ data_array[0].objects_quote = quotes;
+ data_array[0].contents_quote = quotess;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
- const f_status_t status = f_fss_set_quotes_delete_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_fss_set_quotes_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].objects = objects;
+ data_array[0].contents = contents;
+ data_array[0].objects_quote = quotes;
+ data_array[0].contents_quote = quotess;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_fss_set_quotes_delete_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_fss_set_quotes_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_set_quote_t data = f_fss_set_quote_t_initialize;
+ f_string_range_t base = f_string_range_t_initialize;
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t objects = { .array = base_array, .used = 0, .size = 1 };
+ f_string_ranges_t objects_array[] = { objects };
+ f_string_rangess_t contents = { .array = objects_array, .used = 0, .size = 1 };
+
+ uint8_t quote_array[] = { 0 };
+ f_uint8s_t quotes = { .array = quote_array, .used = 0, .size = 1 };
+ f_uint8s_t quotes_array[] = { quotes };
+ f_uint8ss_t quotess = { .array = quotes_array, .used = 0, .size = 1 };;
+
+ f_fss_set_quote_t data = { .objects = objects, .contents = contents, .objects_quote = quotes, .contents_quote = quotess };
f_fss_set_quote_t data_array[] = { data };
- f_fss_set_quotes_t datas = { .array = data_array, .used = 1, .size = 1 };
- f_fss_set_quotes_t datas_array[] = { datas };
{
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_fss_set_quotes_destroy_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_fss_set_quotes_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].objects = objects;
+ data_array[0].contents = contents;
+ data_array[0].objects_quote = quotes;
+ data_array[0].contents_quote = quotess;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_fss_set_quotes_destroy_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_fss_set_quotes_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].objects = objects;
+ data_array[0].contents = contents;
+ data_array[0].objects_quote = quotes;
+ data_array[0].contents_quote = quotess;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_fss_set_quotes_destroy_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_fss_set_quotes_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].objects = objects;
+ data_array[0].contents = contents;
+ data_array[0].objects_quote = quotes;
+ data_array[0].contents_quote = quotess;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_fss_set_quotes_destroy_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_fss_set_quotes_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_set_quote_t data = f_fss_set_quote_t_initialize;
+ f_string_range_t base = f_string_range_t_initialize;
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t objects = { .array = base_array, .used = 0, .size = 1 };
+ f_string_ranges_t objects_array[] = { objects };
+ f_string_rangess_t contents = { .array = objects_array, .used = 0, .size = 1 };
+
+ uint8_t quote_array[] = { 0 };
+ f_uint8s_t quotes = { .array = quote_array, .used = 0, .size = 1 };
+ f_uint8s_t quotes_array[] = { quotes };
+ f_uint8ss_t quotess = { .array = quotes_array, .used = 0, .size = 1 };;
+
+ f_fss_set_quote_t data = { .objects = objects, .contents = contents, .objects_quote = quotes, .contents_quote = quotess };
f_fss_set_quote_t data_array[] = { data };
- f_fss_set_quotes_t datas = { .array = data_array, .used = 1, .size = 1 };
+ f_fss_set_quotes_t datas = { .array = data_array, .used = 0, .size = 1 };
f_fss_set_quotes_t datas_array[] = { datas };
{
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].size = 1;
+ datas_array[0].array[0].objects = objects;
+ datas_array[0].array[0].contents = contents;
+ datas_array[0].array[0].objects_quote = quotes;
+ datas_array[0].array[0].contents_quote = quotess;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].size = 1;
+ datas_array[0].array[0].objects = objects;
+ datas_array[0].array[0].contents = contents;
+ datas_array[0].array[0].objects_quote = quotes;
+ datas_array[0].array[0].contents_quote = quotess;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].size = 1;
+ datas_array[0].array[0].objects = objects;
+ datas_array[0].array[0].contents = contents;
+ datas_array[0].array[0].objects_quote = quotes;
+ datas_array[0].array[0].contents_quote = quotess;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_set_quote_t data = f_fss_set_quote_t_initialize;
+ f_string_range_t base = f_string_range_t_initialize;
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t objects = { .array = base_array, .used = 0, .size = 1 };
+ f_string_ranges_t objects_array[] = { objects };
+ f_string_rangess_t contents = { .array = objects_array, .used = 0, .size = 1 };
+
+ uint8_t quote_array[] = { 0 };
+ f_uint8s_t quotes = { .array = quote_array, .used = 0, .size = 1 };
+ f_uint8s_t quotes_array[] = { quotes };
+ f_uint8ss_t quotess = { .array = quotes_array, .used = 0, .size = 1 };;
+
+ f_fss_set_quote_t data = { .objects = objects, .contents = contents, .objects_quote = quotes, .contents_quote = quotess };
f_fss_set_quote_t data_array[] = { data };
- f_fss_set_quotes_t datas = { .array = data_array, .used = 1, .size = 1 };
+ f_fss_set_quotes_t datas = { .array = data_array, .used = 0, .size = 1 };
f_fss_set_quotes_t datas_array[] = { datas };
{
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].size = 1;
+ datas_array[0].array[0].objects = objects;
+ datas_array[0].array[0].contents = contents;
+ datas_array[0].array[0].objects_quote = quotes;
+ datas_array[0].array[0].contents_quote = quotess;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].size = 1;
+ datas_array[0].array[0].objects = objects;
+ datas_array[0].array[0].contents = contents;
+ datas_array[0].array[0].objects_quote = quotes;
+ datas_array[0].array[0].contents_quote = quotess;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].size = 1;
+ datas_array[0].array[0].objects = objects;
+ datas_array[0].array[0].contents = contents;
+ datas_array[0].array[0].objects_quote = quotes;
+ datas_array[0].array[0].contents_quote = quotess;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_set_t data = f_fss_set_t_initialize;
+ f_string_range_t base = f_string_range_t_initialize;
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t objects = { .array = base_array, .used = 0, .size = 1 };
+ f_string_ranges_t objects_array[] = { objects };
+ f_string_rangess_t contents = { .array = objects_array, .used = 0, .size = 1 };
+
+ f_fss_set_t data = { .objects = objects, .contents = contents };
f_fss_set_t data_array[] = { data };
- f_fss_sets_t datas = { .array = data_array, .used = 1, .size = 1 };
- f_fss_sets_t datas_array[] = { datas };
{
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
- const f_status_t status = f_fss_sets_delete_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_fss_sets_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].objects = objects;
+ data_array[0].contents = contents;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
- const f_status_t status = f_fss_sets_delete_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_fss_sets_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_set_t data = f_fss_set_t_initialize;
+ f_string_range_t base = f_string_range_t_initialize;
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t objects = { .array = base_array, .used = 0, .size = 1 };
+ f_string_ranges_t objects_array[] = { objects };
+ f_string_rangess_t contents = { .array = objects_array, .used = 0, .size = 1 };
+
+ f_fss_set_t data = { .objects = objects, .contents = contents };
f_fss_set_t data_array[] = { data };
- f_fss_sets_t datas = { .array = data_array, .used = 1, .size = 1 };
- f_fss_sets_t datas_array[] = { datas };
{
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_fss_sets_destroy_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_fss_sets_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].objects = objects;
+ data_array[0].contents = contents;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_fss_sets_destroy_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_fss_sets_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_set_t data = f_fss_set_t_initialize;
+ f_string_range_t base = f_string_range_t_initialize;
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t objects = { .array = base_array, .used = 0, .size = 1 };
+ f_string_ranges_t objects_array[] = { objects };
+ f_string_rangess_t contents = { .array = objects_array, .used = 0, .size = 1 };
+
+ f_fss_set_t data = { .objects = objects, .contents = contents };
f_fss_set_t data_array[] = { data };
- f_fss_sets_t datas = { .array = data_array, .used = 1, .size = 1 };
+ f_fss_sets_t datas = { .array = data_array, .used = 0, .size = 1 };
f_fss_sets_t datas_array[] = { datas };
{
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].size = 1;
+ datas_array[0].array[0].objects = objects;
+ datas_array[0].array[0].contents = contents;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_set_t data = f_fss_set_t_initialize;
+ f_string_range_t base = f_string_range_t_initialize;
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t objects = { .array = base_array, .used = 0, .size = 1 };
+ f_string_ranges_t objects_array[] = { objects };
+ f_string_rangess_t contents = { .array = objects_array, .used = 0, .size = 1 };
+
+ f_fss_set_t data = { .objects = objects, .contents = contents };
f_fss_set_t data_array[] = { data };
- f_fss_sets_t datas = { .array = data_array, .used = 1, .size = 1 };
+ f_fss_sets_t datas = { .array = data_array, .used = 0, .size = 1 };
f_fss_sets_t datas_array[] = { datas };
{
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].size = 1;
+ datas_array[0].array[0].objects = objects;
+ datas_array[0].array[0].contents = contents;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_simple_packet_t data = f_fss_simple_packet_t_initialize;
+ f_string_static_t base = macro_f_string_static_t_initialize_1(F_string_empty_s, 1, 0);
+
+ f_fss_simple_packet_t data = { .payload = base };
{
will_return(__wrap_f_memory_array_resize, true);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_simple_packet_t data = f_fss_simple_packet_t_initialize;
+ f_string_static_t base = macro_f_string_static_t_initialize_1(F_string_empty_s, 1, 0);
+
+ f_fss_simple_packet_t data = { .payload = base };
{
will_return(__wrap_f_memory_array_adjust, true);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_simple_packet_t data = { .payload = f_string_empty_s, .control = 0, .size = 0 };
+ f_string_static_t base = macro_f_string_static_t_initialize_1(F_string_empty_s, 1, 0);
+
+ f_fss_simple_packet_t data = { .payload = base };
f_fss_simple_packet_t data_array[] = { data };
- f_fss_simple_packets_t datas = { .array = data_array, .used = 1, .size = 1 };
- f_fss_simple_packets_t datas_array[] = { datas };
{
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
- const f_status_t status = f_fss_simple_packets_delete_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_fss_simple_packets_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_simple_packet_t data = { .payload = f_string_empty_s, .control = 0, .size = 0 };
+ f_string_static_t base = macro_f_string_static_t_initialize_1(F_string_empty_s, 1, 0);
+
+ f_fss_simple_packet_t data = { .payload = base };
f_fss_simple_packet_t data_array[] = { data };
- f_fss_simple_packets_t datas = { .array = data_array, .used = 1, .size = 1 };
- f_fss_simple_packets_t datas_array[] = { datas };
{
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_fss_simple_packets_destroy_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_fss_simple_packets_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_simple_packet_t data = { .payload = f_string_empty_s, .control = 0, .size = 0 };
+ f_string_static_t base = macro_f_string_static_t_initialize_1(F_string_empty_s, 1, 0);
+
+ f_fss_simple_packet_t data = { .payload = base };
f_fss_simple_packet_t data_array[] = { data };
- f_fss_simple_packets_t datas = { .array = data_array, .used = 1, .size = 1 };
+ f_fss_simple_packets_t datas = { .array = data_array, .used = 0, .size = 1 };
f_fss_simple_packets_t datas_array[] = { datas };
{
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].size = 1;
+ datas_array[0].array[0].payload = base;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_fss_simple_packet_t data = { .payload = f_string_empty_s, .control = 0, .size = 0 };
+ f_string_static_t base = macro_f_string_static_t_initialize_1(F_string_empty_s, 1, 0);
+
+ f_fss_simple_packet_t data = { .payload = base };
f_fss_simple_packet_t data_array[] = { data };
- f_fss_simple_packets_t datas = { .array = data_array, .used = 1, .size = 1 };
+ f_fss_simple_packets_t datas = { .array = data_array, .used = 0, .size = 1 };
f_fss_simple_packets_t datas_array[] = { datas };
{
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].size = 1;
+ datas_array[0].array[0].payload = base;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_string_ranges_t content = f_string_ranges_t_initialize;
- f_number_unsigneds_t delimits = f_number_unsigneds_t_initialize;
- f_string_ranges_t variable = f_string_ranges_t_initialize;
- f_string_ranges_t vocabulary = f_string_ranges_t_initialize;
+ f_string_range_t base = macro_f_string_range_t_initialize_1(1, 0);
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t bases = { .array = base_array, .used = 0, .size = 1 };
+
+ f_string_ranges_t content = bases;
+ f_number_unsigned_t delimit_array[] = { 0 };
+ f_number_unsigneds_t delimits = { .array = delimit_array, .used = 0, .size = 1 };
+ f_string_ranges_t variable = bases;
+ f_string_ranges_t vocabulary = bases;
+
f_iki_data_t data = { .content = content, .delimits = delimits, .variable = variable, .vocabulary = vocabulary };
f_iki_data_t data_array[] = { data };
- f_iki_datas_t datas = { .array = data_array, .used = 1, .size = 1 };
- f_iki_datas_t datas_array[] = { datas };
{
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
- const f_status_t status = f_iki_datas_delete_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_iki_datas_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].content = content;
+ data_array[0].delimits = delimits;
+ data_array[0].variable = variable;
+ data_array[0].vocabulary = vocabulary;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
- const f_status_t status = f_iki_datas_delete_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_iki_datas_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].content = content;
+ data_array[0].delimits = delimits;
+ data_array[0].variable = variable;
+ data_array[0].vocabulary = vocabulary;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
- const f_status_t status = f_iki_datas_delete_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_iki_datas_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].content = content;
+ data_array[0].delimits = delimits;
+ data_array[0].variable = variable;
+ data_array[0].vocabulary = vocabulary;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
- const f_status_t status = f_iki_datas_delete_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_iki_datas_delete_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_string_ranges_t content = f_string_ranges_t_initialize;
- f_number_unsigneds_t delimits = f_number_unsigneds_t_initialize;
- f_string_ranges_t variable = f_string_ranges_t_initialize;
- f_string_ranges_t vocabulary = f_string_ranges_t_initialize;
+ f_string_range_t base = macro_f_string_range_t_initialize_1(1, 0);
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t bases = { .array = base_array, .used = 0, .size = 1 };
+
+ f_string_ranges_t content = bases;
+ f_number_unsigned_t delimit_array[] = { 0 };
+ f_number_unsigneds_t delimits = { .array = delimit_array, .used = 0, .size = 1 };
+ f_string_ranges_t variable = bases;
+ f_string_ranges_t vocabulary = bases;
+
f_iki_data_t data = { .content = content, .delimits = delimits, .variable = variable, .vocabulary = vocabulary };
f_iki_data_t data_array[] = { data };
- f_iki_datas_t datas = { .array = data_array, .used = 1, .size = 1 };
- f_iki_datas_t datas_array[] = { datas };
{
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_iki_datas_destroy_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_iki_datas_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].content = content;
+ data_array[0].delimits = delimits;
+ data_array[0].variable = variable;
+ data_array[0].vocabulary = vocabulary;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_iki_datas_destroy_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_iki_datas_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].content = content;
+ data_array[0].delimits = delimits;
+ data_array[0].variable = variable;
+ data_array[0].vocabulary = vocabulary;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_iki_datas_destroy_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_iki_datas_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ data_array[0].content = content;
+ data_array[0].delimits = delimits;
+ data_array[0].variable = variable;
+ data_array[0].vocabulary = vocabulary;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
- const f_status_t status = f_iki_datas_destroy_callback(0, 1, (void *) datas_array);
+ const f_status_t status = f_iki_datas_destroy_callback(0, 1, (void *) data_array);
assert_int_equal(status, F_status_set_error(F_failure));
}
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_string_ranges_t content = f_string_ranges_t_initialize;
- f_number_unsigneds_t delimits = f_number_unsigneds_t_initialize;
- f_string_ranges_t variable = f_string_ranges_t_initialize;
- f_string_ranges_t vocabulary = f_string_ranges_t_initialize;
+ f_string_range_t base = macro_f_string_range_t_initialize_1(1, 0);
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t bases = { .array = base_array, .used = 0, .size = 1 };
+
+ f_string_ranges_t content = bases;
+ f_number_unsigned_t delimit_array[] = { 0 };
+ f_number_unsigneds_t delimits = { .array = delimit_array, .used = 0, .size = 1 };
+ f_string_ranges_t variable = bases;
+ f_string_ranges_t vocabulary = bases;
+
f_iki_data_t data = { .content = content, .delimits = delimits, .variable = variable, .vocabulary = vocabulary };
f_iki_data_t data_array[] = { data };
f_iki_datas_t datas = { .array = data_array, .used = 1, .size = 1 };
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].size = 1;
+ datas_array[0].array[0].content = content;
+ datas_array[0].array[0].delimits = delimits;
+ datas_array[0].array[0].variable = variable;
+ datas_array[0].array[0].vocabulary = vocabulary;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].size = 1;
+ datas_array[0].array[0].content = content;
+ datas_array[0].array[0].delimits = delimits;
+ datas_array[0].array[0].variable = variable;
+ datas_array[0].array[0].vocabulary = vocabulary;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].size = 1;
+ datas_array[0].array[0].content = content;
+ datas_array[0].array[0].delimits = delimits;
+ datas_array[0].array[0].variable = variable;
+ datas_array[0].array[0].vocabulary = vocabulary;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].size = 1;
+ datas_array[0].array[0].content = content;
+ datas_array[0].array[0].delimits = delimits;
+ datas_array[0].array[0].variable = variable;
+ datas_array[0].array[0].vocabulary = vocabulary;
+
{
will_return(__wrap_f_memory_array_resize, false);
will_return(__wrap_f_memory_array_resize, F_okay);
mock_unwrap = 0;
mock_unwrap_f_memory = 0;
- f_string_ranges_t content = f_string_ranges_t_initialize;
- f_number_unsigneds_t delimits = f_number_unsigneds_t_initialize;
- f_string_ranges_t variable = f_string_ranges_t_initialize;
- f_string_ranges_t vocabulary = f_string_ranges_t_initialize;
+ f_string_range_t base = macro_f_string_range_t_initialize_1(1, 0);
+ f_string_range_t base_array[] = { base };
+ f_string_ranges_t bases = { .array = base_array, .used = 0, .size = 1 };
+
+ f_string_ranges_t content = bases;
+ f_number_unsigned_t delimit_array[] = { 0 };
+ f_number_unsigneds_t delimits = { .array = delimit_array, .used = 0, .size = 1 };
+ f_string_ranges_t variable = bases;
+ f_string_ranges_t vocabulary = bases;
+
f_iki_data_t data = { .content = content, .delimits = delimits, .variable = variable, .vocabulary = vocabulary };
f_iki_data_t data_array[] = { data };
f_iki_datas_t datas = { .array = data_array, .used = 1, .size = 1 };
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].size = 1;
+ datas_array[0].array[0].content = content;
+ datas_array[0].array[0].delimits = delimits;
+ datas_array[0].array[0].variable = variable;
+ datas_array[0].array[0].vocabulary = vocabulary;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].size = 1;
+ datas_array[0].array[0].content = content;
+ datas_array[0].array[0].delimits = delimits;
+ datas_array[0].array[0].variable = variable;
+ datas_array[0].array[0].vocabulary = vocabulary;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].size = 1;
+ datas_array[0].array[0].content = content;
+ datas_array[0].array[0].delimits = delimits;
+ datas_array[0].array[0].variable = variable;
+ datas_array[0].array[0].vocabulary = vocabulary;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);
assert_int_equal(status, F_status_set_error(F_failure));
}
+ datas_array[0].size = 1;
+ datas_array[0].array[0].content = content;
+ datas_array[0].array[0].delimits = delimits;
+ datas_array[0].array[0].variable = variable;
+ datas_array[0].array[0].vocabulary = vocabulary;
+
{
will_return(__wrap_f_memory_array_adjust, false);
will_return(__wrap_f_memory_array_adjust, F_okay);