aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy
Commit message (Collapse)AuthorAge
...
* legacy tests: migrate test103Rainer Borene2015-03-11
|
* legacy tests: migrate test_qf_titleRainer Borene2015-03-11
|
* legacy tests: migrate test100Rainer Borene2015-03-11
|
* tests/ui: Also test character at cursorBjörn Linse2015-03-09
|
* test: migrate legacy test 77 #2046Gustaf Lindstedt2015-03-08
| | | | Migrate legacy test 77 which tests mf_hash_grow() to lua/busted.
* test: Remove temporary files created by 072_undo_file_spec.luaThiago de Arruda2015-02-20
|
* legacy test: migrate test 72Fabian Brosda2015-02-20
|
* input: Escape utf8 sequences that contain CSI/K_SPECIALThiago de Arruda2015-02-18
|
* test: Fix 051_highlight_spec.luaThiago de Arruda2015-02-16
| | | | | | - The syntax `gui=` is invalid when setting properties of highlight group. - Wait for the initial "-- More --" prompt before continuing. Required to avoid a race condition
* syntax: Refactor to store all term and gui attributes independentlyThiago de Arruda2015-02-16
| | | | | Now the attrentry_T structure will store all attributes in separate fields for cterm and rgb UIs.
* test: Migrate legacy test 107Thiago de Arruda2015-01-23
| | | | | This test depends on terminal size to work correctly. After migration this requirement is removed.
* vim-patch:7.4.492Pavel Platto2015-01-19
| | | | | | | | | Problem: In Insert mode, after inserting a newline that inserts a comment leader, CTRL-O moves to the right. (ZyX) Issue 57. Solution: Correct the condition for moving the cursor back to the NUL. (Christian Brabandt) https://code.google.com/p/vim/source/detail?r=v7-4-492
* input: Ignore invalid "<" key sequencesThiago de Arruda2015-01-13
| | | | | Ignoring invalid key sequences simplifies input handling in UIs. The only downside is having to use "<lt>" everytime a "<" is needed on functional tests.
* Revert "[WIP] "abstract_ui" fixes and improvements"Justin M. Keyes2015-01-12
|
* input: Ignore invalid "<" key sequencesThiago de Arruda2015-01-12
| | | | | Ignoring invalid key sequences simplifies input handling in UIs. The only downside is having to use "<lt>" everytime a "<" is needed on functional tests.
* Merge pull request #1742 from fwalch/vim-7.4.552Justin M. Keyes2014-12-30
|\ | | | | vim-patch:7.4.552
| * vim-patch:7.4.552Florian Walch2014-12-26
| | | | | | | | | | | | | | Problem: Langmap applies to Insert mode expression mappings. Solution: Check for Insert mode. (Daniel Hahler) https://code.google.com/p/vim/source/detail?r=v7-4-552
* | Merge pull request #1738 from fwalch/vim-7.4.549Justin M. Keyes2014-12-30
|\ \ | | | | | | vim-patch:7.4.549
| * | vim-patch:750a698Florian Walch2014-12-27
| |/ | | | | | | | | | | Add new files for 7.4.549. https://code.google.com/p/vim/source/detail?r=750a6986aa86a2bb3346631a353913b899d86748
* / vim-patch:6a598be test for 7.4.487Justin M. Keyes2014-12-29
|/ | | | https://code.google.com/p/vim/source/detail?r=6a598be6d4e8
* vim-patch:7.4.488Florian Walch2014-12-23
| | | | | | | Problem: test_mapping fails for some people. Solution: Set the 'encoding' option. (Ken Takata) https://code.google.com/p/vim/source/detail?r=v7-4-488
* vim-patch:7.4.483Florian Walch2014-12-23
| | | | | | | Problem: A 0x80 byte is not handled correctly in abbreviations. Solution: Unescape special characters. Add a test. (Christian Brabandt) https://code.google.com/p/vim/source/detail?r=v7-4-483
* Remove superfluous settings from legacy tests.Julian Mehne2014-12-18
|
* docs: Remove EBCDIC remnantsMichael Reed2014-12-09
|
* Make migrated test33 more similar to old legacy test.Julian Mehne2014-12-06
| | | | Remove `expandtab` and add a missing trailing space from the legacy test.
* Fix functional-test-105 failure in OSX.Eliseo Martínez2014-11-21
| | | | | | | | | See https://github.com/neovim/neovim/issues/1519 for failure report. Cause : In OSX, /tmp is a symbolic link to /private/tmp, which causes expected and got results different because of implicit resolution. Solution : Resolve path before setting expected value.
* test: Refactor functional helpers to use vim_inputThiago de Arruda2014-11-21
| | | | | | | | | | | | | | | | | | | The vim_input function accepts raw terminal input and so is better to emulate real user, especially because it is not deferred as vim_feedkeys. Using this function required a number of changes: - expect() was refactored to use curbuf_contents() - The vim_eval function in request() was moved to curbuf_contents(). For most cases this is enough(we only care for synchronizing api calls with user input when verifying buffer contents). - <C-@>(NUL) is preprocessed before being passed to replace_termcodes. - Legacy test 4 had a bug that only became visible when using vim_input, it is fixed now. - An extra blank line deletion was required for test 101 The last two items show that vim_feedkeys because it is not 100% equivalent to receiving terminal input.
* legacy tests: migrate test105Rainer Borene2014-11-20
|
* legacy tests: migrate test26Rainer Borene2014-11-20
|
* legacy tests: migrate test101Rainer Borene2014-11-20
|
* legacy tests: migrate test75Rainer Borene2014-11-20
|
* legacy tests: migrate test51Rainer Borene2014-11-20
|
* legacy tests: migrate test43Rainer Borene2014-11-20
|
* legacy tests: migrate test33Rainer Borene2014-11-20
|
* legacy tests: migrate test67Rainer Borene2014-11-20
|
* legacy tests: migrate test66Rainer Borene2014-11-20
|
* legacy tests: migrate test25Rainer Borene2014-11-20
|
* legacy tests: migrate test104Rainer Borene2014-11-20
|
* legacy tests: migrate test5Rainer Borene2014-11-20
|
* test: Improve test environment setup and error handling/reportingThiago de Arruda2014-11-07
| | | | | | | | | | | | | | | | | | | | | | | | | During test setup, we used to call a vimscript function(BeforeEachTest) that attempted to restore Nvim to it's initial state as much as possible in order to provide a clean environment for running new tests. This approach has proven to be unreliable, as some tests leave state that can affect other tests, eventually causing failures that are difficult to debug. This commit changes the 'clear' function so it will restart Nvim every time it is called, which is a slower, but more reliable solution that will simplify spotting bugs in the future. Some other improvements/fixes were also performed: - Whenever an error is detected in a handler passed to "run()", the event loop will be stopped and the error will be propagated to the main thread. - Errors and the "cleanup()" function will always send a quit command to the current Nvim instance. This should prevent memory starvation when running tests under valgrind(where each Nvim instance can consume a lot of memory). - Fixed a wrong assertion in server_requests_spec.lua. Previously the failure was undetected in a notification handler. - Fixed some tests to expect fully clean registers. The deleted cleanup function used to put an empty string in every register, but that resulted in a extra line being added.
* test: Simplify/fix options_spec.luaThiago de Arruda2014-11-06
| | | | | | | | | | The options_spec.lua suite has one purpose: Check if the :options commands will throw any exception(:options is implemented by $VIMRUNTIME/optwin.vim). For this it is best to use the `vim_command` API function since it will automatically catch exceptions and forward them via msgpack-rpc. Also, the option window seems to affect other tests, so call `restart` in the teardown hook.
* legacy tests: migrate test21Rainer Borene2014-11-04
|
* legacy tests: migrate test7Rainer Borene2014-11-04
|
* legacy tests: migrate test6Rainer Borene2014-11-04
|
* legacy tests: migrate test28Rainer Borene2014-11-04
|
* legacy tests: migrate test20Rainer Borene2014-11-04
|
* legacy tests: migrate test97Rainer Borene2014-11-04
|
* legacy tests: migrate test46Rainer Borene2014-11-04
|
* legacy tests: migrate test27Rainer Borene2014-11-04
|
* legacy tests: migrate test54Rainer Borene2014-11-04
|