macro_f_string_dynamic_t_clear(account.password) \
macro_f_string_dynamic_t_clear(account.shell) \
}
-
- #define macro_f_account_t_delete_simple(accounts) f_account_delete(&accounts);
- #define macro_f_account_t_destroy_simple(accounts) f_account_destroy(&accounts);
#endif // _di_f_account_t_
/**
assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
- macro_f_account_t_delete_simple(account);
+ f_account_delete(&account);
}
void test__f_account_by_id__not_found(void **state) {
assert_int_equal(status, F_exist_not);
}
- macro_f_account_t_delete_simple(account);
+ f_account_delete(&account);
}
void test__f_account_by_id__parameter_checking(void **state) {
assert_string_equal(account.shell.string, password.pw_shell);
}
- macro_f_account_t_delete_simple(account);
+ f_account_delete(&account);
}
#ifdef __cplusplus
assert_int_equal(status, F_status_set_error(statuss[i]));
} // for
- macro_f_account_t_delete_simple(account);
+ f_account_delete(&account);
}
void test__f_account_by_name__not_found(void **state) {
assert_int_equal(status, F_exist_not);
}
- macro_f_account_t_delete_simple(account);
+ f_account_delete(&account);
}
void test__f_account_by_name__parameter_checking(void **state) {
assert_string_equal(account.shell.string, password.pw_shell);
}
- macro_f_account_t_delete_simple(account);
+ f_account_delete(&account);
}
#ifdef __cplusplus