From 9b177a9e0156bae0a7a01cb15b3afc982dd2582e Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 31 Mar 2016 21:05:02 +0100 Subject: Removed #AX_PREFIX_CONFIG_H --- tests/unittests/test_cmd_account.c | 2 +- tests/unittests/test_cmd_otr.c | 6 +++--- tests/unittests/test_cmd_otr.h | 4 ++-- tests/unittests/test_cmd_pgp.c | 4 ++-- tests/unittests/test_cmd_pgp.h | 4 ++-- tests/unittests/ui/stub_ui.c | 6 +++--- tests/unittests/unittests.c | 8 ++++---- 7 files changed, 17 insertions(+), 17 deletions(-) (limited to 'tests/unittests') diff --git a/tests/unittests/test_cmd_account.c b/tests/unittests/test_cmd_account.c index 6eecaac9..4b49867f 100644 --- a/tests/unittests/test_cmd_account.c +++ b/tests/unittests/test_cmd_account.c @@ -798,7 +798,7 @@ void cmd_account_set_priority_updates_presence_when_account_connected_with_prese will_return(jabber_get_account_name, "a_account"); -#ifdef PROF_HAVE_LIBGPGME +#ifdef HAVE_LIBGPGME ProfAccount *account = account_new("a_account", "a_jid", NULL, NULL, TRUE, NULL, 5222, "a_resource", NULL, NULL, 10, 10, 10, 10, 10, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); diff --git a/tests/unittests/test_cmd_otr.c b/tests/unittests/test_cmd_otr.c index fbfa6cb2..fdadcb0e 100644 --- a/tests/unittests/test_cmd_otr.c +++ b/tests/unittests/test_cmd_otr.c @@ -6,9 +6,9 @@ #include #include -#include "prof_config.h" +#include "config.h" -#ifdef PROF_HAVE_LIBOTR +#ifdef HAVE_LIBOTR #include #include "otr/otr.h" #endif @@ -24,7 +24,7 @@ #define CMD_OTR "/otr" -#ifdef PROF_HAVE_LIBOTR +#ifdef HAVE_LIBOTR void cmd_otr_shows_usage_when_no_args(void **state) { gchar *args[] = { NULL }; diff --git a/tests/unittests/test_cmd_otr.h b/tests/unittests/test_cmd_otr.h index 06367041..469d7c54 100644 --- a/tests/unittests/test_cmd_otr.h +++ b/tests/unittests/test_cmd_otr.h @@ -1,6 +1,6 @@ -#include "prof_config.h" +#include "config.h" -#ifdef PROF_HAVE_LIBOTR +#ifdef HAVE_LIBOTR void cmd_otr_shows_usage_when_no_args(void **state); void cmd_otr_shows_usage_when_invalid_subcommand(void **state); void cmd_otr_log_shows_usage_when_no_args(void **state); diff --git a/tests/unittests/test_cmd_pgp.c b/tests/unittests/test_cmd_pgp.c index 79d617ae..b1d0ab52 100644 --- a/tests/unittests/test_cmd_pgp.c +++ b/tests/unittests/test_cmd_pgp.c @@ -6,7 +6,7 @@ #include #include -#include "prof_config.h" +#include "config.h" #include "command/commands.h" @@ -14,7 +14,7 @@ #define CMD_PGP "/pgp" -#ifdef PROF_HAVE_LIBGPGME +#ifdef HAVE_LIBGPGME void cmd_pgp_shows_usage_when_no_args(void **state) { gchar *args[] = { NULL }; diff --git a/tests/unittests/test_cmd_pgp.h b/tests/unittests/test_cmd_pgp.h index e6f38192..fcb24500 100644 --- a/tests/unittests/test_cmd_pgp.h +++ b/tests/unittests/test_cmd_pgp.h @@ -1,6 +1,6 @@ -#include "prof_config.h" +#include "config.h" -#ifdef PROF_HAVE_LIBGPGME +#ifdef HAVE_LIBGPGME void cmd_pgp_shows_usage_when_no_args(void **state); void cmd_pgp_start_shows_message_when_disconnected(void **state); void cmd_pgp_start_shows_message_when_disconnecting(void **state); diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c index 6ebf5be5..4881d831 100644 --- a/tests/unittests/ui/stub_ui.c +++ b/tests/unittests/ui/stub_ui.c @@ -1,4 +1,4 @@ -#include "prof_config.h" +#include "config.h" #include #include @@ -8,7 +8,7 @@ #include "ui/window.h" #include "ui/ui.h" -#ifdef PROF_HAVE_LIBOTR +#ifdef HAVE_LIBOTR #include "otr/otr.h" #endif @@ -67,7 +67,7 @@ void ui_resize(void) {} void ui_focus_win(ProfWin *win) {} -#ifdef PROF_HAVE_LIBOTR +#ifdef HAVE_LIBOTR void chatwin_otr_secured(ProfChatWin *chatwin, gboolean trusted) {} void chatwin_otr_unsecured(ProfChatWin *chatwin) {} void chatwin_otr_trust(ProfChatWin *chatwin) {} diff --git a/tests/unittests/unittests.c b/tests/unittests/unittests.c index 61143ce0..6b26cb29 100644 --- a/tests/unittests/unittests.c +++ b/tests/unittests/unittests.c @@ -7,7 +7,7 @@ #include #include -#include "prof_config.h" +#include "config.h" #include "chat_session.h" #include "helpers.h" #include "test_autocomplete.h" @@ -355,7 +355,7 @@ int main(int argc, char* argv[]) { unit_test(cmd_account_set_eval_password_when_password_set), unit_test(cmd_account_set_muc_sets_muc), unit_test(cmd_account_set_nick_sets_nick), -#ifdef PROF_HAVE_LIBOTR +#ifdef HAVE_LIBOTR unit_test(cmd_account_show_message_for_missing_otr_policy), unit_test(cmd_account_show_message_for_invalid_otr_policy), unit_test(cmd_account_set_otr_sets_otr), @@ -504,7 +504,7 @@ int main(int argc, char* argv[]) { unit_test(cmd_bookmark_remove_removes_bookmark), unit_test(cmd_bookmark_remove_shows_message_when_no_bookmark), -#ifdef PROF_HAVE_LIBOTR +#ifdef HAVE_LIBOTR unit_test(cmd_otr_shows_usage_when_no_args), unit_test(cmd_otr_shows_usage_when_invalid_subcommand), unit_test(cmd_otr_log_shows_usage_when_no_args), @@ -556,7 +556,7 @@ int main(int argc, char* argv[]) { unit_test(cmd_otr_shows_message_when_otr_unsupported), #endif -#ifdef PROF_HAVE_LIBGPGME +#ifdef HAVE_LIBGPGME unit_test(cmd_pgp_shows_usage_when_no_args), unit_test(cmd_pgp_start_shows_message_when_disconnected), unit_test(cmd_pgp_start_shows_message_when_disconnecting), -- cgit 1.4.1-2-gfad0 #n79'>79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101