I was lazy with the previous behavior and always cleared the error bits when performing the comparison checks.
Change the behavior to properly check the status code for when the error bit is expected and when it is not.
const f_status_t status = f_account_by_id(uid, &account);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
macro_f_account_t_delete_simple(account);
{
const f_status_t status = f_account_by_id(0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_account_by_name(name, &account);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
macro_f_account_t_delete_simple(account);
{
const f_status_t status = f_account_by_name(name, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_account_group_id_by_name(name, &gid);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_account_group_id_by_name(name, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_account_group_name_by_id(gid, &name);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
f_string_dynamic_resize(0, &name);
{
const f_status_t status = f_account_group_name_by_id(0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_account_id_by_name(name, &uid);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_account_id_by_name(name, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_account_name_by_id(uid, &name);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
f_string_dynamic_resize(0, &name);
{
const f_status_t status = f_account_name_by_id(0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_capability_ambient_get(value, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_capability_ambient_reset();
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
int errnos[] = {
const f_status_t status = f_capability_ambient_reset();
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_) && !defined(_libcap_legacy_only_)
}
const f_status_t status = f_capability_ambient_set(value, flag_value);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_) && !defined(_libcap_legacy_only_)
}
const f_status_t status = f_capability_clear(&capability);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_)
}
{
const f_status_t status = f_capability_clear(0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_capability_clear_flag(flag, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_capability_clear_flag(flag, &capability);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_)
}
const f_status_t status = f_capability_compare(capability_1, capability_2, &flags);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_)
}
const f_status_t status = f_capability_copy(capability_1, &capability_2);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
} // for
#endif // !defined(_di_libcap_)
}
{
const f_status_t status = f_capability_copy(capability, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_capability_copy_external(capability, max, external, &size);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_)
}
{
const f_status_t status = f_capability_copy_external(capability, 0, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_capability_copy_internal(external, &capability);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_)
}
{
const f_status_t status = f_capability_copy_internal(0, &capability);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
{
const f_status_t status = f_capability_copy_internal(external, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_capability_delete(&capability);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_)
}
{
const f_status_t status = f_capability_delete(0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_capability_file_descriptor_get(descriptor, &capability);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_)
}
{
const f_status_t status = f_capability_file_descriptor_get(descriptor, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_capability_file_descriptor_set(descriptor, capability);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_)
}
const f_status_t status = f_capability_file_get(path, &capability);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_)
}
{
const f_status_t status = f_capability_file_get(path, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_capability_file_set(path, capability);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_)
}
const f_status_t status = f_capability_flag_get(capability, capability_value, flag, &value);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_)
}
{
const f_status_t status = f_capability_flag_get(capability, capability_value, flag, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_capability_flag_set(flag, value, codes, &capability);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_)
}
{
const f_status_t status = f_capability_flag_set(flag, value, codes, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_capability_from_name(name, &capability_value);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_)
}
{
const f_status_t status = f_capability_from_name(name, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_capability_from_text(text, &capability);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_)
}
{
const f_status_t status = f_capability_from_text(text, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_capability_groups_set(group, total, groups);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_) && !defined(_libcap_legacy_only_)
}
const f_status_t status = f_capability_initialize(&capability);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_)
}
{
const f_status_t status = f_capability_initialize(0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_capability_mode_get(0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_capability_mode_get_name(mode, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_capability_mode_set(mode);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_) && !defined(_libcap_legacy_only_)
}
{
const f_status_t status = f_capability_owner_get(capability, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_capability_owner_set(capability, id);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_) && !defined(_libcap_legacy_only_)
}
const f_status_t status = f_capability_process_bound_drop(value, &bound);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_)
}
{
const f_status_t status = f_capability_process_bound_drop(value, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_capability_process_bound_get(value, &bound);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_)
}
{
const f_status_t status = f_capability_process_bound_get(value, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_capability_process_get(&capability);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_)
}
{
const f_status_t status = f_capability_process_get(0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_capability_process_get_by_id(pid, &capability);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_)
}
{
const f_status_t status = f_capability_process_get_by_id(0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_capability_process_set(capability);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_)
}
const f_status_t status = f_capability_security_bits_get(&bits);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_) && !defined(_libcap_legacy_only_)
}
{
const f_status_t status = f_capability_security_bits_get(0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_capability_security_bits_set(bits);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_) && !defined(_libcap_legacy_only_)
}
const f_status_t status = f_capability_size(capability, &size);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_)
}
{
const f_status_t status = f_capability_size(capability, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_capability_to_name(code, &name);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
assert_int_equal(name.used, 0);
} // for
#endif // !defined(_di_libcap_)
{
const f_status_t status = f_capability_to_name(code, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_capability_to_text(capability, &text);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
assert_int_equal(text.used, 0);
} // for
#endif // !defined(_di_libcap_)
{
const f_status_t status = f_capability_to_text(capability, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_capability_user_set(uid);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
#endif // !defined(_di_libcap_) && !defined(_libcap_legacy_only_)
}
{
const f_status_t status = f_color_context_delete(0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_color_context_destroy(0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_color_load_context(F_true, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_color_save_1(format, color, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_color_save_2(format, color, color, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_color_save_3(format, color, color, color, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_color_save_4(format, color, color, color, color, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_color_save_5(format, color, color, color, color, color, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_console_environment_process(arguments, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_console_identify(input, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_console_parameter_prioritize_left(parameters, choices, &decision);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
f_console_parameters_delete(¶meters);
{
const f_status_t status = f_console_parameter_prioritize_left(parameters, choices, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
{
const f_status_t status = f_console_parameter_prioritize_left(parameters, choices, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
f_console_parameters_delete(¶meters);
const f_status_t status = f_console_parameter_prioritize_right(parameters, choices, &decision);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
f_console_parameters_delete(¶meters);
{
const f_status_t status = f_console_parameter_prioritize_right(parameters, choices, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
{
const f_status_t status = f_console_parameter_prioritize_right(parameters, choices, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
f_console_parameters_delete(¶meters);
{
const f_status_t status = f_console_parameter_process(arguments, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_console_parameters_delete(0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_console_parameters_destroy(0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_control_group_copy(source, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_conversion_character_to_binary(0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_conversion_character_to_decimal(0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_conversion_character_to_duodecimal(0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_conversion_character_to_hexidecimal(0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_conversion_character_to_octal(0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_conversion_number_signed_print(0, data, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
{
const f_status_t status = f_conversion_number_signed_print(0, data, file);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_conversion_number_signed_to_string(0, data, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
{
const f_status_t status = f_conversion_number_signed_to_string(0, data, &string);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_conversion_number_unsigned_print(0, data, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
{
const f_status_t status = f_conversion_number_unsigned_print(0, data, file);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_conversion_number_unsigned_to_string(0, data, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
{
const f_status_t status = f_conversion_number_unsigned_to_string(0, data, &string);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_directory_create(path, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_directory_create_at(0, path, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
};
f_status_t statuss[] = {
- F_access_denied,
- F_buffer,
- F_loop,
- F_name,
+ F_status_set_error(F_access_denied),
+ F_status_set_error(F_buffer),
+ F_status_set_error(F_loop),
+ F_status_set_error(F_name),
F_file_found_not,
- F_memory_not,
+ F_status_set_error(F_memory_not),
F_false,
- F_number_overflow,
- F_file_stat,
+ F_status_set_error(F_number_overflow),
+ F_status_set_error(F_file_stat),
};
for (int i = 0; i < 9; ++i) {
const f_status_t status = f_directory_exists(path);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, statuss[i]);
} // for
}
};
f_status_t statuss[] = {
- F_access_denied,
- F_directory_descriptor,
- F_buffer,
- F_loop,
- F_name,
+ F_status_set_error(F_access_denied),
+ F_status_set_error(F_directory_descriptor),
+ F_status_set_error(F_buffer),
+ F_status_set_error(F_loop),
+ F_status_set_error(F_name),
F_file_found_not,
- F_memory_not,
+ F_status_set_error(F_memory_not),
F_false,
- F_number_overflow,
- F_file_stat,
+ F_status_set_error(F_number_overflow),
+ F_status_set_error(F_file_stat),
};
for (int i = 0; i < 10; ++i) {
const f_status_t status = f_directory_exists_at(0, path, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, statuss[i]);
} // for
}
};
f_status_t statuss[] = {
- F_access_denied,
- F_buffer,
- F_loop,
- F_name,
+ F_status_set_error(F_access_denied),
+ F_status_set_error(F_buffer),
+ F_status_set_error(F_loop),
+ F_status_set_error(F_name),
F_file_found_not,
- F_memory_not,
+ F_status_set_error(F_memory_not),
F_false,
- F_number_overflow,
- F_file_stat,
+ F_status_set_error(F_number_overflow),
+ F_status_set_error(F_file_stat),
};
for (int i = 0; i < 9; ++i) {
const f_status_t status = f_directory_is(path);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, statuss[i]);
} // for
}
};
f_status_t statuss[] = {
- F_access_denied,
- F_directory_descriptor,
- F_buffer,
- F_loop,
- F_name,
+ F_status_set_error(F_access_denied),
+ F_status_set_error(F_directory_descriptor),
+ F_status_set_error(F_buffer),
+ F_status_set_error(F_loop),
+ F_status_set_error(F_name),
F_file_found_not,
- F_memory_not,
+ F_status_set_error(F_memory_not),
F_false,
- F_number_overflow,
- F_file_stat,
+ F_status_set_error(F_number_overflow),
+ F_status_set_error(F_file_stat),
};
for (int i = 0; i < 10; ++i) {
const f_status_t status = f_directory_is_at(0, path, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, statuss[i]);
} // for
}
const f_status_t status = f_directory_list(path, 0, 0, &names);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_directory_list(path, 0, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_directory_open(path, F_false, &id);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_directory_open(path, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_directory_open_at(at, path, F_false, &id);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_directory_open_at(0, path, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_directory_remove(path, 0, F_false);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_directory_remove(path, 1, F_false);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_directory_remove(path, 1, F_true);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
}
{
const f_status_t status = f_directory_remove(path, -1, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_directory_remove_custom(path, 0, F_false, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_directory_remove_custom(path, 1, F_false, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_directory_remove_custom(path, 1, F_true, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
}
{
const f_status_t status = f_directory_remove_custom(path, -1, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_directory_touch(path, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_directory_touch(path, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
} // for
const f_status_t status = f_directory_touch(path, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
}
const f_status_t status = f_directory_touch_at(1, path, 0, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_directory_touch_at(1, path, 0, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
} // for
const f_status_t status = f_directory_touch_at(1, path, 0, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
}
{
const f_status_t status = f_environment_get(path, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_environment_secure_is();
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_environment_secure_is();
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
#endif // _di_libcap_
const f_status_t status = f_environment_set(path, path, F_false);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
}
const f_status_t status = f_environment_unset(path);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
}
assert_int_equal(status, F_none);
}
else {
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
}
} // for
}
const f_status_t status = f_file_clone(path, path, 0, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_clone(path, path, 0, f_file_stat_flag_reference_e | f_file_stat_flag_group_e | f_file_stat_flag_owner_e);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_clone(path, path, 0, f_file_stat_flag_reference_e | f_file_stat_flag_group_e | f_file_stat_flag_owner_e);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
}
const f_status_t status = f_file_clone(path, path, 0, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_clone(path, path, 0, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_clone(path, path, 0, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_clone(path, path, 0, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_clone(path, path, 0, f_file_stat_flag_reference_e | f_file_stat_flag_owner_e | f_file_stat_flag_group_e);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_clone(path, path, 0, f_file_stat_flag_reference_e | f_file_stat_flag_owner_e | f_file_stat_flag_group_e);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_clone(path, path, 0, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_clone(path, path, 0, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_clone(path, path, 0, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_clone(path, path, 0, f_file_stat_flag_exclusive_e);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
}
const f_status_t status = f_file_close(&id);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
if (errnos[i] == EBADF || errnos[i] == EINTR) {
assert_int_equal(id, 0);
{
const f_status_t status = f_file_close(0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_close_flush(&id);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
if (errnos[i] == EBADF || errnos[i] == EINTR) {
assert_int_equal(id, 0);
{
const f_status_t status = f_file_close_flush(0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
assert_int_equal(status, F_none);
}
else {
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
}
} // for
}
assert_int_equal(status, F_none);
}
else {
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
}
} // for
}
assert_int_equal(status, F_none);
}
else {
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
}
} // for
}
assert_int_equal(status, F_none);
}
else {
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
}
} // for
}
assert_int_equal(status, F_none);
}
else {
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
}
} // for
}
assert_int_equal(status, F_none);
}
else {
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
}
} // for
}
assert_int_equal(status, F_none);
}
else {
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
}
} // for
}
assert_int_equal(status, F_none);
}
else {
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
}
} // for
}
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
assert_int_equal(status, F_none);
}
else {
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
}
} // for
}
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_copy(path, path, mode, 0, f_file_stat_flag_exclusive_e);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
}
assert_int_equal(status, F_none);
}
else {
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
}
} // for
}
assert_int_equal(status, F_none);
}
else {
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
}
} // for
}
const f_status_t status = f_file_create(path, 0, F_false);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_create(path, 0, F_false);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
}
const f_status_t status = f_file_create_at(0, path, 0, F_false);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_create_at(0, path, 0, F_false);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
}
const f_status_t status = f_file_create_device(path, modes[j], 1, 1);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
} // for
}
const f_status_t status = f_file_create_device_at(0, path, modes[j], 1, 1);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
} // for
}
const f_status_t status = f_file_create_fifo(path, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
}
const f_status_t status = f_file_create_fifo_at(0, path, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
}
const f_status_t status = f_file_create_node(path, modes[j], 1);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
} // for
}
const f_status_t status = f_file_create_node_at(0, path, modes[j], 1);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
} // for
}
{
const f_status_t status = f_file_descriptor(0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
};
f_status_t statuss[] = {
- F_access_denied,
- F_buffer,
- F_parameter,
- F_loop,
- F_name,
+ F_status_set_error(F_access_denied),
+ F_status_set_error(F_buffer),
+ F_status_set_error(F_parameter),
+ F_status_set_error(F_loop),
+ F_status_set_error(F_name),
F_false,
- F_memory_not,
- F_directory_not,
- F_number_overflow,
- F_file_stat,
+ F_status_set_error(F_memory_not),
+ F_status_set_error(F_directory_not),
+ F_status_set_error(F_number_overflow),
+ F_status_set_error(F_file_stat),
};
for (int i = 0; i < 10; ++i) {
const f_status_t status = f_file_exists(path, F_false);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, statuss[i]);
} // for
for (int i = 0; i < 9; ++i) {
const f_status_t status = f_file_exists(path, F_true);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, statuss[i]);
} // for
}
};
f_status_t statuss[] = {
- F_access_denied,
- F_directory_descriptor,
- F_buffer,
- F_loop,
- F_name,
+ F_status_set_error(F_access_denied),
+ F_status_set_error(F_directory_descriptor),
+ F_status_set_error(F_buffer),
+ F_status_set_error(F_loop),
+ F_status_set_error(F_name),
F_false,
- F_memory_not,
- F_directory_not,
- F_number_overflow,
- F_file_stat,
+ F_status_set_error(F_memory_not),
+ F_status_set_error(F_directory_not),
+ F_status_set_error(F_number_overflow),
+ F_status_set_error(F_file_stat),
};
for (int i = 0; i < 10; ++i) {
const f_status_t status = f_file_exists_at(0, path, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, statuss[i]);
} // for
}
const f_status_t status = f_file_flush(0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_group_read(path, F_true, &id);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_group_read(f_string_empty_s, F_false, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_is(path, types[j], F_false);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
} // for
const f_status_t status = f_file_is(path, types[j], F_true);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
} // for
}
};
f_status_t statuss[] = {
- F_access_denied,
- F_directory_descriptor,
- F_buffer,
- F_loop,
- F_name,
+ F_status_set_error(F_access_denied),
+ F_status_set_error(F_directory_descriptor),
+ F_status_set_error(F_buffer),
+ F_status_set_error(F_loop),
+ F_status_set_error(F_name),
F_file_found_not,
- F_memory_not,
- F_directory_not,
- F_number_overflow,
- F_file_stat,
+ F_status_set_error(F_memory_not),
+ F_status_set_error(F_directory_not),
+ F_status_set_error(F_number_overflow),
+ F_status_set_error(F_file_stat),
};
f_status_t types[] = {
const f_status_t status = f_file_is_at(0, path, types[j], 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, statuss[i]);
} // for
} // for
}
const f_status_t status = f_file_link(path, path);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_link_at(0, path, path);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_link_hard(path, path);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_link_hard_at(0, 0, path, path, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_link_read(path, F_true, &buffer);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
f_string_dynamic_resize(0, &buffer);
{
const f_status_t status = f_file_link_read(f_string_empty_s, F_true, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
f_string_dynamic_resize(0, &buffer);
const f_status_t status = f_file_link_read_at(0, path, 0, &buffer);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
f_string_dynamic_resize(0, &buffer);
{
const f_status_t status = f_file_link_read_at(0, f_string_empty_s, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
f_string_dynamic_resize(0, &buffer);
{
const f_status_t status = f_file_mode_determine(mode_file, mode_change, 0, F_false, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_mode_from_string(codes[i], 0, &mode, &replace);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_mode_from_string(f_string_empty_s, 0, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
{
const f_status_t status = f_file_mode_from_string(f_string_empty_s, 0, &mode_file, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
{
const f_status_t status = f_file_mode_from_string(f_string_empty_s, 0, 0, &replace);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_mode_read(path, F_false, &mode);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_mode_read(f_string_empty_s, F_true, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_mode_read_at(0, path, 0, &mode);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_mode_read_at(0, f_string_empty_s, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_mode_set(path, mode);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
const f_status_t status = f_file_mode_set_at(0, path, mode);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_mode_to_mode(mode, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_file_name_base(f_string_empty_s, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_file_name_directory(f_string_empty_s, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_open(path, 0, &file);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_open(path, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_open_at(0, path, 0, &file);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_open_at(0, f_string_empty_s, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_owner_read(path, F_true, &id);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_owner_read(f_string_empty_s, F_false, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_read(file, &buffer);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
f_string_dynamic_resize(0, &buffer);
{
const f_status_t status = f_file_read(file, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
file.size_read = 0;
{
const f_status_t status = f_file_read(file, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
{
const f_status_t status = f_file_read(file, &string);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
f_string_dynamic_resize(0, &buffer);
const f_status_t status = f_file_read_block(file, &buffer);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
f_string_dynamic_resize(0, &buffer);
{
const f_status_t status = f_file_read_block(file, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
file.size_read = 0;
{
const f_status_t status = f_file_read_block(file, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
{
const f_status_t status = f_file_read_block(file, &string);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
f_string_dynamic_resize(0, &buffer);
const f_status_t status = f_file_read_until(file, 1, &buffer);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
f_string_dynamic_resize(0, &buffer);
{
const f_status_t status = f_file_read_until(file, 1, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
file.size_read = 0;
{
const f_status_t status = f_file_read_until(file, 1, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
{
const f_status_t status = f_file_read_until(file, 1, &string);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
f_string_dynamic_resize(0, &buffer);
const f_status_t status = f_file_remove(path);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
}
const f_status_t status = f_file_remove_at(0, path, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
}
const f_status_t status = f_file_rename(path, path);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
}
const f_status_t status = f_file_rename_at(0, 0, path, path, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
}
const f_status_t status = f_file_seek(0, 0, 0, &seeked);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_seek(0, -1, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
{
const f_status_t status = f_file_seek(0, -1, 0, &seeked);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
{
const f_status_t status = f_file_seek(0, 0, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_size(path, F_false, &size);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_size(f_string_empty_s, F_false, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_size_at(0, path, F_false, &size);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_size_at(0, f_string_empty_s, F_false, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_size_by_id(0, &size);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_size_by_id(0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_stat(path, F_false, &result);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_stat(f_string_empty_s, F_false, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_stat_at(0, path, F_false, &result);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_stat_at(0, f_string_empty_s, F_false, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_stat_by_id(0, &result);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_stat_by_id(0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_file_stream_close(F_false, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_stream_open(path, path, &file);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
for (int i = 0; i < 21; ++i) {
const f_status_t status = f_file_stream_open(path, f_string_empty_s, &file);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_stream_open(f_string_empty_s, f_string_empty_s, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_stream_open_descriptor(path, &file);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
for (int i = 0; i < 20; ++i) {
const f_status_t status = f_file_stream_open_descriptor(f_string_empty_s, &file);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_stream_open_descriptor(f_string_empty_s, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_stream_read(file, &buffer);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
f_string_dynamic_resize(0, &buffer);
{
const f_status_t status = f_file_stream_read(file, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
file.size_read = 0;
{
const f_status_t status = f_file_stream_read(file, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
{
const f_status_t status = f_file_stream_read(file, &string);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_stream_read_block(file, &buffer);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
f_string_dynamic_resize(0, &buffer);
{
const f_status_t status = f_file_stream_read_block(file, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
file.size_read = 0;
{
const f_status_t status = f_file_stream_read_block(file, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
{
const f_status_t status = f_file_stream_read_block(file, &string);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_stream_read_until(file, 1, &buffer);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
f_string_dynamic_resize(0, &buffer);
{
const f_status_t status = f_file_stream_read_until(file, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
file.size_read = 0;
{
const f_status_t status = f_file_stream_read_until(file, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
{
const f_status_t status = f_file_stream_read_until(file, 0, &string);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_stream_reopen(path, path, &file);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
for (int i = 0; i < 19; ++i) {
const f_status_t status = f_file_stream_reopen(path, f_string_empty_s, &file);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_stream_reopen(f_string_empty_s, f_string_empty_s, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_stream_write(file, path, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_stream_write(file, f_string_empty_s, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_stream_write_block(file, path, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_stream_write_block(file, f_string_empty_s, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_stream_write_range(file, path, range, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_stream_write_range(file, f_string_empty_s, range, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_stream_write_until(file, path, 1, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_stream_write_until(file, f_string_empty_s, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
assert_int_equal(status, F_none);
}
else {
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
}
} // for
}
const f_status_t status = f_file_touch(path, mode, F_true);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
}
assert_int_equal(status, F_none);
}
else {
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
}
} // for
}
const f_status_t status = f_file_touch_at(1, path, mode, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
}
const f_status_t status = f_file_type(path, F_false, &type);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_type(f_string_empty_s, F_true, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_type_at(0, path, 0, &mode);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_type_at(0, f_string_empty_s, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_file_umask_get(0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_write(file, path, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
for (int i = 0; i < 9; ++i) {
const f_status_t status = f_file_write(file, path, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_write(file, f_string_empty_s, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_write_block(file, path, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_write_block(file, f_string_empty_s, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_write_range(file, path, range, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_write_range(file, f_string_empty_s, range, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_file_write_until(file, path, 1, 0);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
}
{
const f_status_t status = f_file_write_until(file, f_string_empty_s, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_iki_content_is(f_string_empty_s, f_string_empty_s);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_iki_content_partial_is(f_string_empty_s, range, f_string_empty_s);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_iki_read(the_state, 0, &range, &iki);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
{
const f_status_t status = f_iki_read(the_state, &empty, 0, &iki);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
{
const f_status_t status = f_iki_read(the_state, &empty, &range, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
const f_status_t status = f_iki_read(the_state, &buffers[i], &range, &iki);
- assert_int_equal(F_status_set_fine(status), statuss[i]);
+ assert_int_equal(status, statuss[i]);
if (matches[i] == 2) {
const f_status_t status = f_iki_read(the_state, &buffers[i], &range, &iki);
{
const f_status_t status = f_limit_process(1, 1, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_memory_adjust(1, 4, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
{
const f_status_t status = f_memory_adjust(1, 4, 1, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_memory_delete(4, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_memory_destroy(4, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_memory_new(1, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_memory_new_aligned(1, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_memory_resize(1, 4, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
{
const f_status_t status = f_memory_resize(1, 4, 1, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_path_current(F_false, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_path_directory_cleanup(path, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_path_real(path, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
#endif // _di_level_0_parameter_checking_
{
const f_status_t status = f_serialize_from_simple(source, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
{
const f_status_t status = f_serialize_from_simple_get(source, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
{
const f_status_t status = f_serialize_from_simple_range(source, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
{
const f_status_t status = f_serialize_from_simple_select(source, 0, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
{
const f_status_t status = f_serialize_to_simple(source, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}
{
const f_status_t status = f_status_string_to(F_false, 0);
- assert_int_equal(F_status_set_fine(status), F_parameter);
+ assert_int_equal(status, F_status_set_error(F_parameter));
}
}