mirror of
https://github.com/vim/vim.git
synced 2025-07-24 10:45:12 -04:00
patch 8.2.4525: some GUI tests don't work on Athena
Problem: Some GUI tests don't work on Athena. Solution: Skip tests that won't work. (Yegappan Lakshmanan, closes #9902)
This commit is contained in:
parent
d8f8629b1b
commit
08238045e7
@ -1364,6 +1364,10 @@ endfunc
|
|||||||
|
|
||||||
" Test for generating a GUI tabline event to select a tab page
|
" Test for generating a GUI tabline event to select a tab page
|
||||||
func Test_gui_tabline_event()
|
func Test_gui_tabline_event()
|
||||||
|
if has('gui_athena')
|
||||||
|
throw 'Skipped: tabline is not supported in Athena GUI'
|
||||||
|
endif
|
||||||
|
|
||||||
%bw!
|
%bw!
|
||||||
edit Xfile1
|
edit Xfile1
|
||||||
tabedit Xfile2
|
tabedit Xfile2
|
||||||
@ -1391,6 +1395,9 @@ endfunc
|
|||||||
|
|
||||||
" Test for generating a GUI tabline menu event to execute an action
|
" Test for generating a GUI tabline menu event to execute an action
|
||||||
func Test_gui_tabmenu_event()
|
func Test_gui_tabmenu_event()
|
||||||
|
if has('gui_athena')
|
||||||
|
throw 'Skipped: tabmenu is not supported in Athena GUI'
|
||||||
|
endif
|
||||||
%bw!
|
%bw!
|
||||||
|
|
||||||
" Try to close the last tab page
|
" Try to close the last tab page
|
||||||
@ -1427,6 +1434,11 @@ endfunc
|
|||||||
|
|
||||||
" Test for find/replace text dialog event
|
" Test for find/replace text dialog event
|
||||||
func Test_gui_findrepl()
|
func Test_gui_findrepl()
|
||||||
|
" Find/Replace dialog is supported only on GTK, Motif and MS-Windows.
|
||||||
|
if !has('gui_gtk') && !has('gui_motif') && !has('gui_win32')
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
|
||||||
new
|
new
|
||||||
call setline(1, ['one two one', 'Twoo One two oneo'])
|
call setline(1, ['one two one', 'Twoo One two oneo'])
|
||||||
|
|
||||||
|
@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
4525,
|
||||||
/**/
|
/**/
|
||||||
4524,
|
4524,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user