comparison src/testdir/test_gui_init.vim @ 11119:d8a550329a97 v8.0.0447

patch 8.0.0447: getting font name does not work on X11 commit https://github.com/vim/vim/commit/8774845ce1a7def122ea07c057a79417f3be3d17 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 12 17:10:33 2017 +0100 patch 8.0.0447: getting font name does not work on X11 Problem: Getting font name does not work on X11. Solution: Implement gui_mch_get_fontname() for X11. Add more GUI tests. (Kazunobu Kuriyama)
author Christian Brabandt <cb@256bit.org>
date Sun, 12 Mar 2017 17:15:04 +0100
parents 4df1647531a6
children d2c20ec4b95a
comparison
equal deleted inserted replaced
11118:9204ebc311d4 11119:d8a550329a97
34 34
35 if !empty(skipped) 35 if !empty(skipped)
36 throw skipped 36 throw skipped
37 endif 37 endif
38 endfunc 38 endfunc
39
40 func Test_set_guioptions_for_M()
41 sleep 200ms
42 " Check if the 'M' option is included.
43 call assert_match('.*M.*', &guioptions)
44 endfunc
45
46 func Test_set_guioptions_for_p()
47 let skipped = ''
48
49 if !g:x11_based_gui
50 let skipped = g:not_supported . '''p'' of guioptions'
51 else
52 sleep 200ms
53 " Check if the 'p' option is included.
54 call assert_match('.*p.*', &guioptions)
55 endif
56
57 if !empty(skipped)
58 throw skipped
59 endif
60 endfunc