mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-28 05:16:21 +00:00
Added form tests
This commit is contained in:
@@ -215,73 +215,4 @@ void roster_send_add_new(const char * const barejid, const char * const name)
|
||||
void roster_send_remove(const char * const barejid)
|
||||
{
|
||||
check_expected(barejid);
|
||||
}
|
||||
|
||||
void form_destroy(DataForm *form) {}
|
||||
|
||||
char * form_get_form_type_field(DataForm *form)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void form_set_value(DataForm *form, const char * const tag, char *value) {}
|
||||
|
||||
gboolean form_add_unique_value(DataForm *form, const char * const tag, char *value)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
void form_add_value(DataForm *form, const char * const tag, char *value) {}
|
||||
|
||||
gboolean form_remove_value(DataForm *form, const char * const tag, char *value)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
gboolean form_remove_text_multi_value(DataForm *form, const char * const tag, int index)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
gboolean form_tag_exists(DataForm *form, const char * const tag)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
form_field_type_t form_get_field_type(DataForm *form, const char * const tag)
|
||||
{
|
||||
return FIELD_BOOLEAN;
|
||||
}
|
||||
|
||||
gboolean form_field_contains_option(DataForm *form, const char * const tag, char *value)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
int form_get_value_count(DataForm *form, const char * const tag)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
FormField* form_get_field_by_tag(DataForm *form, const char * const tag)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Autocomplete form_get_value_ac(DataForm *form, const char * const tag)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void form_reset_autocompleters(DataForm *form) {}
|
||||
|
||||
GSList * form_get_non_form_type_fields_sorted(DataForm *form)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
GSList * form_get_field_values_sorted(FormField *field)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user