diff options
author | James Booth <boothj5@gmail.com> | 2014-01-05 00:35:48 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-01-05 00:35:48 +0000 |
commit | d15751649c5bc18f61d13b9db35a385cf7077538 (patch) | |
tree | d2af83b6bcb55612d3475f9e93471bb2203312fc /tests/testsuite.c | |
parent | c7cc27351fc1345c535c4f77ab0e724ec8db142d (diff) | |
download | profani-tty-d15751649c5bc18f61d13b9db35a385cf7077538.tar.gz |
Added tests for contact type
Diffstat (limited to 'tests/testsuite.c')
-rw-r--r-- | tests/testsuite.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/testsuite.c b/tests/testsuite.c index c0e98b23..71f2fdf9 100644 --- a/tests/testsuite.c +++ b/tests/testsuite.c @@ -5,6 +5,7 @@ #include "test_autocomplete.h" #include "test_common.h" +#include "test_contact.h" #include "test_cmd_connect.h" #include "test_cmd_account.h" #include "test_cmd_rooms.h" @@ -257,6 +258,13 @@ int main(int argc, char* argv[]) { unit_test(cmd_sub_shows_message_when_not_connected), unit_test(cmd_sub_shows_usage_when_no_arg), + unit_test(contact_in_group), + unit_test(contact_not_in_group), + unit_test(contact_name_when_name_exists), + unit_test(contact_jid_when_name_not_exists), + unit_test(contact_string_when_name_exists), + unit_test(contact_string_when_name_not_exists), + unit_test(contact_string_when_default_resource), }; return run_tests(tests); } |