Bram Moolenaar
e2e4075fad
patch 8.2.1593: tests do not check the error number properly
...
Problem: Tests do not check the error number properly.0
Solution: Add a colon after the error number. (closes #6869 )
2020-09-04 21:18:46 +02:00
Bram Moolenaar
3fffa97159
patch 8.2.0908: crash when changing the function table while listing it
...
Problem: Crash when changing the function table while listing it.
Solution: Bail out when the function table changes. (closes #6209 )
2020-06-05 21:06:10 +02:00
Bram Moolenaar
494e9069cb
patch 8.2.0866: not enough tests for buffer writing
...
Problem: Not enough tests for buffer writing.
Solution: Add more tests. Use CheckRunVimInTerminal in more places.
(Yegappan Lakshmanan, closes #6167 )
2020-05-31 21:28:02 +02:00
Bram Moolenaar
6a2c5a7dd5
patch 8.2.0533: tests using term_wait() can still be flaky
...
Problem: Tests using term_wait() can still be flaky.
Solution: Increase the wait time when rerunning a test. (James McCoy,
closes #5899 ) Halve the initial times to make tests run faster
when there is no rerun.
2020-04-08 21:50:25 +02:00
Bram Moolenaar
14e57909e6
patch 8.2.0361: internal error when using "0" for a callback
...
Problem: Internal error when using "0" for a callback.
Solution: Give a normal error. (closes #5743 )
2020-03-07 16:59:25 +01:00
Bram Moolenaar
e20b9ececa
patch 8.2.0203: :helptags and some other functionality not tested
...
Problem: :helptags and some other functionality not tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5567 )
2020-02-03 21:40:04 +01:00
Bram Moolenaar
5feabe00c4
patch 8.2.0183: tests fail when the float feature is disabled
...
Problem: Tests fail when the float feature is disabled.
Solution: Skip tests that don't work without float support.
2020-01-30 18:24:53 +01:00
Bram Moolenaar
5c463a28ff
patch 8.2.0048: another timers test is flaky on Travis for Mac
...
Problem: Another timers test is flaky on Travis for Mac.
Solution: Increase maximum expected time.
2019-12-27 17:14:33 +01:00
Bram Moolenaar
818fed7a5e
patch 8.2.0043: timers test is still flaky on Travis for Mac
...
Problem: Timers test is still flaky on Travis for Mac.
Solution: Increase maximum expected time.
2019-12-25 15:47:14 +01:00
Bram Moolenaar
bc28e9f15b
patch 8.2.0021: timer test fails too often on Travis with MacOS
...
Problem: Timer test fails too often on Travis with MacOS.
Solution: Be less strict with the time.
2019-12-18 20:10:23 +01:00
Bram Moolenaar
f92e58cadb
patch 8.1.2013: more functions can be used as methods
...
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
2019-09-08 21:51:41 +02:00
Bram Moolenaar
ce90e36f59
patch 8.1.2011: more functions can be used as methods
...
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method. Make the window
command test faster.
2019-09-08 18:58:44 +02:00
Bram Moolenaar
315244d85b
patch 8.1.1867: still a timer test that is flaky on Mac
...
Problem: Still a timer test that is flaky on Mac.
Solution: Loop with a sleep instead of one fixed sleep.
2019-08-17 13:18:16 +02:00
Bram Moolenaar
413c04e8d5
patch 8.1.1864: still a timer test that is flaky on Mac
...
Problem: Still a timer test that is flaky on Mac.
Solution: Adjust the sleep times.
2019-08-16 22:29:18 +02:00
Bram Moolenaar
427dddf014
patch 8.1.1859: timer test sometimes fails on Mac
...
Problem: Timer test sometimes fails on Mac.
Solution: Show more info when it fails.
2019-08-16 21:22:41 +02:00
Bram Moolenaar
9a2fddcf04
patch 8.1.1855: another failing timer test
...
Problem: Another failing timer test.
Solution: Assert that timers are finished by the end of the test. Rename
test functions to make them easier to find.
2019-08-16 11:26:06 +02:00
Bram Moolenaar
7e6feb9eeb
patch 8.1.1852: timers test is flaky
...
Problem: Timers test is flaky.
Solution: Accept a larger count. Add test to list of flaky tests.
2019-08-15 23:42:21 +02:00
Bram Moolenaar
8c5a278fc5
patch 8.1.1826: tests use hand coded feature and option checks
...
Problem: Tests use hand coded feature and option checks.
Solution: Use the commands from check.vim in more tests.
2019-08-07 23:07:07 +02:00
Bram Moolenaar
0d702028fe
patch 8.1.1624: when testing in the GUI may try to run gvim in a terminal
...
Problem: When testing in the GUI may try to run gvim in a terminal.
Solution: Add the -v argument. (Yee Cheng Chin, closes #4605 ) Don't skip
tests that work now.
2019-07-04 14:20:41 +02:00
Bram Moolenaar
435f9f06ca
patch 8.1.1619: tests are not run with GUI on Travis
...
Problem: Tests are not run with GUI on Travis.
Solution: Add a testgui job. (Ozaki Kiichi, closes #4609 )
2019-07-03 21:40:16 +02:00
Bram Moolenaar
7d491c4253
patch 8.1.1591: on error garbage collection may free memory in use
...
Problem: On error garbage collection may free memory in use.
Solution: Reset may_garbage_collect when evaluating expression mapping.
Add tests. (Ozaki Kiichi, closes #4579 )
2019-06-25 06:28:02 +02:00
Bram Moolenaar
7a39dd7f00
patch 8.1.1581: shared functions for testing are disorganised
...
Problem: Shared functions for testing are disorganised.
Solution: Group finctions in script files. (Ozaki Kiichi, closes #4573 )
2019-06-23 00:50:15 +02:00
Bram Moolenaar
adc6714aac
patch 8.1.1579: dict and list could be GC'ed while displaying error
...
Problem: Dict and list could be GC'ed while displaying error in a timer.
(Yasuhiro Matsumoto)
Solution: Block garbage collection when executing a timer. Add
test_garbagecollect_soon(). Add "no_wait_return" to
test_override(). (closes #4571 )
2019-06-22 01:40:42 +02:00
Bram Moolenaar
b46fecd345
patch 8.1.1544: some balloon tests don't run when they can
...
Problem: Some balloon tests don't run when they can.
Solution: Split GUI balloon tests off into a separate file. (Ozaki Kiichi,
closes #4538 ) Change the feature check into a command for
consistency.
2019-06-15 17:58:09 +02:00
Bram Moolenaar
b0f94c1ff3
patch 8.1.1524: tests are silently skipped
...
Problem: Tests are silently skipped.
Solution: Throw an exception for skipped tests in more places.
2019-06-13 22:19:53 +02:00
Bram Moolenaar
5d30ff1964
patch 8.1.1483: skipped tests are not properly listed
...
Problem: Skipped tests are not properly listed.
Solution: Throw a "Skipped" exception instead of using ":finish" or ":return".
2019-06-06 16:12:12 +02:00
Bram Moolenaar
8d4ce56a19
patch 8.1.0851: feedkeys() with "L" does not work properly
...
Problem: feedkeys() with "L" does not work properly.
Solution: Do not set typebuf_was_filled when using "L". (Ozaki Kiichi,
closes #3885 )
2019-01-30 22:01:40 +01:00
Bram Moolenaar
50948e4ac2
patch 8.1.0844: when timer fails test will hang forever
...
Problem: When timer fails test will hang forever.
Solution: Use reltime() to limit waiting time. (Ozaki Kiichi, closes #3878 )
2019-01-29 20:36:56 +01:00
Bram Moolenaar
cb908a813c
patch 8.1.0842: getchar_zero test fails on MS-Windows
...
Problem: getchar_zero test fails on MS-Windows.
Solution: Disable the test for now.
2019-01-28 23:20:04 +01:00
Bram Moolenaar
12dfc9eef1
patch 8.1.0840: getchar(0) never returns a character in the terminal
...
Problem: getchar(0) never returns a character in the terminal.
Solution: Call wait_func() at least once.
2019-01-28 22:32:58 +01:00
Bram Moolenaar
b0f42ba60d
patch 8.0.1817: a timer may change v:count unexpectedly
...
Problem: A timer may change v:count unexpectedly.
Solution: Save and restore v:count and similar variables when a timer
callback is invoked. (closes #2897 )
2018-05-12 15:38:26 +02:00
Bram Moolenaar
0e9d1ae321
patch 8.0.1776: in tests, when WaitFor() fails it doesn't say why
...
Problem: In tests, when WaitFor() fails it doesn't say why.
Solution: Turn a few more WaitFor() into WaitForAssert().
2018-04-30 14:28:24 +02:00
Bram Moolenaar
8dce6c54c8
patch 8.0.1456: timer test on travis Mac is still flaky
...
Problem: Timer test on travis Mac is still flaky.
Solution: Increase time range a bit more.
2018-02-03 15:38:42 +01:00
Bram Moolenaar
a47ebdbd22
patch 8.0.1424: the timer_pause test is flaky on Travis
...
Problem: The timer_pause test is flaky on Travis.
Solution: Accept a longer sleep time on Mac.
2017-12-23 18:41:35 +01:00
Bram Moolenaar
660b85e39a
patch 8.0.1162: shared script for tests cannot be included twice
...
Problem: Shared script for tests cannot be included twice.
Solution: Include it where needed, it will "finish" if loaded again.
2017-09-30 14:26:58 +02:00
Bram Moolenaar
f5291f301e
patch 8.0.1109: timer causes error on exit from Ex mode
...
Problem: Timer causes error on exit from Ex mode. (xtal8)
Solution: save and restore the ex_pressedreturn flag. (Christian Brabandt,
closes #2079 )
2017-09-14 22:55:37 +02:00
Bram Moolenaar
e723c42836
patch 8.0.1067: try/catch in timer does not prevent it from being stopped
...
Problem: Using try/catch in timer does not prevent it from being stopped.
Solution: Reset the exception context and use did_emsg instead of
called_emsg.
2017-09-06 23:40:10 +02:00
Bram Moolenaar
11aa62f8f9
patch 8.0.1055: bufline test hangs on MS-Windows
...
Problem: Bufline test hangs on MS-Windows.
Solution: Avoid message for writing file. Source shared.vim when running
test individually.
2017-09-04 22:56:01 +02:00
Bram Moolenaar
9d954207e2
patch 8.0.1053: setline() does not work on startup
...
Problem: setline() does not work on startup. (Manuel Ortega)
Solution: Do not check for ml_mfp to be set for the current buffer.
(Christian Brabandt)
2017-09-04 20:34:19 +02:00
Bram Moolenaar
5e80de3f3e
patch 8.0.1048: no test for what 8.0.1020 fixes
...
Problem: No test for what 8.0.1020 fixes.
Solution: Add test_feedinput(). Add a test. (Ozaki Kiichi, closes #2046 )
2017-09-03 15:48:12 +02:00
Bram Moolenaar
c577d813b7
patch 8.0.0702: an error in a timer can make Vim unusable
...
Problem: An error in a timer can make Vim unusable.
Solution: Don't set the error flag or exception from a timer. Stop a timer
if it causes an error 3 out of 3 times. Discard an exception
caused inside a timer.
2017-07-08 22:37:34 +02:00
Bram Moolenaar
1e8e14552e
patch 8.0.0670: can't use input() in a timer callback
...
Problem: Can't use input() in a timer callback. (Cosmin Popescu)
Solution: Reset vgetc_busy and set timer_busy. (Ozaki Kiichi, closes #1790 ,
closes #1129 )
2017-06-24 16:03:06 +02:00
Bram Moolenaar
26fe0d5691
patch 7.4.2359
...
Problem: Memory leak in timer_start().
Solution: Check the right field to be NULL.
2016-09-10 14:27:30 +02:00
Bram Moolenaar
75537a93e9
patch 7.4.2332
...
Problem: Crash when stop_timer() is called in a callback of a callback.
Vim hangs when the timer callback uses too much time.
Solution: Set tr_id to -1 when a timer is to be deleted. Don't keep calling
callbacks forever. (Ozaki Kiichi)
2016-09-05 22:45:28 +02:00
Bram Moolenaar
417ccd7138
patch 7.4.2304
...
Problem: In a timer callback the timer itself can't be found or stopped.
(Thinca)
Solution: Do not remove the timer from the list, remember whether it was
freed.
2016-09-01 21:26:20 +02:00
Bram Moolenaar
0426bae2ab
patch 7.4.2281
...
Problem: Timer test fails sometimes.
Solution: Reduce minimum time by 1 msec.
2016-08-28 16:06:05 +02:00
Bram Moolenaar
17f1347b86
patch 7.4.2242
...
Problem: Timer test sometimes fails.
Solution: Increase the maximum time for callback timer test.
2016-08-22 22:47:45 +02:00
Bram Moolenaar
973365dcc4
patch 7.4.2241
...
Problem: Timer test sometimes fails.
Solution: Increase the maximum time for repeating timer.
2016-08-22 22:02:56 +02:00
Bram Moolenaar
f267f8bdf7
patch 7.4.2240
...
Problem: Tests using the sleep time can be flaky.
Solution: Use reltime() if available. (Partly by Shane Harper)
2016-08-22 21:40:29 +02:00
Bram Moolenaar
9e4d8215d3
patch 7.4.2228
...
Problem: Test files have inconsistant modelines.
Solution: Don't set 'tabstop' to 2, use 'sts' and 'sw'.
2016-08-18 23:04:48 +02:00