aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy
Commit message (Collapse)AuthorAge
...
* test59: Fixup incorrectly encoded utf-8Björn Linse2015-08-26
|
* test59: Split tests into 1-1, etcLucas Hoffmann2015-08-26
| | | | | Helped-By: Björn Linse <bjorn.linse@gmail.com> Fixed some output issues
* test59: Turn the VimL test function into a lua function.Lucas Hoffmann2015-08-26
| | | | | Helped-By: Björn Linse <bjorn.linse@gmail.com> `spelldump | quit` must be in a function
* test59: Write spell files from lua and use cp to get the right files in placeLucas Hoffmann2015-08-26
| | | | Use teardown to remove these temporary files
* test59: Save source file in utf8, this will mess up a lot of characters.Lucas Hoffmann2015-08-26
|
* test59: Turn function definition into source() call.Lucas Hoffmann2015-08-26
|
* test59: Inital clean up.Lucas Hoffmann2015-08-26
| | | | | Fix some feed() calls and string delimiters Fix trimming of buffer before final expect().
* tests: Migrate legacy test 59.Lucas Hoffmann2015-08-26
|
* defaults: set 'listchars' to "tab:> ,trail:-,nbsp:+". #2872Felipe Morales2015-08-22
| | | | Re: https://github.com/neovim/neovim/issues/2676
* test: fix pending() invocationsJustin M. Keyes2015-08-09
| | | | | AFAICT busted does not report pending() invocations without the 2nd argument.
* vim-patch:7.4.773 #3066Marco Hinz2015-08-09
| | | | | | | | Problem: 'langmap' is used in command-line mode when checking for mappings. Solution: Do not use 'langmap' in command-line mode. (Larry Velazquez) Original patch: https://code.google.com/p/vim/source/detail?r=5b1eefbf9a532f32a66fa13abbd671488aaafd5c
* tests: Migrate legacy test 80. #2989Lucas Hoffmann2015-07-21
| | | | | | | | | | | | | | | | | | The test is also split in several blocks and heavily modernized. This was done to prevent the following quoting and escaping problems during migration: - the vim command `put =...` treats double quotes as the start of a comment so they have to be escaped with a backslash - when inserting control characters on the command line they have to be escaped with <C-V> The parts one and two of the test are functional identical so they are wrapped in a local function. The only difference was which letters where used to test the same feature. Part six did test a flag in 'cpoptions' that has been removed in neovim. It has therefore been removed as well. Reviewed-by: Michael Reed <Pyrohh@users.noreply.github.com>
* tests: Split migrated test 57.Lucas Hoffmann2015-07-19
|
* tests: Migrate legacy test 57.Lucas Hoffmann2015-07-19
|
* tests: Style improvements and Makefile fix for migrated test 60. #2975Lucas Hoffmann2015-07-16
|
* tests: Modernize migrated legacy test 62.Lucas Hoffmann2015-07-11
| | | | | | | | | | - use eval() and eq() in many places instead of writing to the buffer - remove has('autocmd') checks and use corresponding code unconditionally as neovim always has the autocmd feature - split the test into several it() blocks Helped-By: Scott Prager <splinterofchaos@gmail.com> Helped-By: Michael Reed <m.reed@mykolab.com>
* tests: Migrate legacy test 62.Lucas Hoffmann2015-07-11
|
* tests: Use new write_file() function in tests.Lucas Hoffmann2015-06-30
|
* tests: 061_undo_tree_spec: minor editsJustin M. Keyes2015-06-22
|
* tests: Repeat a flaky part of the migrated test 61.Lucas Hoffmann2015-06-22
| | | | | | This is the part of the test that relies on wall clock time and sometimes fails if the system is under load. The test is repeated up to three times before a failure is reported to the user.
* tests: Split test 61 into several it() blocks.Lucas Hoffmann2015-06-22
|
* tests: Fix an further simplify migrated test 61.Lucas Hoffmann2015-06-22
| | | | | | | | :undojoin can only be used inside scripts and command chains. So it has to be tested inside an explicit `source()` call. Also add a new test case for the different behavior when sourceing normal mode commands from a script or inserting them interactively.
* tests: Don't set ul in migrated test 61.Lucas Hoffmann2015-06-22
| | | | | | | | | | The legacy test uses `set ul=100` to break the changes into blocks that can be undone separately. This is needed because the legacy test is sourced from a file and changes would be grouped into on undo block by default. The lua test suite does not have this restriction. Also add a new test case to test this effect of using `set ul=100` in a sourced script.
* tests: Migrate legacy test 61.Lucas Hoffmann2015-06-22
| | | | | | | | | | | | | | | | | | This test is real time based as it also tests the `:earlier` and `:later` commands with time arguments (using `:sleep`). This can sometimes case the test to fail on systems that are under heavy load or where the time interval between creating the expected buffer state and the `:earlier` or `:later` command that tries to jump to it changes. To be system independent we use nvim's `:sleep` command and `wait()` for it in the test suit. The legacy vim test writes to test.out a lot with `:.w >>test.out`. This does currently not work in the lua test suite so the test is modernized to use busted's assertions instead of the output file. This test was treated special in the legacy Makefile but after the conversion the related code can be removed.
* defaults: enable 'smarttab' by default. #2855Felipe Morales2015-06-20
|
* tests: Modernize migrated argument_count test.Lucas Hoffmann2015-06-16
|
* tests: Migrate legacy test argument_count.Lucas Hoffmann2015-06-16
|
* tests: Modernize migrated legacy test argument_0count.Lucas Hoffmann2015-06-16
|
* tests: Migrate legacy test argument_0count.Lucas Hoffmann2015-06-16
|
* tests: wviminfo_spec.lua: reworkJustin M. Keyes2015-06-12
| | | | 074_global_var_in_viminfo_spec: remove some redundant sanity checks.
* tests: Migrate legacy test 74.Lucas Hoffmann2015-06-12
| | | | | Helped-By: David Bürgin <676c7473@gmail.com> Helped-By: Justin M. Keyes <justinkz@gmail.com>
* tests: Migrate legacy test 65.Lucas Hoffmann2015-05-27
| | | | Helped-By: David Bürgin <676c7473@gmail.com>
* tests: Migrate legacy test 82.Lucas Hoffmann2015-05-27
| | | | | Helped-By: David Bürgin <676c7473@gmail.com> Helped-By: Shougo Matsushita <Shougo.Matsu@gmail.com>
* tests: Migrate legacy test 3 #2399David Bürgin2015-05-27
|
* tests: Migrate legacy test 76. #2711Lucas Hoffmann2015-05-27
|
* tests: Migrate legacy test 60. #2721Lucas Hoffmann2015-05-27
| | | | Helped-By: Justin M. Keyes <justinkz@gmail.com>
* tests: Convert legacy test29David Bürgin2015-05-25
|
* tests: Migrate legacy test 31 #2736Nelson Yeung2015-05-25
|
* options: mark nonfunctional &termencoding option as hidden. #2631Björn Linse2015-05-17
| | | | | | | Remove related dead code and references in the docs. Helped-By: Michael Reed <m.reed@mykolab.com> Helped-By: Shougo Matsushita <Shougo.Matsu@gmail.com>
* vim-patch:7.4.587 #2622David Bürgin2015-05-13
| | | | | | | Problem: Conceal does not work properly with 'linebreak'. (cs86661) Solution: Save and restore boguscols. (Christian Brabandt) https://github.com/vim/vim/commit/v7-4-587
* tests: Migrate legacy test 96 #2220David Bürgin2015-05-04
|
* vim-patch:7.4.710David Bürgin2015-04-27
| | | | | | | | | Problem: It is not possible to make spaces visibible in list mode. Solution: Add the "space" item to 'listchars'. (David Bürgin, issue 350) https://github.com/vim/vim/releases/tag/v7-4-710 Closes #2485.
* vim-patch:7.4.537 #2509David Bürgin2015-04-27
| | | | | | | | Problem: Value of v:hlsearch reflects an internal variable. Solution: Make the value reflect whether search highlighting is actually displayed. (Christian Brabandt) https://github.com/vim/vim/releases/tag/v7-4-537
* test: migrate legacy test 78Justin M. Keyes2015-04-12
|
* Add new highlight groups TermCursor/TermCursorNCMarco Hinz2015-04-09
| | | | | | | These highlight groups replace the old mechanism of setting: - {g,b}:terminal_focused_cursor_highlight - {g,b}:terminal_unfocused_cursor_highlight
* legacy tests: migrate test38 #2367Murali Suresh2015-04-07
|
* tests: Migrate legacy tests 44 and 99 #2366David Bürgin2015-04-07
| | | | Consolidates the old test44 and test99 tests into one busted spec.
* tests: Migrate legacy tests 92 and 93 #2261David Bürgin2015-04-05
|
* tests: Migrate legacy test 94 #2218David Bürgin2015-03-25
|
* vim-patch:7.4.503 #2178Perry Hung2015-03-20
| | | | | | | | | | | | | | | | Problem: Cannot append a list of lines to a file. Solution: Add the append option to writefile(). (Yasuhiro Matsumoto) https://code.google.com/p/vim/source/detail?r=v7-4-503 -Ported old legacy test over to test/functional/legacy/writefile_spec.lua -Tests for mapping and signs from the original patch were removed since they have nothing to do this with feature Tested with: make oldtest, make test on OS X. Signed-off-by: Perry Hung <iperry@gmail.com>