aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
* legacy tests: migrate test22Rainer Borene2014-11-04
|
* legacy tests: migrate test9Rainer Borene2014-11-04
|
* legacy tests: migrate test102Rainer Borene2014-11-04
|
* legacy tests: migrate test4Rainer Borene2014-11-04
|
* legacy tests: improvements to functional helpers.luaRainer Borene2014-11-04
| | | | | | - Clean vim registers and functions before each test - Add eval workaround to the request helper method - Export dedent method
* test/api: add test for set_cursor always updating the screenBjörn Linse2014-11-01
|
* unittest: increase number of retries in cimportStefan Hoffmann2014-10-30
|
* unittest: fix handling of pragma pack in `cimport`Stefan Hoffmann2014-10-30
|
* fix #1027: :wundo segfault in new, non-empty bufferJustin M. Keyes2014-10-26
|
* fix 'sign unplace id'Kartik K. Agaram2014-10-28
| | | | | | | | | | | | Since the introduction of the FOR_ALL_BUFFERS macro, 'sign unplace id' without a buffer was only removing the sign from the first buffer rather than all buffers, as described in the documentation. :help sign-unplace -- modeline discussion: https://github.com/akkartik/neovim/commit/7863c247db#commitcomment-8342590
* test/job: Implement some basic jobs tests.Scott Prager2014-10-28
|
* test/shell: Add failure tests for `system()`.Scott Prager2014-10-28
|
* test: Small fixes and improvements to functional helpers.luaThiago de Arruda2014-10-28
| | | | | | | | - Move the cleanup function definition into `restart()` so restart can be selectively used as a hook - Improve error handling: Before this, errors while running the event loop would cause busted to get stuck. Now the error is properly raised by stopping the event loop first.
* test: verify that msgpacks-rpc exceptions are workingThiago de Arruda2014-10-23
|
* job: Refactor to ensure that all callbacks will be invokedThiago de Arruda2014-10-23
| | | | | | | | | | | | | | It's possible that a child process won't close it's standard streams, even after it exits. This can be evidenced with the "xclip" program: :call system('xclip -i -selection clipboard', 'DATA') Before this commit, the above command wouldn't return, even though the xclip program had exited. That is because `xclip` wasn't closing it's stdout/stderr streams, which would block pending_refs from ever reaching 0. Now the job.c module was refactored to ensure all streams are closed when the uv_process_t handle is closed.
* legacy tests: migrate test35. #1318Nate Sullivan2014-10-22
| | | | | Migrate vim's integration test 35 (increment/decrement commands) to lua/busted.
* test: verify that v:shell_error is set by `system()`/`systemlist()`Thiago de Arruda2014-10-22
|
* test: Use lua to perform sanity API checksThiago de Arruda2014-10-16
| | | | | | | Sanity API checks made by the python-client in the api-python travis target were converted to lua and will now live in this repository. This will simplify performing breaking changes to the API as it won't be necessary to send parallel PRs the python-client.
* test: Remove run-functional-tests.pyThiago de Arruda2014-10-16
| | | | | | Now that the lua client is available, python/lupa are no longer necessary to run the functional tests. The helper functions previously defined in run-functional-tests.py were adapted to test/functional/helpers.lua.
* test: Add some specs for the viml function `system()`Thiago de Arruda2014-10-01
| | | | These new specs replace src/nvim/testdir/test_system
* test: Add 'eval' functional helperThiago de Arruda2014-10-01
| | | | | The eval helper transforms vimL expressions into lua tables, it's useful for verifying function output.
* test: Move 'test/legacy' to 'test/functional'Thiago de Arruda2014-10-01
| | | | | | Busted can only discover tests from a single directory. In order to allow tests under 'legacy' to run as a functional test, it needed to be moved to 'test/functional'.
* test: Replace vroom by lua/busted for functional testsThiago de Arruda2014-09-30
| | | | | | | | | | | | | | | | | | | | | The 'lupa' python package provides a simple way to seamless integrate lua and python code. This commit replaces vroom by a python script that exposes the 'neovim' package to a lua state, and invokes busted to run functional tests. This is a temporary solution that will enable writing functional tests using lua/bused while a lua client library is not available. The reason for dropping vroom is flexibility: Lua/busted has a nice DSL-style syntax while also providing the customization power of a full programming language. Another reason is to use a single framework for unit/functional tests. Two other changes were performed in this commit: - Instead of "gcc-unittest/gcc-ia32", the travis builds for gcc are now identified by "gcc/gcc-32". They will run unit/functional tests for both 64 and 32 bits. - Old integration tests(in src/nvim/testdir) are now ran by the 'oldtest' target
* update os_can_exe unit testScott Prager2014-09-17
|
* vim-patch:7.4.235Scott Prager2014-09-17
| | | | | | | Problem: It is not easy to get the full path of a command. Solution: Add the exepath() function. https://code.google.com/p/vim/source/detail?r=5ab2946f7ce560985830fbc3c453bb0f7a01f385
* unit tests: initialize everythingJustin M. Keyes2014-09-11
|
* unit tests: avoid global scope; add missing cimportsJustin M. Keyes2014-09-11
| | | | temporarily comment out call to vim_deltempdir() to avoid segfault
* unit tests: helpers.lua: hack to avoid empty popen() resultJustin M. Keyes2014-09-11
|
* fileid: rename os_file_id_equal_file_infoStefan Hoffmann2014-08-31
|
* fileid: rename os_file_id_equalStefan Hoffmann2014-08-31
|
* fileid: rename os_get_file_idStefan Hoffmann2014-08-31
|
* fileinfo: rename os_file_info_get_inodeStefan Hoffmann2014-08-31
|
* fileinfo: rename os_file_info_get_idStefan Hoffmann2014-08-31
|
* fileinfo: rename os_file_info_id_equalStefan Hoffmann2014-08-31
|
* fileinfo: rename os_get_file_info{,_link,_fd}Stefan Hoffmann2014-08-31
|
* fileinfo: implement os_fileinfo_blocksizeStefan Hoffmann2014-08-31
|
* fileinfo: implement os_fileinfo_hardlinksStefan Hoffmann2014-08-31
|
* fileinfo: implement os_fileinfo_sizeStefan Hoffmann2014-08-31
| | | | this replaces os_get_file_size and file_info.stat.st_size
* unittest: Move FileInfo tests one level upStefan Hoffmann2014-08-31
|
* unittest: Remove remaining moonscript referencesThiago de Arruda2014-08-31
|
* unittest: convert set.moon to luaThiago de Arruda2014-08-31
|
* unittest: convert preprocess.moon to luaThiago de Arruda2014-08-31
|
* unittest: convert users_spec.moon to luaThiago de Arruda2014-08-31
|
* unittest: convert path_spec.moon to luaThiago de Arruda2014-08-31
|
* unittest: convert fs_spec.moon to luaThiago de Arruda2014-08-31
|
* unittest: convert env_spec.moon to luaThiago de Arruda2014-08-31
|
* unittest: convert helpers.moon to luaThiago de Arruda2014-08-31
|
* unittest: convert garray_spec.moon to luaThiago de Arruda2014-08-31
|
* path.c: Learn invocation_path_tail().Scott Prager2014-08-17
| | | | | Required for vim patch 276 as an alternative to `get_isolated_shell_name()`.
* os_fchown: enable 'change group' unittest on Travis-CIPavel Platto2014-08-13
| | | | | | | | Add section `before_install` in `.travis.yml` to create test group and add current user to this group. It is needed because by default user on Travis-CI belongs only to one primary group derived from that user. So we have no alternative to change group of the file.