mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-25 17:56:22 +00:00
Added stubbed implementations
This commit is contained in:
@@ -7,19 +7,17 @@
|
||||
#include <glib.h>
|
||||
|
||||
#include "xmpp/xmpp.h"
|
||||
#include "xmpp/mock_xmpp.h"
|
||||
#include "xmpp/stub_xmpp.h"
|
||||
|
||||
#include "ui/ui.h"
|
||||
#include "ui/mock_ui.h"
|
||||
#include "ui/stub_ui.h"
|
||||
|
||||
#include "config/accounts.h"
|
||||
#include "config/mock_accounts.h"
|
||||
|
||||
#include "command/commands.h"
|
||||
|
||||
void cmd_account_shows_usage_when_not_connected_and_no_args(void **state)
|
||||
{
|
||||
mock_cons_show();
|
||||
CommandHelp *help = malloc(sizeof(CommandHelp));
|
||||
help->usage = "some usage";
|
||||
gchar *args[] = { NULL };
|
||||
@@ -34,6 +32,7 @@ void cmd_account_shows_usage_when_not_connected_and_no_args(void **state)
|
||||
free(help);
|
||||
}
|
||||
|
||||
/*
|
||||
void cmd_account_shows_account_when_connected_and_no_args(void **state)
|
||||
{
|
||||
mock_cons_show_account();
|
||||
@@ -1138,3 +1137,4 @@ void cmd_account_clear_shows_message_when_invalid_property(void **state)
|
||||
free(help);
|
||||
|
||||
}
|
||||
*/
|
||||
Reference in New Issue
Block a user