diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2022-01-27 13:16:59 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-27 13:16:59 +0000 |
commit | b0ad2d92fd19e673ddbbc66742bae3f71778efde (patch) | |
tree | 4029f2cb1c3d7b73cad2a52ede1586876949c774 /src/evalfunc.c | |
parent | e939f5ebbae8dd7825d62d84e0c9910fa1756a9c (diff) | |
download | vim-git-b0ad2d92fd19e673ddbbc66742bae3f71778efde.tar.gz |
patch 8.2.4228: no tests for clicking in the GUI tablinev8.2.4228
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)
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index 169f972c2..627ebb0b0 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -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, |