aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
* | test: fixeol_spec: setup/teardownJustin M. Keyes2015-12-13
| | | | | | | | Without this cleanup, test will fail if run multiple times.
* | Merge #3443 'vim-patch:7.4.{785,795,898}'Justin M. Keyes2015-12-13
|\ \ | |/ |/|
| * Convert legacy test for fixeol to lua test.Johan Klokkhammer Helsing2015-11-22
| |
* | Merge pull request #3753 from watiko/vim-7.4.790Justin M. Keyes2015-12-12
|\ \ | | | | | | Vim 7.4.{786,787,789,790}
| * | tests: Improve legacy autocmd_option.watiko2015-12-12
| | | | | | | | | | | | | | | * Compare tables instead of strings * Add neovim specific test
| * | tests: Keep each autocmd_option's test in isolation.watiko2015-11-28
| | |
| * | tests: Improve legacy test autocmd_option.watiko2015-11-28
| | |
| * | tests: Migrate legacy test autocmd_option.watiko2015-11-28
| | |
* | | Test: remove artifacts from root directoryMarco Hinz2015-12-01
|/ / | | | | | | | | | | | | | | | | The tests would leave the following test files in the root directory: Xtest-functional-plugin-shada.shada Xtest-functional-plugin-shada.shada.tmp.f Clean them up in teardown().
* | Merge pull request #3724 from ZyX-I/fix-3635Justin M. Keyes2015-11-27
|\ \ | | | | | | shada: Do not save unlisted and quickfix buffers
| * | shada: Do not save unlisted and quickfix buffersZyX2015-11-23
| | | | | | | | | Fixes #3635
* | | Use libuv errors instead of errno in unit testsRui Abreu Ferreira2015-11-25
| | | | | | | | | | | | | | | | | | | | | | | | Replaced old unit tests for errno with libuv error codes UV_ENOENT and UV_EEXIST (for os_open and os_getperms). Added libuv include path to test/includes compiler calls - needed to get hold of libuv headers.
* | | Merge pull request #3581 from ZyX-I/fix-shadaFelipe Morales2015-11-23
|\ \ \ | | | | | | | | Store last search direction when writing ShaDa files
| * | | shada: Also store last search directionZyX2015-11-23
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: it looks like viminfo files do not store search direction intentionally. After reading viminfo file search direction was considered to be “forward”. Note 2: all files created on earlier Neovim version will automatically receive “forward” direction. Fixes #3580
* | | test/functional: clean up according to luacheck (part 2)Marco Hinz2015-11-23
| | |
* | | test/functional: clean up according to luacheck (part 1)Marco Hinz2015-11-23
| | |
* | | test/unit: clean up according to luacheckMarco Hinz2015-11-23
| | |
* | | test/benchmark: clean up according to luacheckMarco Hinz2015-11-23
| | |
* | | Tests: add luacheck for linting testsMarco Hinz2015-11-23
| | | | | | | | | | | | | | | | | | | | | Source: https://github.com/mpeterv/luacheck Docs: http://luacheck.readthedocs.org/en/0.12.0/index.html Run via "make testlint".
* | | Reorganize focus events test into individual testsJoe Hermaszewski2015-11-23
| | | | | | | | | | | | | | | The focus event tests now live in their own `describe` block with each test testing the handling of focus events in a single mode.
* | | Enable focus events in cmdline and terminal modesJoe Hermaszewski2015-11-23
|/ / | | | | | | | | | | | | | | | | | | | | | | | | This change adds switch cases for K_FOCUSGAINED and K_FOCUSLOST to the input handling functions in ex_getln.c and terminal.c. The handling is identical to what's found in edit.c (just calling apply_autocmds). If one enters cmdline-mode by feeding `:` and sends a focuslost event (by leaving the window for example) the text `<FocusLost>` will be inserted into the command line. There is similar behaviour in terminal mode. This patch corrects this behavior to fire the apropriate autocmd instead. Fixes #3714
* | Merge pull request #3270 from ZyX-I/shada-supportFelipe Morales2015-11-23
|\ \ | |/ |/| Add plugin for editing ShaDa files
| * runtime: Add shada.vim syntax fileZyX2015-11-01
| |
| * runtime: Add [ft]plugin/shada.vim files that automatically open .shadaZyX2015-11-01
| |
| * runtime: Add autoload/shada.vim helper fileZyX2015-11-01
| | | | | | | | Contains most of the logic
| * functests: Do not run some tests if there is no -NaNZyX2015-11-01
| |
| * runtime: Add autoload/msgpack.vim helper fileZyX2015-11-01
| |
* | Add tests for focus eventsJoe Hermaszewski2015-11-17
| |
* | Workaround the unstable ordering of v:oldfiles in some more tests.John Szakmeister2015-11-16
| | | | | | | | | | | | Fixes #3676. Reviewed-by: Marco Hinz <mh.codebro@gmail.com>
* | Merge pull request #3339 from war1025/dev/clean_build_stl_str_hlJustin M. Keyes2015-11-15
|\ \ | | | | | | Clean up buffer.c build_stl_str_hl
| * | Start adding unit testsWayne Rowcliffe2015-11-11
| | |
* | | Test: add functional/autocmd/termclose_spec.luaMarco Hinz2015-11-15
| | |
* | | Add TermClose eventMarco Hinz2015-11-15
|/ / | | | | | | | | | | | | | | A terminal buffer now exits with: [Process exited <return value>] You can hook into it. E.g. :au TermClose * call feedkeys('<cr>') Closes #2293.
* | Test: improve functional/ex_cmds/oldfiles_spec.luaMarco Hinz2015-11-11
| | | | | | | | | | | | | | | | | | | | - change approach for test 1: screen:expect() instead of assert() - use execute() instead of command() - 2 new tests that check none and wrong input for :oldfiles! Helped-by: @fwalch Helped-by: @tarruda Helper-by: @justinmk
* | Add tests for :oldfilesMarco Hinz2015-11-10
| |
* | Add test/functional/ex_cmds/profile_spec.luaMarco Hinz2015-11-10
| | | | | | | | | | | | | | This adds two new tests for: :profile dump :profile stop
* | eval: Implement dictionary change notificationsThiago de Arruda2015-11-09
| |
* | Merge pull request #3616 from jszakmeister/sort-results-shada-testJohn Szakmeister2015-11-06
|\ \ | | | | | | Sort oldfiles in the marks_spec tests to avoid random ordering errors.
| * | Sort oldfiles in the marks_spec tests to avoid random ordering errors.John Szakmeister2015-11-06
| | | | | | | | | | | | | | | According to @ZyX-I in #3594, ordering is not important so let's use @tarruda's fix by sorting the results.
* | | undo: Remove incorrect NONNULL_ALL attributeZyX2015-11-05
|/ / | | | | Fixes #3605
* / Ensure a session is running before attempting to do Python detection.John Szakmeister2015-11-04
|/
* tui: Fix abort when stdout and stderr are not tty.Thiago de Arruda2015-10-29
| | | | | The abort came from using libuv tty handle on non-tty fd. Use uv_pipe_t in these cases. Also add simple test for this case.
* input: Remove CURSORHOLD keyThiago de Arruda2015-10-26
| | | | | | | | | | | Refactor input.c, normal.c and edit.c to use the K_EVENT special key to trigger the CURSORHOLD event. In normal and edit mode, K_EVENT is treated as K_CURSORHOLD, which enables better handling of arbitrary actions in those states(eg: In normal mode the previous operator counts will be restored). Also fix a test in vim_spec.lua. The test had a wrong assumption: cmdheight is only used to determine when the press enter screen will be shown, not to limit how many lines or control pagination.
* test: Add more TUI tests and increase timeoutThiago de Arruda2015-10-26
|
* vim-patch:7.4.849Justin M. Keyes2015-10-26
| | | | | | | | | | Problem: Moving the cursor in Insert mode starts new undo sequence. Solution: Add CTRL-G U to keep the undo sequence for the following cursor movement command. (Christian Brabandt) https://github.com/vim/vim/commit/8b5f65a527c353b9942e362e719687c3a7592309 Closes #3492
* Merge pull request #3470 from ZyX-I/pr-3198Justin M. Keyes2015-10-25
|\ | | | | XDG base directory specification support
| * functests: Fix testsZyX2015-10-23
| |
| * functests: Use . for various folder defaults in testsZyX2015-10-23
| |
| * functests: Do not forget about -i argumentZyX2015-10-23
| | | | | | | | Target: make all tests run with chmod -x ~/.config/nvim ~/.local/share/nvim.
| * os/fs: Allow os_mkdir_recurse directory name to end with ///ZyX2015-10-23
| |