geekodour
1e71978cf0
events: VimSuspend, VimResume #8280
...
closes #3648
ref #5959
2018-04-15 15:05:02 +02:00
Justin M. Keyes
fa6415f13f
test/API: validate channel arg ( #8245 )
2018-04-08 03:01:15 +02:00
Björn Linse
98e7112390
msg: do not scroll entire screen ( #8088 )
2018-03-31 11:12:27 +02:00
Matthieu Coudron
384a39479a
'fillchars': fix defaults logic; handle ambiwidth=double #7986
...
Update tests.
2018-02-23 00:48:35 +01:00
Justin M. Keyes
6f7754dfa0
test: avoid extra clear() calls
...
also: various other cleanup
2017-10-02 01:46:16 +02:00
Ignas Anikevicius
2b133101cf
win: vim_FullName(): force backslashes #7287
...
- Replace obvious cases of '/' literal with PATHSEP. (There are still
some remaining cases that need closer inspection.)
- Fixup tests: ui/screen_basic
closes #7117
ref https://github.com/neovim/neovim/issues/2471#issuecomment-271193714
2017-10-02 00:48:30 +02:00
ZyX
04e7eb1e29
tests: Add tests for vim_strchr
2017-05-09 14:41:23 +03:00
Justin M. Keyes
c8e1af93de
api: nvim_ui_attach(): Flatten ext_* options.
2017-04-26 03:41:24 +02:00
Justin M. Keyes
00843902d3
api/ui: externalize tabline
...
- Work with a bool[] array parallel to the UIWidget enum.
- Rename some functions.
- Documentation.
2017-04-26 03:41:24 +02:00
Björn Linse
2c5751b9b2
ui: add tests for new cursor shape modes
2017-04-21 12:32:38 +02:00
ZyX
88ea362c70
functests: Fix ui/screen_basic_spec
2017-04-09 03:24:23 +03:00
ZyX
65fb622000
functests: Replace execute with either command or feed_command
...
Hope this will make people using feed_command less likely: this hides bugs.
Already found at least two:
1. msgpackparse() will show internal error: hash_add() in case of duplicate
keys, though it will still work correctly. Currently silenced.
2. ttimeoutlen was spelled incorrectly, resulting in option not being set when
expected. Test was still functioning somehow though. Currently fixed.
2017-04-09 03:24:08 +03:00
Björn Linse
3b558e5d7b
tests: short form screen:except(func)
expects condition only. #6440
...
- Use this to properly test cursor shape events.
- tests: update screen_basic_spec to use `screen:expect` short form.
Clearer than using `screen:wait` directy.
2017-04-06 01:06:39 +02:00
Justin M. Keyes
a90beeadbb
defaults: 'showcmd', 'belloff', 'ruler'
...
- Vim "unix default" of 'noshowcmd' is serving few users. And it's
inconsistent.
- 'ruler' and 'belloff=all' improve the out-of-the-box experience.
- Continue to use 'noshowcmd' and 'noruler' by default in the functional
tests to keep them fast.
TODO: Add a "disable slow stuff" command or mapping to address the
use-case of a very slow terminal connection.
2017-03-16 18:44:10 +01:00
James McCoy
75e6af44e0
Merge pull request #5963 from jamessan/screen-expect-clarity
...
test: screen: Assert expected row count matches configured screen height
2017-01-18 15:16:07 -05:00
Justin M. Keyes
2ee60e5b28
test: nvim_ui_attach() with huge dimensions. ( #5974 )
...
Also:
- Attempt to constrain wall-of-text in screen.lua.
- Windows: Enable screen_basic_spec.lua
Closes #2180
2017-01-18 20:28:35 +01:00
James McCoy
e2b031a342
test: screen_basic: Re-enable min width/height test
2017-01-18 11:24:39 -05:00
chemzqm
3cf4b14e96
add cmdline mode to modechange of RPC and tests
...
use set_cursor_shape_bar for cmdline mode
fix test of screen_basic_spec.lua & screen.lua
comment fix
2016-11-30 22:20:06 +08:00
Björn Linse
4b95bb582d
ui: add tests for ui_mode_change
...
Also fix snapshot_util() to work even if default_attr_ids is not a
proper lua array.
2016-11-25 11:37:23 +01:00
Rui Abreu Ferreira
39c628d031
Mark some functional tests as pending in Windows
2016-08-26 08:21:41 +01:00
Björn Linse
0a882b4818
tests: don't ignore highlights in screen_basic_spec
2016-08-14 21:53:02 +02:00
ZyX
ff470bb853
functests: Check logs in lua code
...
It is otherwise impossible to determine which test failed sanitizer/valgrind
check. test/functional/helpers.lua module return was changed so that tests which
do not provide after_each function to get new check will automatically fail.
2016-06-10 21:50:49 +03:00
Marco Hinz
4a69e55f39
test/functional: clean up according to luacheck (part 1)
2015-11-23 13:57:21 +01:00
John Szakmeister
625f8ec07f
Disable a broken functional test.
...
No one has taken a real interest in fixing this, so let's disable it for
now. The issue crops up most on the QB OS X node, but it has
periodically occurred under other nodes too.
2015-10-01 07:01:13 -04:00
Felipe Morales
45121a267f
defaults: set 'laststatus' to 2. #2876
2015-08-24 00:48:32 -04:00
Björn Linse
7a6bf3f418
Add ui test for default title (with/without filename) #3091
2015-07-23 22:35:42 +02:00
Thiago de Arruda
e85c9966b8
test: Increase determinism in screen_basic_spec tests
2015-07-16 23:08:09 -03:00
Michael Reed
98b3dc0571
vim-patch:7.4.659 + test
...
Problem: When 'ruler' is set the preferred column is reset. (Issue 339)
Solution: Don't set curswant when redrawing the status lines.
https://code.google.com/p/vim/source/detail?r=v7-4-659
Helped-by: David Bürgin <676c7473@gmail.com >
Based on #2347 by @pvinis
2015-05-01 16:45:02 -04:00
Thiago de Arruda
3a20a9847e
test/ui: Fix indeterminism in screen_basic_spec
2015-04-03 09:05:04 -03:00
Björn Linse
cf88f33eec
tests/ui: cleanup ignores in screen_basic_spec
2015-03-19 23:09:56 +01:00
Björn Linse
a7aeda8c7a
tests/ui: Also test character at cursor
2015-03-09 08:01:49 -03:00
Björn Linse
a9048896b3
tests/ui: strict mode
2015-01-23 07:47:48 -03:00
Thiago de Arruda
dc18fa256f
test: Add more functional test to cover new code
...
- emulate gui_running and terminal colors
- scrolling/clearing regions
- mouse wheel scrolling
- setting icon/title
- :stop/:suspend
- screen resize
2015-01-15 09:01:25 -03:00
Thiago de Arruda
1192fbd08a
test: Add screen test facility
...
- Add screen.lua which implements a remote screen to verify screen state by
tests under functional/ui
- Add some basic screen/highlight tests
2014-12-09 08:36:16 -03:00