Added mock log module

This commit is contained in:
James Booth
2013-12-15 19:56:48 +00:00
parent 079ea5304b
commit 7842b0d1fc
6 changed files with 127 additions and 2 deletions

View File

@@ -222,7 +222,16 @@ void cons_show_account(ProfAccount *account) {}
void cons_debug(const char * const msg, ...) {}
void cons_show_time(void) {}
void cons_show_word(const char * const word) {}
void cons_show_error(const char * const cmd, ...) {}
void cons_show_error(const char * const cmd, ...)
{
va_list args;
va_start(args, cmd);
vsnprintf(output, sizeof(output), cmd, args);
check_expected(output);
va_end(args);
}
void cons_highlight_show(const char * const cmd) {}
void cons_show_contacts(GSList * list) {}
void cons_show_roster(GSList * list) {}