diff options
author | James Booth <boothj5@gmail.com> | 2013-12-16 01:04:25 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-12-16 01:04:25 +0000 |
commit | 52f6ad6fe19149a351fba673aa378508cd7c0558 (patch) | |
tree | 4822fae4e243d2b4e27e4aeb78d65cdf09596aa3 /tests/test_cmd_account.h | |
parent | 52d15242abe9add6eef0accef8d91b213e826171 (diff) | |
download | profani-tty-52f6ad6fe19149a351fba673aa378508cd7c0558.tar.gz |
Added validation tests for "/account set" and "/account set jid"
Diffstat (limited to 'tests/test_cmd_account.h')
-rw-r--r-- | tests/test_cmd_account.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_cmd_account.h b/tests/test_cmd_account.h index ca72af36..62783609 100644 --- a/tests/test_cmd_account.h +++ b/tests/test_cmd_account.h @@ -20,3 +20,11 @@ void cmd_account_rename_shows_usage_when_one_arg(void **state); void cmd_account_rename_renames_account(void **state); void cmd_account_rename_shows_message_when_renamed(void **state); void cmd_account_rename_shows_message_when_not_renamed(void **state); +void cmd_account_set_shows_usage_when_no_args(void **state); +void cmd_account_set_shows_usage_when_one_arg(void **state); +void cmd_account_set_shows_usage_when_two_args(void **state); +void cmd_account_set_checks_account_exists(void **state); +void cmd_account_set_shows_message_when_account_doesnt_exist(void **state); +void cmd_account_set_jid_shows_message_for_malformed_jid(void **state); +void cmd_account_set_jid_sets_barejid(void **state); +void cmd_account_set_jid_sets_resource(void **state); |