Björn Linse
e8a8342132
test: fix command_count_spec
...
The test hit wait_return if x or .x.swp exists in the project root directory.
2016-06-23 16:54:19 +02:00
James McCoy
cde1d818d0
vim-patch:7.4.1592
...
Problem: Quickfix code using memory after being freed. (Dominique Pelle)
Solution: Detect that the window was closed. (Hirohito Higashi)
0899d69803
2016-06-22 21:10:07 -04:00
James McCoy
0d3ff4b55d
vim-patch:7.4.1126
...
Problem: Can only get the directory of the current window.
Solution: Add window and tab arguments to getcwd() and haslocaldir().
(Thinca, Hirohito Higashi)
c970330676
2016-06-15 18:04:05 -04:00
James McCoy
e7ab3e7e59
test: Use clipboard fixture instead of user's clipboard ( #4903 )
2016-06-11 12:58:57 -04:00
ZyX
ff470bb853
functests: Check logs in lua code
...
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.
2016-06-10 21:50:49 +03:00
James McCoy
56e9e81115
Merge pull request #4738 from brcolow/vim-7.4.1223
...
vim-patch:7.4.1223
2016-06-09 21:18:29 -04:00
Michael Ennen
b1c9d7d237
vim-patch:7.4.1223
...
Problem: Crash when setting v:errors to a number.
Solution: Free the typval without assuming its type. (Yasuhiro Matsumoto)
a542c680a8
2016-06-09 21:18:09 -04:00
Jurica Bradaric
6c550a4f13
vim-patch:7.4.1468
...
Problem: Sort test doesn't test with "1" argument.
Solution: Also test ignore-case sorting. (Yasuhiro Matsumoto)
51d1d53680
2016-06-09 20:34:43 +02:00
Jurica Bradaric
b2d15fbebc
vim-patch:7.4.1464
...
Problem: When the argument of sort() is zero or empty it fails.
Solution: Make zero work as documented. (suggested by Yasuhiro Matsumoto)
5131c144fe
2016-06-09 20:34:43 +02:00
Jurica Bradaric
82da7eed34
vim-patch:7.4.1397
...
Problem: Sort test fails on MS-Windows.
Solution: Correct the compare function.
0bb6108eb4
2016-06-09 20:34:43 +02:00
Jurica Bradaric
81b9b37e01
vim-patch:7.4.1394
...
Problem: Can't sort inside a sort function.
Solution: Use a struct to store the sort parameters. (Jacob Niehus)
0b962473dd
2016-06-09 20:34:43 +02:00
Michael Ennen
06bbb79e63
vim-patch:7.4.1153
...
Problem: Autocommands triggered by quickfix cannot always get the current
title value.
Solution: Call qf_fill_buffer() later. (Christian Brabandt)
6920c72d4d
Helped by @mhinz
2016-06-09 11:12:51 +02:00
Lucas Hoffmann
38d98bba68
tests: Migrate legacy test 34. ( #2849 )
2016-06-08 00:25:53 -04:00
Justin M. Keyes
234346312e
test: expand_spec: clean up fixtures
2016-06-06 11:04:09 -04:00
KillTheMule
999590b313
Testlint. ( #4881 )
2016-06-05 08:26:47 -04:00
Justin M. Keyes
d97a97d7e8
Merge pull request #4879 from justinmk/test55
...
tests: Migrate legacy test 55
2016-06-05 04:42:46 -04:00
KillTheMule
5a387dddc6
Fix indents.
2016-06-05 04:26:33 -04:00
KillTheMule
dfaf720442
Testlinting.
2016-06-05 04:26:18 -04:00
Justin M. Keyes
c156a18280
Merge pull request #2844 from lucc/test10
...
tests: migrate legacy test 10
2016-06-05 04:22:52 -04:00
James McCoy
667c1dc4de
vim-patch:7.4.1108 ( #4872 )
...
Problem: Expanding "~" halfway a file name.
Solution: Handle the file name as one name. (Marco Hinz) Add a test.
Closes vim/vim#564 .
58adb14739
2016-06-03 23:18:40 -04:00
Justin M. Keyes
1e70ebe849
Merge pull request #4756 from jbradaric/vim-7.4.1119
...
vim-patch:7.4.1119,7.4.1123,7.4.1132,7.4.1161
2016-05-29 00:03:54 -04:00
Justin M. Keyes
48e945e588
Merge pull request #2825 from lucc/legacy/listlbr
...
tests: Migrate legacy test listlbr.
2016-05-27 21:06:09 -04:00
James McCoy
ccef5c9c77
vim-patch:7.4.1567
...
Problem: Crash in assert_fails().
Solution: Check for NULL. (Dominique Pelle) Add a test.
1abb502635
2016-05-25 21:02:52 -04:00
Björn Linse
c74ce334f2
Merge pull request #4624 from bfredl/timers
...
implement timers and process events during sleep
2016-05-25 11:00:54 +02:00
James McCoy
4a40231317
vim-patch:7.4.1071
...
Problem: New style tests are executed in arbitrary order.
Solution: Sort the test function names. (Hirohito Higashi)
Fix the quickfix test that depended on the order.
cfc0a350a9
2016-05-24 20:49:19 -04:00
James McCoy
da9b6b1de0
vim-patch:7.4.1053
...
Problem: Insufficient testing for quickfix commands.
Solution: Add a new style quickfix test. (Yegappan Lakshmanan)
da59dd5da6
2016-05-24 20:49:19 -04:00
Björn Linse
61e8adb25e
eval: implement timers. vim-patch: 7.4.1578, 7.4.1831
...
For the moment, timers are triggered during sleep,
but not in wait-for-input modes, like press-RETURN or f_getchar()
2016-05-24 22:08:56 +02:00
Lucas Hoffmann
71e3aec029
Update migrated test after patch recent patches in master.
...
The following upstream patches that modified the original test have reached
master: 7.4.798, 7.4.818, 7.4.883, 7.4.977. The changes are incorporated into
the migrated test.
Also improve readability and some string delimiters.
2016-05-23 10:39:24 +02:00
Lucas Hoffmann
1e1325bd18
tests: Migrate legacy test listlbr.
2016-05-23 10:39:24 +02:00
Lucas Hoffmann
b4848c5d14
test: Clean up after migration of legacy test 55.
2016-05-23 10:17:36 +02:00
Lucas Hoffmann
1afb1cc6bc
test: Fix migrated test 55.
...
There is still one TODO item in the test file as it was necessary to comment
out one line in order to get the test to pass.
2016-05-23 10:17:32 +02:00
Lucas Hoffmann
726a6abfb7
test: Split migrated legacy test 55.
...
The test is split into several it() blocks to find the part of the test that
is making trouble.
2016-05-23 10:17:32 +02:00
Lucas Hoffmann
3734052a76
tests: Migrate legacy test 55.
2016-05-23 10:17:32 +02:00
Lucas Hoffmann
9b6988e62a
tests: Update migrated legacy test 30 for patch 7.4.643.
...
The patch was merged into master at f104ce2d
.
2016-05-23 10:15:24 +02:00
Lucas Hoffmann
87e0621857
tests: Migrate legacy test 30.
...
The original test did also create additional auxiliary files which where never
used. They are not created any longer.
2016-05-23 10:15:24 +02:00
Lucas Hoffmann
7d6b9ddc15
tests: Migrate legacy test 10.
2016-05-23 10:14:20 +02:00
Justin M. Keyes
39c015bd11
Merge pull request #2824 from lucc/legacy/close_count
...
tests: migrate legacy close_count
2016-05-22 15:33:40 -04:00
Justin M. Keyes
849d61b551
Merge pull request #4786 from jbradaric/vim-7.4.1516
...
vim-patch:7.4.1516,7.4.1521
2016-05-22 12:55:30 -04:00
James McCoy
8a379aacd7
vim-patch:7.4.1017
...
Problem: When there is a backslash in an option ":set -=" doesn't work.
Solution: Handle a backslash better. (Jacob Niehus) Add a new test, merge
in old test.
8f79acdf7e
2016-05-20 21:43:15 -04:00
Lucas Hoffmann
08cf8f4d15
tests: Modernize legacy/close_count.
2016-05-20 11:25:24 +02:00
Lucas Hoffmann
95442026e8
tests: Migrate legacy test close_count.
2016-05-20 11:25:24 +02:00
Jurica Bradaric
114fd52230
file_perm_spec: Fix the test condition on Windows.
2016-05-20 09:19:16 +02:00
Justin M. Keyes
dc88173b1b
Merge #2821 'test: migrate legacy test breakindent'
2016-05-20 00:30:01 -04:00
Jurica Bradaric
07382048b0
vim-patch:7.4.1521
...
Problem: File permission test fails on MS-Windows.
Solution: Expect a different permission.
8322e1f06e
2016-05-19 22:46:50 +02:00
Jurica Bradaric
093f8d5376
vim-patch:7.4.1516
...
Problem: Cannot change file permissions.
Solution: Add setfperm().
8049253b96
2016-05-19 22:46:50 +02:00
Justin M. Keyes
a69c3fbc8a
Merge pull request #4734 from jbradaric/vim-7.4.1102
...
vim-patch:7.4.1102, 7.4.1110, 7.4.1832
2016-05-18 00:08:47 -04:00
Jurica Bradaric
dd0e8a03fc
108_backtrace_debug_comands: Fix linter errors.
2016-05-17 20:54:42 +02:00
Jurica Bradaric
5fdb6043d7
vim-patch:7.4.1110
...
Problem: Test 108 fails when language is French.
Solution: Force English messages. (Dominique Pelle)
8c600052fa
2016-05-17 20:54:42 +02:00
Jurica Bradaric
b4cbfd3c08
vim-patch:7.4.1102
...
Problem: Debugger has no stack backtrace support.
Solution: Add "backtrace", "frame", "up" and "down" commands. (Alberto
Fanjul, closes vim/vim#433 )
f1f60f859c
2016-05-17 20:54:42 +02:00
Justin M. Keyes
7d11cc6912
Merge pull request #4759 from jbradaric/vim-7.4.1513
...
vim-patch:7.4.1513
2016-05-17 02:35:12 -04:00