diff options
author | James Booth <boothj5@gmail.com> | 2015-06-12 23:55:28 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-06-12 23:55:28 +0100 |
commit | efb07f81871d716a0dc716b95f52e4096326cb4f (patch) | |
tree | 69d6ea945a5b69ea0bdd45f3669fce0af00f11ed /tests/unittests/test_cmd_otr.h | |
parent | 1cd23e0efca0339042b2c5d4f153d79b43041210 (diff) | |
parent | 68ed20f10d2fae67b052674a42ed98c2059aa16f (diff) | |
download | profani-tty-efb07f81871d716a0dc716b95f52e4096326cb4f.tar.gz |
Merge branch 'master' into openpgp
Diffstat (limited to 'tests/unittests/test_cmd_otr.h')
-rw-r--r-- | tests/unittests/test_cmd_otr.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/unittests/test_cmd_otr.h b/tests/unittests/test_cmd_otr.h new file mode 100644 index 00000000..8ef182e9 --- /dev/null +++ b/tests/unittests/test_cmd_otr.h @@ -0,0 +1,45 @@ +#include "config.h" + +#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); +void cmd_otr_log_shows_usage_when_invalid_subcommand(void **state); +void cmd_otr_log_on_enables_logging(void **state); +void cmd_otr_log_off_disables_logging(void **state); +void cmd_otr_redact_redacts_logging(void **state); +void cmd_otr_log_on_shows_warning_when_chlog_disabled(void **state); +void cmd_otr_log_redact_shows_warning_when_chlog_disabled(void **state); +void cmd_otr_warn_shows_usage_when_no_args(void **state); +void cmd_otr_warn_shows_usage_when_invalid_arg(void **state); +void cmd_otr_warn_on_enables_unencrypted_warning(void **state); +void cmd_otr_warn_off_disables_unencrypted_warning(void **state); +void cmd_otr_libver_shows_libotr_version(void **state); +void cmd_otr_gen_shows_message_when_not_connected(void **state); +void cmd_otr_gen_generates_key_for_connected_account(void **state); +void cmd_otr_gen_shows_message_when_disconnected(void **state); +void cmd_otr_gen_shows_message_when_undefined(void **state); +void cmd_otr_gen_shows_message_when_started(void **state); +void cmd_otr_gen_shows_message_when_connecting(void **state); +void cmd_otr_gen_shows_message_when_disconnecting(void **state); +void cmd_otr_myfp_shows_message_when_disconnected(void **state); +void cmd_otr_myfp_shows_message_when_undefined(void **state); +void cmd_otr_myfp_shows_message_when_started(void **state); +void cmd_otr_myfp_shows_message_when_connecting(void **state); +void cmd_otr_myfp_shows_message_when_disconnecting(void **state); +void cmd_otr_myfp_shows_message_when_no_key(void **state); +void cmd_otr_myfp_shows_my_fingerprint(void **state); +void cmd_otr_theirfp_shows_message_when_in_console(void **state); +void cmd_otr_theirfp_shows_message_when_in_muc(void **state); +void cmd_otr_theirfp_shows_message_when_in_private(void **state); +void cmd_otr_theirfp_shows_message_when_non_otr_chat_window(void **state); +void cmd_otr_theirfp_shows_fingerprint(void **state); +void cmd_otr_start_shows_message_when_in_console(void **state); +void cmd_otr_start_shows_message_when_in_muc(void **state); +void cmd_otr_start_shows_message_when_in_private(void **state); +void cmd_otr_start_shows_message_when_already_started(void **state); +void cmd_otr_start_shows_message_when_no_key(void **state); +void cmd_otr_start_sends_otr_query_message_to_current_recipeint(void **state); +#else +void cmd_otr_shows_message_when_otr_unsupported(void **state); +#endif |