about summary refs log tree commit diff stats
path: root/tests/test_keyhandlers.h
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-01-20 23:02:04 +0000
committerJames Booth <boothj5@gmail.com>2015-01-20 23:02:04 +0000
commit25d31101bfb365c8224ef09f84a92794a89e975f (patch)
tree6f1b66974da22e26f8d7d1cbe3b9772ba25da863 /tests/test_keyhandlers.h
parent58239244bb703d770aa423d8fcea19522771ae0d (diff)
downloadprofani-tty-25d31101bfb365c8224ef09f84a92794a89e975f.tar.gz
Added key insert tests, extracted key_ctrl_left handler
Diffstat (limited to 'tests/test_keyhandlers.h')
-rw-r--r--tests/test_keyhandlers.h36
1 files changed, 30 insertions, 6 deletions
diff --git a/tests/test_keyhandlers.h b/tests/test_keyhandlers.h
index f70ee81e..4db5f340 100644
--- a/tests/test_keyhandlers.h
+++ b/tests/test_keyhandlers.h
@@ -1,16 +1,40 @@
 void append_non_wide_to_empty(void **state);
 void append_wide_to_empty(void **state);
-
 void append_non_wide_to_non_wide(void **state);
 void append_wide_to_non_wide(void **state);
-
 void append_non_wide_to_wide(void **state);
 void append_wide_to_wide(void **state);
-
-void append_no_wide_when_overrun(void **state);
+void append_non_wide_when_overrun(void **state);
 void append_wide_when_overrun(void **state);
-
 void insert_non_wide_to_non_wide(void **state);
 void insert_wide_to_non_wide(void **state);
 void insert_non_wide_to_wide(void **state);
-void insert_wide_to_wide(void **state);
\ No newline at end of file
+void insert_wide_to_wide(void **state);
+void insert_single_non_wide_when_pad_scrolled(void **state);
+void insert_many_non_wide_when_pad_scrolled(void **state);
+void insert_single_wide_when_pad_scrolled(void **state);
+void insert_many_wide_when_pad_scrolled(void **state);
+void insert_single_non_wide_last_column(void **state);
+void insert_many_non_wide_last_column(void **state);
+void insert_single_wide_last_column(void **state);
+void insert_many_wide_last_column(void **state);
+
+void ctrl_left_when_at_start(void **state);
+void ctrl_left_when_in_first_word(void **state);
+void ctrl_left_when_in_first_space(void **state);
+void ctrl_left_when_at_start_of_second_word(void **state);
+void ctrl_left_when_in_second_word(void **state);
+void ctrl_left_when_at_end_of_second_word(void **state);
+void ctrl_left_when_in_second_space(void **state);
+void ctrl_left_when_at_start_of_third_word(void **state);
+void ctrl_left_when_in_third_word(void **state);
+void ctrl_left_when_at_end_of_third_word(void **state);
+void ctrl_left_when_in_third_space(void **state);
+void ctrl_left_when_at_end(void **state);
+void ctrl_left_when_in_only_whitespace(void **state);
+void ctrl_left_when_start_whitespace_start_of_word(void **state);
+void ctrl_left_when_start_whitespace_middle_of_word(void **state);
+void ctrl_left_in_whitespace_between_words(void **state);
+void ctrl_left_in_whitespace_between_words_start_of_word(void **state);
+void ctrl_left_in_whitespace_between_words_middle_of_word(void **state);
+void ctrl_left_when_word_overrun_to_left(void **state);
\ No newline at end of file