about summary refs log tree commit diff stats
path: root/tests/testsuite.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-01-10 01:06:52 +0000
committerJames Booth <boothj5@gmail.com>2015-01-10 01:06:52 +0000
commitab7bd6fe5f9c0a0abdc82426ab2eaaeb9416da28 (patch)
treea9421e1a827822a574ebe0bf03eca3b916e86bc6 /tests/testsuite.c
parent9bd2315d83d042156a5aa28227071756c46291b9 (diff)
downloadprofani-tty-ab7bd6fe5f9c0a0abdc82426ab2eaaeb9416da28.tar.gz
Added test to ensure chat sessions cleared on cmd_disconnect
Diffstat (limited to 'tests/testsuite.c')
-rw-r--r--tests/testsuite.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testsuite.c b/tests/testsuite.c
index e333c93f..ebc4c7ac 100644
--- a/tests/testsuite.c
+++ b/tests/testsuite.c
@@ -33,6 +33,7 @@
 #include "test_muc.h"
 #include "test_cmd_roster.h"
 #include "test_cmd_win.h"
+#include "test_cmd_disconnect.h"
 #include "test_form.h"
 
 int main(int argc, char* argv[]) {
@@ -609,6 +610,8 @@ int main(int argc, char* argv[]) {
         unit_test(remove_text_multi_value_does_nothing_when_doesnt_exist),
         unit_test(remove_text_multi_value_removes_when_one),
         unit_test(remove_text_multi_value_removes_when_many),
+
+        unit_test(clears_chat_sessions),
     };
 
     return run_tests(all_tests);