aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
* | test: api_specJustin M. Keyes2016-09-22
|/ | | | | This is an (unsuccessful) attempt to cover #4163. It covers other behavior, so it's worth keeping.
* test: legacy/012_directory_spec: Also use dot-prefix on Windows.Justin M. Keyes2016-09-20
| | | | | win32 handles dot-prefixed files just fine; Nvim-on-Windows does not perpetuate the Vim-on-Windows behavior of avoiding dot-prefixed files.
* test/helpers.rmdir(): lfs.rmdir() instead of os.remove()Justin M. Keyes2016-09-20
| | | | | | | | | os.remove() fails on empty directories in non-POSIX systems. https://github.com/keplerproject/luafilesystem/issues/4 lfs.rmdir() "usually" works, so use it instead. Closes #5236
* test/helpers.rmdir(): Retry once after a delay.Justin M. Keyes2016-09-20
| | | | | Attempt to avoid "Permission denied" on Windows potentially caused by open filepath handle in sibling process.
* tests: migrate legacy test 12. #4196Lucas Hoffmann2016-09-18
|
* api: Establish API naming convention. (#5344)Justin M. Keyes2016-09-17
| | | | | | | | | | | | | | | | | | | | | 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>
* test: synIDattr returns empty, not -1Stéphane Campinas2016-09-16
| | | | | - Behavior changed in 7.4.1547 - Also removed N/A specs: nvim does not support ":hi term=..."
* syntax.c: Support bg/fg special color-names. #5319Kerem Cakirer2016-09-16
| | | | Refresh colors if changing Normal group
* api: make nvim[_obj]_set_var and _del_var not return the old valueBjörn Linse2016-09-15
|
* Restore output_spec assertion dropped in f332ebaJames McCoy2016-09-14
|
* tests/ui: Stop the terminal job after testingJames McCoy2016-09-14
| | | | | | When running the tests in a contained environment, the lingering terminal processes prevent the unmounting of the filesystems in the contained environment.
* Merge #4874 'Restore vim-like tab dragging'Justin M. Keyes2016-09-12
|\
| * CI: Travis macOS: Skip tab left-drag tests.Justin M. Keyes2016-09-12
| | | | | | | | | | | | These tests fail on master, so it's not a regression. Changes in #4874 (parent commit) seem to work (and pass most CI), so skipping these tests is better than blocking the changes.
| * normal.c: Restore vim-like tab dragging. #4874sach1t2016-09-12
| | | | | | | | | | Closes #4663 References #3310
* | CI: test: Avoid QuickBuild hang. (#5330)Justin M. Keyes2016-09-12
|/ | | Delete the CWD using nvim instead of the external lua/test runner process.
* shell_escape: rename; refactorJustin M. Keyes2016-09-11
| | | | | | | | - rename to shell_xescape_xquote - move to os/shell.c - disallow NULL argument - eliminate casts, nesting - test: empty shellxquote/shellxescape
* system(): Respect 'sxe' and 'sxq' #2789Zhaosheng Pan2016-09-10
| | | | Fixes #2773
* Merge #5295 'health.vim'Justin M. Keyes2016-09-05
|\
| * health.vim: Show results incrementally.Justin M. Keyes2016-09-05
| | | | | | | | | | | | | | | | Also: - improve precision of "No healthcheck found" - fix SUGGESTIONS syntax group definition - fix indentation of SUGGESTIONS
* | shada: Fix non-writeable ShaDa directory handlingZyX2016-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | Before this change, nvim -i /etc/shada segfaults on exit if the file does not exist and user does not have permissions to create the file at /etc/shada. Closes #5296 Reported in #5277 https://github.com/neovim/neovim/issues/5277#issuecomment-243937255
* | getcwd(): Return empty string if CWD is invalid. #5292HiPhish2016-09-04
|/ | | | | | | | | | Closes #5291 Restores behaviour identical to Vim. If the user calls the VimScript function 'getcwd()' and the working directory cannot be found (for example because the directory has been deleted since the last time it was used) an empty string needs to be returned instead of throwing an error.
* test: Add unittest spec for option.c (#5289)Kalle Ranki2016-09-04
| | | | | | | | Move typedef expand_T to types.h for tests Fix lint error for old style comments Describe 'check_ff_value' valid values as an initial test. Fix 'get_sts_value' comment inaccuracy and add unit test for it
* tchdir: New tab should inherit CWD. (#5227)Alejandro Sanchez2016-09-04
| | | | When a new tabpage gets created it will copy the local working directory of the previous one, if there is any.
* api: fix leak when a api function is incorrectly called with a list.Björn Linse2016-08-31
| | | | This applies both to msgpack-rpc and eval.
* api: add tests for calling the api from vimscriptBjörn Linse2016-08-31
|
* api: consistently use nvim_ prefix and update documentationBjörn Linse2016-08-31
|
* api: unify buffer numbers and window ids with handlesBjörn Linse2016-08-31
| | | | also allow handle==0 meaning curbuf/curwin/curtab
* Merge pull request #5225 from equalsraf/windows-functionaltestsBjörn Linse2016-08-31
|\ | | | | Enable functional tests in Appveyor
| * functionaltest: Create lua helper for os.tmpname()Rui Abreu Ferreira2016-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Windows Lua's os.tmpname() returns relative paths starting with \s, prepend them with $TEMP to generate a valid path. In OS X os.tmpname() returns paths in '/tmp' but they should be in '/private/tmp'. We cannot use os_name() for platform detection because some tests use tempname() before nvim is spawned, instead use one of the following: 1. Set SYSTEM_NAME environment variable before calling the tests, it is set from CMAKE_SYSTEM_NAME(i.e. uname -s or 'Windows') 2. Call uname -s 3. Assume windows
| * Mark some functional tests as pending in WindowsRui Abreu Ferreira2016-08-26
| |
* | api/ui: add tests for popupmenu_external eventsBjörn Linse2016-08-29
|/ | | | update screen.lua to use new style nvim_ui_attach
* Merge commit 'refs/pull/upstream/5156'Justin M. Keyes2016-08-22
|\
| * highlight: Added QuickFixLine highlight groupTommy Allen2016-08-17
| | | | | | | | | | | | | | | | | | | | | | | | - Links to Search by default screen.c: Combine CursorLine with QuickFixLine - HLF_QFL takes priority over HLF_CUL docs: Updated to mention QuickFixLine runtime: Added QuickFixLine to nvimHLGroup tests: QuickFixLine highlight
* | CheckHealth: Accept [plugin1 [, plugin2 [, ...]]] args.Justin M. Keyes2016-08-21
| | | | | | | | | | | | | | | | | | To healthcheck the "foo" plugin: :CheckHealth foo To healthcheck the "foo" and "bar" plugins: :CheckHealth foo bar To run all auto-discovered healthchecks: :CheckHealth
* | CheckHealthJustin M. Keyes2016-08-21
| | | | | | | | | | | | | | - Overlay markdown syntax/filetype, don't invent new filetypes/syntaxes. - migrate s:check_ruby() - s:indent_after_line1 - Less-verbose output
* | CheckHealthTJ DeVries2016-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use execute() instead of redir - Fixed logic on suboptimal pyenv/virtualenv checks. - Move system calls from strings to lists. Fixes #5218 - Add highlighting - Automatically discover health checkers - Add tests Helped-by: Shougo Matsushita <Shougo.Matsu@gmail.com> Helped-by: Tommy Allen <tommy@esdf.io> Closes #4932
* | job control: reuse common job code for rpc jobsBjörn Linse2016-08-20
| | | | | | | | This makes stderr and exit callbacks work for rpc jobs
* | tests: Set env variables in RunTests.cmakeTommy Allen2016-08-17
|/ | | | | | - NVIM_RPLUGIN_MANIFEST - XDG_CONFIG_HOME - XDG_DATA_HOME
* api: handle null string in buffer_add_highlightBjörn Linse2016-08-17
|
* tests: add note to expect() message about snapshot_util()Björn Linse2016-08-14
|
* tests: don't ignore highlights in terminal testsBjörn Linse2016-08-14
|
* tests: don't ignore highlights in completion_specBjörn Linse2016-08-14
|
* tests: don't ignore highlights in various testsBjörn Linse2016-08-14
|
* tests: don't ignore highlights in screen_basic_specBjörn Linse2016-08-14
|
* tests: don't ignore highlights in mouse_specBjörn Linse2016-08-14
|
* tests: don't ignore highlights in syntax_conceal_specBjörn Linse2016-08-14
|
* tests: don't ignore highlights in highlight_specBjörn Linse2016-08-14
|
* tests: don't ignore highlights in searchhl_specBjörn Linse2016-08-14
|
* tests: don't ignore highlights in bufhl_specBjörn Linse2016-08-14
|
* tests: remove deprecated hl_colorsBjörn Linse2016-08-14
|