mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-29 20:56:21 +00:00
Fixed broken test
This commit is contained in:
@@ -28,6 +28,11 @@ void _stub_cons_show(const char * const msg, ...)
|
||||
{
|
||||
}
|
||||
|
||||
static
|
||||
void _stub_ui_roster(void)
|
||||
{
|
||||
}
|
||||
|
||||
static
|
||||
void _mock_cons_show_contact_online(PContact contact, Resource *resource, GDateTime *last_activity)
|
||||
{
|
||||
@@ -200,6 +205,12 @@ stub_ui_chat_win_contact_online(void)
|
||||
ui_chat_win_contact_online = _stub_ui_chat_win_contact_online;
|
||||
}
|
||||
|
||||
void
|
||||
stub_ui_roster(void)
|
||||
{
|
||||
ui_roster = _stub_ui_roster;
|
||||
}
|
||||
|
||||
void
|
||||
mock_cons_show_error(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user