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-20 00:09:47 +0000
committerJames Booth <boothj5@gmail.com>2015-01-20 00:09:47 +0000
commit2ed78fe5afaa0197de65a0edbf2423b5d7fe9792 (patch)
tree5384f57520420ded396496aef313d8f2b7a1e1d3 /tests/testsuite.c
parent0e8092afef2e6172fc1fc27cd5a7e4f216456095 (diff)
downloadprofani-tty-2ed78fe5afaa0197de65a0edbf2423b5d7fe9792.tar.gz
Extracted keyhandler for printable characters
Diffstat (limited to 'tests/testsuite.c')
-rw-r--r--tests/testsuite.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/testsuite.c b/tests/testsuite.c
index cf511c59..4964d99d 100644
--- a/tests/testsuite.c
+++ b/tests/testsuite.c
@@ -35,6 +35,7 @@
 #include "test_cmd_win.h"
 #include "test_cmd_disconnect.h"
 #include "test_form.h"
+#include "test_keyhandlers.h"
 
 int main(int argc, char* argv[]) {
     const UnitTest all_tests[] = {
@@ -622,6 +623,15 @@ int main(int argc, char* argv[]) {
         unit_test(remove_text_multi_value_removes_when_many),
 
         unit_test(clears_chat_sessions),
+
+        unit_test(append_non_wide_to_empty),
+        unit_test(append_wide_to_empty),
+        unit_test(append_non_wide_to_non_wide),
+        unit_test(append_wide_to_non_wide),
+        unit_test(append_non_wide_to_wide),
+        unit_test(append_wide_to_wide),
+        unit_test(append_no_wide_when_overrun),
+        unit_test(append_wide_when_overrun),
     };
 
     return run_tests(all_tests);