about summary refs log tree commit diff stats
path: root/tests/testsuite.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-12-15 22:28:22 +0000
committerJames Booth <boothj5@gmail.com>2013-12-15 22:28:22 +0000
commit683da12c3aae53bb02ede52c924300580be9cc80 (patch)
tree0f047bd4d4d382a713c95584a806a5151da4036e /tests/testsuite.c
parent6d75ebb8e9ebd292a57adb54ff22cac52b463dbd (diff)
downloadprofani-tty-683da12c3aae53bb02ede52c924300580be9cc80.tar.gz
Added cmd_account test
Diffstat (limited to 'tests/testsuite.c')
-rw-r--r--tests/testsuite.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/testsuite.c b/tests/testsuite.c
index ae4ab61e..73c54014 100644
--- a/tests/testsuite.c
+++ b/tests/testsuite.c
@@ -6,6 +6,7 @@
 #include "test_autocomplete.h"
 #include "test_common.h"
 #include "test_cmd_connect.h"
+#include "test_cmd_account.h"
 #include "test_cmd_rooms.h"
 #include "test_history.h"
 #include "test_jid.h"
@@ -27,6 +28,9 @@ int main(int argc, char* argv[]) {
         unit_test(cmd_connect_connects_with_account),
         unit_test(cmd_connect_frees_account_after_connecting),
 
+        unit_test(cmd_account_shows_usage_when_not_connected_and_no_args),
+        unit_test(cmd_account_shows_account_when_connected_and_no_args),
+
         unit_test(cmd_rooms_shows_message_when_disconnected),
         unit_test(cmd_rooms_shows_message_when_disconnecting),
         unit_test(cmd_rooms_shows_message_when_connecting),