1
0
forked from aniani/vim

patch 8.2.4228: no tests for clicking in the GUI tabline

Problem:    No tests for clicking in the GUI tabline.
Solution:   Add test functions to generate the events.  Add tests using the
            functions. (Yegappan Lakshmanan, closes #9638)
This commit is contained in:
Yegappan Lakshmanan
2022-01-27 13:16:59 +00:00
committed by Bram Moolenaar
parent e939f5ebba
commit b0ad2d92fd
11 changed files with 169 additions and 3 deletions

View File

@@ -2330,6 +2330,10 @@ static funcentry_T global_functions[] =
ret_void, f_test_gui_drop_files},
{"test_gui_mouse_event", 5, 5, 0, arg5_number,
ret_void, f_test_gui_mouse_event},
{"test_gui_tabline_event", 1, 1, 0, arg1_number,
ret_bool, f_test_gui_tabline_event},
{"test_gui_tabmenu_event", 2, 2, 0, arg2_number,
ret_void, f_test_gui_tabmenu_event},
{"test_ignore_error", 1, 1, FEARG_1, arg1_string,
ret_void, f_test_ignore_error},
{"test_null_blob", 0, 0, 0, NULL,