aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
* | unittests: Add os_close, os_read and os_readv testsZyX2016-06-23
| |
* | test: fix command_count_specBjörn Linse2016-06-23
| | | | | | | | The test hit wait_return if x or .x.swp exists in the project root directory.
* | vim-patch:7.4.1592James McCoy2016-06-22
| | | | | | | | | | | | | | Problem: Quickfix code using memory after being freed. (Dominique Pelle) Solution: Detect that the window was closed. (Hirohito Higashi) https://github.com/vim/vim/commit/0899d698030ec076eb26352cda1ea334ab0819d9
* | Add tests for new featureMarco Hinz2016-06-20
| |
* | Make existing tests work with new featureMarco Hinz2016-06-20
| |
* | Merge #4933 from ZyX-I/fix-matchparen-specJustin M. Keyes2016-06-20
|\ \ | | | | | | Make matchparen_spec.lua fail if matchparen is not available
| * | functests: Fix matchparen_spec.luaZyX2016-06-17
| | |
* | | Merge #4697 'capture() function'.Justin M. Keyes2016-06-20
|\ \ \
| * | | Port capture() functionShougo Matsushita2016-05-27
| | | | | | | | | | | | | | | | https://groups.google.com/forum/#!msg/vim_dev/H3Z3ChSUh_4/beZs6KzYdBsJ
* | | | test/highlight_spec: Test "gui" arg of synIDattr().Justin M. Keyes2016-06-18
| | | | | | | | | | | | | | | | Also use less "regular" values for cterm colors.
* | | | synIDattr(): return RRGGBB value for [fg|bg|sp]# #4851Rom Grk2016-06-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add tests for synIDattr() with [fg|bg|sp]# add tests for synIDattr and various #RGB colors synIDattr: test for ui_rgb_attached() test: fix tests for synIDattr fg/bg/sp
* | | | eval: add api_info()Björn Linse2016-06-17
| | | | | | | | | | | | | | | | | | | | Previously, the api metadata was only accessible frow within nvim as msgpackparse(systemlist('nvim --api-info'))[0]
* | | | vim-patch:7.4.1126James McCoy2016-06-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Can only get the directory of the current window. Solution: Add window and tab arguments to getcwd() and haslocaldir(). (Thinca, Hirohito Higashi) https://github.com/vim/vim/commit/c970330676eaae7ba7cd05cfa46df5a413853ef9
* | | | test: functional: Remove unnecessary use of clipboard registerJames McCoy2016-06-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | menu_spec.lua yanks to the clipboard, but never pastes from it. This can leave a child xsel process waiting around for something to paste the content, causing the test process to hang. Since the test isn't explicitly trying to exercise the clipboard, simply use the default register.
* | | | test: functional: Remove test_bkc_* files after testingJames McCoy2016-06-15
| | | |
* | | | Add new functionality to the `=` marker in the STLTJ DeVries2016-06-14
| | | | | | | | | | | | | | | | | | | | | | | | This new functionality is explained in the documentation. Also, many tests have been added to the buffer_spec.lua file
* | | | test: Use clipboard fixture instead of user's clipboard (#4903)James McCoy2016-06-11
| |/ / |/| |
* | | functests: Do not use setup/teardown where before_/after_each is neededZyX2016-06-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When skipping these test blocks they may error out: Error → test/functional/shell/viml_system_spec.lua @ 154 system() with output containing NULs setup ./test/functional/helpers.lua:75: attempt to index upvalue 'session' (a nil value) stack traceback: ./test/functional/helpers.lua:75: in function 'request' ./test/functional/helpers.lua:166: in function 'nvim_feed' ./test/functional/helpers.lua:195: in function 'feed' test/functional/shell/viml_system_spec.lua:14: in function <test/functional/shell/viml_system_spec.lua:13> Error → test/functional/shell/viml_system_spec.lua @ 155 system() with output containing NULs teardown ./test/functional/helpers.lua:75: attempt to index upvalue 'session' (a nil value) stack traceback: ./test/functional/helpers.lua:75: in function 'eval' test/functional/shell/viml_system_spec.lua:21: in function <test/functional/shell/viml_system_spec.lua:20>
* | | functests: Check logs in lua codeZyX2016-06-10
| | | | | | | | | | | | | | | | | | 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.
* | | Merge #4813 'runtime: clipboard: start daemons in /'.Justin M. Keyes2016-06-10
|\ \ \
| * | | test: add tests for cwd handlingAleksa Sarai2016-06-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add both a test for cwd=/ and cwd=/tmp/nvim.XXXXX, to make sure that we don't have regressions in cwd handling. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
* | | | Merge pull request #4738 from brcolow/vim-7.4.1223James McCoy2016-06-09
|\ \ \ \ | | | | | | | | | | | | | | | vim-patch:7.4.1223
| * | | | vim-patch:7.4.1223Michael Ennen2016-06-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when setting v:errors to a number. Solution: Free the typval without assuming its type. (Yasuhiro Matsumoto) https://github.com/vim/vim/commit/a542c680a8b42cb766e64d4ee7374ef4dacb7832
* | | | | vim-patch:7.4.1468Jurica Bradaric2016-06-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Sort test doesn't test with "1" argument. Solution: Also test ignore-case sorting. (Yasuhiro Matsumoto) https://github.com/vim/vim/commit/51d1d536802b5d8232d47e56f165ba8a009529b5
* | | | | vim-patch:7.4.1464Jurica Bradaric2016-06-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When the argument of sort() is zero or empty it fails. Solution: Make zero work as documented. (suggested by Yasuhiro Matsumoto) https://github.com/vim/vim/commit/5131c144feb046c5e2b72e6c172159d80ce06b3c
* | | | | vim-patch:7.4.1397Jurica Bradaric2016-06-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Sort test fails on MS-Windows. Solution: Correct the compare function. https://github.com/vim/vim/commit/0bb6108eb4e1ecaed437bc507f514f5da7816d9e
* | | | | vim-patch:7.4.1394Jurica Bradaric2016-06-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Can't sort inside a sort function. Solution: Use a struct to store the sort parameters. (Jacob Niehus) https://github.com/vim/vim/commit/0b962473ddc7cee3cb45253dea273573bcca9bf9
* | | | | vim-patch:7.4.1153Michael Ennen2016-06-09
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Autocommands triggered by quickfix cannot always get the current title value. Solution: Call qf_fill_buffer() later. (Christian Brabandt) https://github.com/vim/vim/commit/6920c72d4d62c8dc5596e9f392e38204f561d7af Helped by @mhinz
* | | | tests: Migrate legacy test 34. (#2849)Lucas Hoffmann2016-06-08
| | | |
* | | | test: Fix path to valgrind suppressions (#4892)James McCoy2016-06-08
| | | |
* | | | test: expand_spec: clean up fixturesJustin M. Keyes2016-06-06
| | | |
* | | | test: rmdir(): recursively deleteJustin M. Keyes2016-06-06
|/ / /
* | | Testlint. (#4881)KillTheMule2016-06-05
| | |
* | | Merge pull request #4879 from justinmk/test55Justin M. Keyes2016-06-05
|\ \ \ | | | | | | | | tests: Migrate legacy test 55
| * | | Fix indents.KillTheMule2016-06-05
| | | |
| * | | Testlinting.KillTheMule2016-06-05
| | | |
| * | | test: Clean up after migration of legacy test 55.Lucas Hoffmann2016-05-23
| | | |
| * | | test: Fix migrated test 55.Lucas Hoffmann2016-05-23
| | | | | | | | | | | | | | | | | | | | There is still one TODO item in the test file as it was necessary to comment out one line in order to get the test to pass.
| * | | test: Split migrated legacy test 55.Lucas Hoffmann2016-05-23
| | | | | | | | | | | | | | | | | | | | The test is split into several it() blocks to find the part of the test that is making trouble.
| * | | tests: Migrate legacy test 55.Lucas Hoffmann2016-05-23
| | |/ | |/|
* | | Merge pull request #2844 from lucc/test10Justin M. Keyes2016-06-05
|\ \ \ | | | | | | | | tests: migrate legacy test 10
| * | | tests: Migrate legacy test 10.Lucas Hoffmann2016-05-23
| |/ /
* | | Merge pull request #4860 from jamessan/tab-win-precedenceJustin M. Keyes2016-06-04
|\ \ \ | | | | | | | | tcd: Determine correct scope from user input
| * | | test/functional: cd_spec: Add tests for {getcwd,haslocaldir}(-1, -1)James McCoy2016-06-01
| | | |
| * | | test/functional: cd_spec: Add tests for using explicit argsJames McCoy2016-06-01
| | | |
| * | | test/functional: cd_spec: Use named keys for directories tableJames McCoy2016-06-01
| | | | | | | | | | | | | | | | | | | | | | | | The directories table contains the names of the expected directory names for varying scopes of the :cd tests. Using named indexes, instead of numbered, makes the test more readable.
| * | | test/functional: Allow arbitrary arguments to cwd/lwd functionsJames McCoy2016-06-01
| | | | | | | | | | | | | | | | | | | | | | | | Build wcwd/tcwd and wlwd/tlwd on top of the reworked cwd/lwd functions. This will allow for easier testing of `getcwd()`/`haslocaldir()` in arbitrary windows and/or tab pages.
* | | | vim-patch:7.4.1108 (#4872)James McCoy2016-06-03
|/ / / | | | | | | | | | | | | | | | | | | Problem: Expanding "~" halfway a file name. Solution: Handle the file name as one name. (Marco Hinz) Add a test. Closes vim/vim#564. https://github.com/vim/vim/commit/58adb14739fa240ca6020cede9ab1f1cb07bd90a
* | | unittests: Also remove event_teardownZyX2016-05-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | `event_teardown` is there from 974752c, by aktau. It was introduced with `init_homedir` and `event_init`. Then both were removed by justinmk in 99a9161bace8200aa611f6feefcc2ac3eda93251 (`init_homedir`) and 49c5689f45b9f222ed58e18e55678df7fb971ee8 (`event_init`), but `event_teardown` was not removed. Now this may cause a crash. More details in #4852. Closes #4852
* | | Merge pull request #4198 from daynin/string-testsJustin M. Keyes2016-05-29
|\ \ \ | | | | | | | | tests: add tests for vim_strsave_escaped() function