Björn Linse
6744f48d88
tests: cleanup bufhl test
2018-02-06 20:16:38 +01:00
Jan Edmund Lazo
7311fb7cad
win: enable more functional tests
...
- plugin/shada_spec.lua: Use \r\n as Windows EOL for tests on
BufWriteCmd, FileWriteCmd, FileAppendCmd. Alternative is 'set
fileformat=unix'.
2018-01-06 17:47:00 +01:00
Björn Linse
dfe806ea8b
bufhl: support creating new groups
2017-10-19 11:59:32 +02:00
ZyX
0ac2afdec7
functests: Fix some ui/*_spec tests
2017-04-09 03:24:26 +03:00
ZyX
ddaa41dee4
functests: Fix ui/bufhl_spec
2017-04-09 03:24:26 +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
Justin M. Keyes
dc6cc4787c
api: Establish API naming convention. ( #5344 )
...
old name: new name:
--------------------------------------------------
nvim_name_to_color nvim_get_color_by_name
nvim_get_current_buffer nvim_get_current_buf
nvim_get_current_window nvim_get_current_win
nvim_get_buffers nvim_list_bufs
nvim_get_tabpages nvim_list_tabpages
nvim_get_windows nvim_list_wins
nvim_set_current_buffer nvim_set_current_buf
nvim_set_current_window nvim_set_current_win
nvim_change_directory nvim_set_current_dir
nvim_tabpage_get_window nvim_tabpage_get_win
nvim_tabpage_get_windows nvim_tabpage_list_wins
nvim_win_get_buffer nvim_win_get_buf
nvim_report_error nvim_err_writeln
Helped-by: Björn Linse <bjorn.linse@gmail.com >
Helped-by: ZyX <kp-pav@yandex.ru >
Helped-by: James McCoy <jamessan@jamessan.com >
2016-09-17 06:30:36 +02:00
Rui Abreu Ferreira
39c628d031
Mark some functional tests as pending in Windows
2016-08-26 08:21:41 +01:00
Björn Linse
57ac9b0934
api: handle null string in buffer_add_highlight
2016-08-17 09:34:01 +02:00
Björn Linse
35b47890dd
tests: don't ignore highlights in bufhl_spec
2016-08-14 21:53:02 +02:00
Björn Linse
9c4a94f964
tests: remove deprecated hl_colors
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
9a3b7fa906
Tests: fix according to lualint
2016-02-24 01:42:38 +01:00
Björn Linse
06b9d2a6f2
bufhl: add tests for adding and clearing highlights
2016-02-23 21:29:01 +01:00