From 2490f5b417a13639771211a7862bab88a6a5195e Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 15 Dec 2013 16:10:32 +0000 Subject: Seperated command functions into module --- tests/test_command.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/test_command.c b/tests/test_command.c index 5469cd44..6dc51ecb 100644 --- a/tests/test_command.c +++ b/tests/test_command.c @@ -7,7 +7,7 @@ #include "xmpp/xmpp.h" #include "ui/ui.h" -#include "command/command.h" +#include "command/commands.h" static void test_with_connection_status(jabber_conn_status_t status) { @@ -16,7 +16,7 @@ static void test_with_connection_status(jabber_conn_status_t status) will_return(jabber_get_connection_status, status); expect_string(cons_show, msg, "You are not currently connected."); - gboolean result = _cmd_rooms(NULL, *help); + gboolean result = cmd_rooms(NULL, *help); assert_true(result); free(help); @@ -59,7 +59,7 @@ void cmd_rooms_uses_account_default_when_no_arg(void **state) will_return(accounts_get_account, account); expect_string(iq_room_list_request, conferencejid, "default_conf_server"); - gboolean result = _cmd_rooms(args, *help); + gboolean result = cmd_rooms(args, *help); assert_true(result); @@ -75,7 +75,7 @@ void cmd_arg_used_when_passed(void **state) will_return(jabber_get_connection_status, JABBER_CONNECTED); expect_string(iq_room_list_request, conferencejid, "conf_server_arg"); - gboolean result = _cmd_rooms(args, *help); + gboolean result = cmd_rooms(args, *help); assert_true(result); -- cgit 1.4.1-2-gfad0