mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-25 15: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)
|
||||
{
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include "ui/window.h"
|
||||
|
||||
void stub_cons_show(void);
|
||||
void stub_ui_roster(void);
|
||||
|
||||
void mock_cons_show(void);
|
||||
void expect_cons_show(char *output);
|
||||
|
||||
Reference in New Issue
Block a user