aboutsummaryrefslogtreecommitdiff
path: root/test/unit/helpers.lua
Commit message (Collapse)AuthorAge
...
* unittests: Allow running `ffi.cdef` in the main processZyX2017-03-12
|
* unittests: Move filtering cdefs to main processZyX2017-03-12
|
* unittests: Use more adequate names for some functionsZyX2017-03-12
|
* unittests: Fix linter errorsZyX2017-03-11
|
* unittests: Do not use which, add data to paths.lua.in insteadZyX2017-03-11
|
* unittests: Always close all pipesZyX2017-03-11
|
* unittests: Do not import libnvim or headers in main processZyX2017-03-11
| | | Slows down unit tests much, but gets rid of as much preserved state as possible.
* unittests: Check core dumps in after_each, like in functestsZyX2017-03-11
|
* unittests: Do not run failing test at allZyX2017-03-11
|
* unittests: Fix lint errorsZyX2017-03-11
|
* unittests: Allow failing test to failZyX2017-03-11
|
* unittests: Log syscalls if requestedZyX2017-03-11
|
* unittests: Use own bindings to libc syscall wrappersZyX2017-03-11
|
* unittests: Do not use syscall library: does not work well with cimportZyX2017-03-11
|
* unittests: Try using syscall library instead (ffi-based)ZyX2017-03-11
|
* unittests: Pause garbage collector while executing testsZyX2017-03-11
| | | Temporary (?) workaround for currently failing check_alloc_log tests.
* unittests: Run tests in a separate processZyX2017-03-11
|
* buffer: Hide one of the asserts from lua parserZyX2017-02-25
|
* unittest: Fix linter errorsZyX2017-01-07
|
* unittest: Allow mocking allocator callsZyX2017-01-07
|
* Merge pull request #5826 from ZyX-I/fix-typval_encodeJames McCoy2017-01-06
|\ | | | | Refactor eval/typval_encode.h
| * tests: Add tests for partials dumpingZyX2017-01-03
| | | | | | | | | | Also fixed dumping of partials by encode_vim_to_object and added code which is able to work with partials and dictionaries to test/unit/eval/helpers.lua (mostly copied from #5119, except for partials handling).
* | unittest: Fix linter errorsZyX2017-01-03
| |
* | unittest: Move nil checks to Gcc:preprocessZyX2017-01-03
| |
* | unittest: Record previous defines in another placeZyX2017-01-03
| | | | | | | | Previous commit made preprocess.lua know how its output will be used. This moves state to cimport, making only it know which is cleaner.
* | unittest: Allow multiple indirect includesZyX2017-01-03
|/ | | | | | | | | | Works by saving all preprocessor defines and reusing them on each run. This also saves NVIM_HEADER_H defines. Saving other defines is needed for defines like `Map(foo, bar)` which are sometimes used to declare types or functions. Saving types or function declarations is not needed because they are recorded as luajit state. Fixes #5857
* Tests: make unit tests work on macOS SierraMarco Hinz2016-12-29
| | | | Fixes #5455.
* unittests: Add tests for file.cZyX2016-06-24
| | | | Also fixes some errors found.
* 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.
* test/unit: ensure event_init()Justin M. Keyes2016-04-25
| | | | | | Closes #4635 References #4630 References https://github.com/neovim/neovim/pull/4070#discussion_r50626558
* eval/encode: Fix writing strings starting with NL to listZyX2016-04-18
| | | | | | Error [found][1] by oni-link. [1]: https://github.com/neovim/neovim/pull/4131/files#r52239384
* test/unit: clean up according to luacheckMarco Hinz2015-11-23
|
* test: Ensure proper initialization in unit/helpers.luaThiago de Arruda2015-07-01
| | | | | Remove helpers.vim_init and simply perform the required initialization in helpers.lua.
* tests: require luassert in the helpersJohn Szakmeister2015-03-01
| | | | | | | | This is necessary for newer versions of Busted, otherwise assert will be nil and the tests will die. Note: this does not mean the tests now work with the latest Busted. There are still several issues preventing that from happening.
* mch_early_init() -> early_init().Scott Prager2014-11-28
| | | | | Move general initialization functions to early_init, which simplifies test/unit/helpers.lua, which requires all these functions.
* unittest: increase number of retries in cimportStefan Hoffmann2014-10-30
|
* unittest: fix handling of pragma pack in `cimport`Stefan Hoffmann2014-10-30
|
* 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
|
* unittest: convert helpers.moon to luaThiago de Arruda2014-08-31