aboutsummaryrefslogtreecommitdiff
path: root/test/unit
Commit message (Collapse)AuthorAge
...
| * | unittests: Do not alter p_enc in decode unit testZyX2017-04-08
| |/
| * tests: Fix testlint errorsZyX2017-04-03
| |
| * eval: Make writefile() able to disable fsync()ZyX2017-04-02
| |
| * unittests: Make it easier to determine on which _spec line it crashed (#6424)Nikolai Aleksandrovich Pavlov2017-04-02
| | | | | | | | | | | | Benchmarks: Before change: 17.78s user 3.48s system 94% cpu 22.525 total After change: 25.38s user 4.46s system 101% cpu 29.317 total
| * Merge #6422 from ZyX-I/fix-6420Justin M. Keyes2017-04-01
| |\ | | | | | | eval,fileio: Omit additional fsync() call
| | * eval,fileio: Omit additional fsync() callZyX2017-04-01
| | | | | | | | | | | | Fixes #6420
| * | unittests: Replace two environment variables with one TRACE_LEVELZyX2017-04-01
| | |
| * | unittests: Fix linter errorZyX2017-04-01
| | |
| * | unittests: Disable non-C-callsZyX2017-04-01
| | | | | | | | | | | | | | | | | | | | | Some benchmarks: TRACE_EVERYTHING: 79.45s user 12.68s system 124% cpu 1:13.94 total (default): 30.26s user 5.30s system 89% cpu 39.663 total
| * | unittests: Add trace description right to the error messageZyX2017-04-01
| | |
| * | unittests: Collect tracesZyX2017-04-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some benchmarks: MAIN_CDEFS + NO_TRACE: 3.81s user 1.65s system 33% cpu 16.140 total MAIN_CDEFS: 73.61s user 10.98s system 154% cpu 54.690 total NO_TRACE: 18.49s user 4.30s system 73% cpu 30.804 total (default): 77.11s user 14.74s system 126% cpu 1:12.79 total
| * | unittests: Split itp implementation into multiple functionsZyX2017-04-01
| | |
| * | unittests: Do not hang when error message is too longZyX2017-04-01
| |/
| * ci: Do not hide ci directory (#6410)Nikolai Aleksandrovich Pavlov2017-03-31
| |
| * eval/typval,api/buffer: Fix review commentsZyX2017-03-29
| |
| * eval/typval: Allow NULL dict as tv_dict_get_callback() argumentZyX2017-03-29
| | | | | | Also removes NULL key input: tv_dict_find() does not allow this.
| * unittests: Fix linter errorsZyX2017-03-29
| |
| * unittests: Add tv_get_string* testsZyX2017-03-29
| |
| * unittests: Add tv_get number testsZyX2017-03-29
| |
| * unittests: Move tv_dict_add* tests to a proper describe() blockZyX2017-03-29
| |
| * unittests: Add tv_check… testsZyX2017-03-29
| |
| * unittests: Add tv_equal() testsZyX2017-03-29
| |
| * unittests: Test locks sectionZyX2017-03-29
| |
| * unittests: Test tv_copy()ZyX2017-03-29
| |
| * unittests: Add tests for tv_clear()ZyX2017-03-29
| |
| * unittests: Add test for tv_dict_set_keys_readonlyZyX2017-03-29
| |
| * unittests: Add tv_dict_copy testsZyX2017-03-29
| |
| * unittests: Add tests for tv_dict_extendZyX2017-03-29
| |
| * unittests: Add tv_dict_clear testsZyX2017-03-29
| |
| * unittests: Add tv_dict_add* unit testsZyX2017-03-29
| | | | | | | | | | | | | | | | Also fixes incorrect location of `tv_dict_add` function and three bugs in other functions: 1. `tv_dict_add_list` may free list it does not own (vim/vim#1555). 2. `tv_dict_add_dict` may free dictionary it does not own (vim/vim#1555). 3. `tv_dict_add_dict` ignores `key_len` argument.
| * unittests: Add tests for dictionary indexingZyX2017-03-29
| |
| * unittests: Enable tv_list_join tests backZyX2017-03-29
| | | | | | | | Unable to reproduce the problem on Mac OS X Sierra VPS, need to check whether it is reproducible on travis.
| * unittests: Disable tv_list_join test on Mac OS onlyZyX2017-03-29
| |
| * eval/typval: Fix SEGV in test_alot.vim testZyX2017-03-29
| |
| * unittests: Add tv_dict_item_{add,remove} testsZyX2017-03-29
| |
| * unittests: Add tv_dict_item_{alloc,free} testsZyX2017-03-29
| |
| * unittests: Add tv_dict_watcher_{add,remove} testsZyX2017-03-29
| |
| * unittests: Run tv_list_join tests in case it stopped failingZyX2017-03-29
| |
| * *: Fix some Windows-specific warningsZyX2017-03-29
| | | | | | | | Also fixed an error in path_fnamecmp().
| * unittests: Add tests for tv_list_idx_of_itemZyX2017-03-29
| |
| * unittests: Add tests for tv_list_find*() functionsZyX2017-03-29
| | | | | | | | | | | | | | | | Additional modifications: - More `const` qualifiers in tested functions. - `tv_list_find_str()` second argument is more in-line with other `tv_list_find*()` functions.
| * eval/typval: Add tv_list_equal() tests, compare NULL lists equalZyX2017-03-29
| |
| * unittests: Test tv_list_join()ZyX2017-03-29
| |
| * unittests: Fix tests crashZyX2017-03-29
| | | | | | | | | | | | | | | | | | | | | | Tests crash at some point without - `after_each(collectgarbage)` right before “typval.c list copy() copies list correctly and converts items” test. - Commenting out that test. - Adding `collectgarbage()` after the test (what actually this commit does). Adding `collectgarbage()` to top-level `after_each` block right after `restore_allocators` makes running this file crash even if it is run alone.
| * eval/typval,tests: Fix extending list with itself, add testsZyX2017-03-29
| | | | | | | | | | Adds unit test for tv_list_extend and regression test for extend() VimL function.
| * unittests: Test tv_list_concat()ZyX2017-03-29
| |
| * unittests: Test tv_list_copyZyX2017-03-29
| | | | | | | | | | | | | | | | | | | | | | | | | | Also found some bugs: 1. var_item_copy() always fails to copy v:_null_list and v:_null_dict. Fixing this should mean fixing `deepcopy(v:_null_list)` which should’ve been, but was not listed in #4615. This also fixes `deepcopy(v:_null_dict)`. 2. var_item_copy() crashes when trying to copy NULL string with `conv != NULL`. 3. `conv` argument is ignored when copying list unless `deep` is true, but it was not reflected in documentation. 4. `tv_dict_item_alloc_len()` allocated more memory then needed. 5. typvalt2lua was not able to handle self-referencing containers.
| * unittests: Add tests for tv_list_insert*()/…append*() functionsZyX2017-03-29
| |
| * unittests: Add tests for tv_list_insert()ZyX2017-03-29
| |
| * unittests: Add tests for list watchers and list alloc/free/unrefZyX2017-03-29
| |