aboutsummaryrefslogtreecommitdiff
path: root/test/functional
Commit message (Collapse)AuthorAge
...
* encoding: Update handling of encoding in testsBjörn Linse2015-09-08
| | | | | | | Always run tests with encoding=utf-8, regardless of user locale Don't set &encoding after startup in tests Helped-By: Michael Reed <m.reed@mykolab.com>
* clipboard: avoid clipboard during :global. #2809Felipe Morales2015-08-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is equivalent to patches 7.4.396, 7.4.445 and 7.4.598. vim-patch:7.4.396 Problem: When 'clipboard' is "unnamed", :g/pat/d is very slow. (Praful) Solution: Only set the clipboard after the last delete. (Christian Brabandt) https://github.com/vim/vim/commit/1f285eb49a709e00552f7bef7e74efff5ae79026 vim-patch:7.4.445 Problem: Clipboard may be cleared on startup. Solution: Set clip_did_set_selection to -1 during startup. (Christian Brabandt) https://github.com/vim/vim/commit/1a19d37d90f037c09183ba68fdddf70ab8ee179a vim-patch:7.4.598 Problem: ":tabdo windo echo 'hi'" causes "* register not to be changed. (Salman Halim) Solution: Change how clip_did_set_selection is used and add clipboard_needs_update and global_change_count. (Christian Brabandt) https://github.com/vim/vim/commit/af6a579263a688f30bfbbee72b28d08cc7e0f3d4 Co-Author: @bfredl
* test59: Store all text as utf-8 and convert when neededBjörn Linse2015-08-26
|
* test59: Make "syntax off" explicit, as default may change with #2675Björn Linse2015-08-26
| | | | Helped-By: Felipe Morales <hel.sheep@gmail.com>
* 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 'laststatus' to 2. #2876Felipe Morales2015-08-24
|
* defaults: set 'listchars' to "tab:> ,trail:-,nbsp:+". #2872Felipe Morales2015-08-22
| | | | Re: https://github.com/neovim/neovim/issues/2676
* terminal: Fix use after freeThiago de Arruda2015-08-22
| | | | | Since close_cb may free the terminal structure, save the "wipe" flag before calling it.
* tests: fix the glob tests when building under a long path #3214John Szakmeister2015-08-21
|
* eval: Protect job callbacks from being redefinedThiago de Arruda2015-08-21
| | | | ref: #3188
* Notify attached UIs whenever menus changeRobin Allen2015-08-21
| | | | | This adds a redraw notification "update_menu" which is sent whenever Vim's menus are changed by the :menu command and friends.
* test: Make sure ENTER prompt is exited in clipboard_provider_specThiago de Arruda2015-08-13
| | | | The test may hang without this.
* test: cover :grepJustin M. Keyes2015-08-11
| | | | References #3156
* test: fix pending() invocationsJustin M. Keyes2015-08-09
| | | | | AFAICT busted does not report pending() invocations without the 2nd argument.
* test: move runtime/autoload/* to provider/Justin M. Keyes2015-08-09
| | | | | - Organize tests by logical function, not the literal impl location. - Avoid deep nesting / hyper-hierarchy.
* test: python: report pending() if python{2,3} is missingJustin M. Keyes2015-08-09
|
* 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
* clipboard: support clipboard=unnamedplus,unnamedBjörn Linse2015-08-07
|
* test: cover msgpackparse() regressionJustin M. Keyes2015-08-05
|
* Merge pull request #3034 from ZyX-I/msgpack-evalJustin M. Keyes2015-08-03
|\ | | | | msgpack viml functions for dump/restore
| * functests: Use eval subdirectory in place of vimlZyX2015-08-02
| |
| * eval: Remove most of msgpack* functions limitationsZyX2015-08-02
| |
| * eval: Add msgpackparse and msgpackdump functionsZyX2015-08-02
| |
* | test: call scandir_next_with_dots() more than onceJustin M. Keyes2015-08-01
| | | | | | | | Also cosmetic reduction.
* | Add the . and .. entries to glob()Felipe Morales2015-08-01
| | | | | | | | | | | | | | os_scandir() and os_scandir_next() skip over those, because of the unverlying libuv funcitons behaviour. Fixes #2954
* | tui: Use underline cursor in Replace modeOmar Sandoval2015-07-26
| | | | | | | | | | | | | | This is a port of my original contribution to Vim, added in 7.4.687 (https://github.com/vim/vim/commit/v7-4-687). The TUI code has been heavily refactored (see esp. 25ceadab37edba13f5afa78d8b4723da03ef35f0), so this required some translation, but the logic is the same.
* | api: Simplify UI API on mode changeOmar Sandoval2015-07-26
| | | | | | | | | | | | | | Currently, there are two functions in the UI API that are called when the mode changes: insert_mode() and normal_mode(). These can be folded into a single mode_change() entrypoint which can do whatever it wants based on the mode it is passed, limited to INSERT and NORMAL for now.
* | Add ui test for default title (with/without filename) #3091Björn Linse2015-07-23
| |
* | menu: Fix :emenu mode detection #2992Robin Allen2015-07-22
| | | | | | | | | | | | | | | | | | | | | | | | | | A menu item can have separate bindings for each Vim mode. :emenu checks to see which binding it should execute. But, it assumes it can only be called from Normal mode, so its mode detection is based on some guesswork. For instance, it detects if you've just used C-O and, if so, uses the Insert mode binding. Now that :emenu can be called from any mode (via vim_command), this commit has it check the actual mode we're in, and simply use the binding for that mode if we aren't in Normal mode.
* | 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>
* | clipboard: add tests for error fallback and middleclick pasteBjörn Linse2015-07-20
| |
* | Test: fix functional/ex_cmds/recover_spec.luaMarco Hinz2015-07-20
| | | | | | | | | | | | | | | | | | os.remove() wasn't removing the temporary swap directory which leads to problems when the test is run a second time. That's also the reason why the CI never caught this. os.remove() got replaced by helpers.rmdir().
* | Test: add new helper function: rmdir()Marco Hinz2015-07-20
| | | | | | | | | | | | | | | | | | - lfs.rmdir() only removes empty directories - os.remove() supercedes lfs.rmdir(); removes files and empty directories - helpers.rmdir() first removes all files within a directory, then the directory itself
* | Implement API function to call functions #2979Sebastian Witte2015-07-19
| | | | | | | | | | Remove static modifier from func_call Move MAX_FUNC_ARGS definnition from eval.c to eval.h
* | tests: Split migrated test 57.Lucas Hoffmann2015-07-19
| |
* | tests: Migrate legacy test 57.Lucas Hoffmann2015-07-19
| |
* | Test: synIDattr(): true color awarenessMarco Hinz2015-07-18
|/
* test: lower sleep value in job testThiago de Arruda2015-07-16
| | | | | Since sleep is a grandchild of nvim, it is not killed after the test ends. Using a low sleep value allows it to exit automatically after a small interval.
* test: Increase determinism in screen_basic_spec testsThiago de Arruda2015-07-16
|
* tests: Style improvements and Makefile fix for migrated test 60. #2975Lucas Hoffmann2015-07-16
|
* test: buffer_spec: fix set_line invocationJustin M. Keyes2015-07-11
| | | | | - pcall result was always false because of wrong arity - also re-arrange tests into it() blocks
* test: api: exercise out-of-bounds line slicingNick Hynes2015-07-11
|
* 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>