Bram Moolenaar
e219f73ed5
patch 8.1.2364: termwinscroll test is flaky on FreeBSD
...
Problem: Termwinscroll test is flaky on FreeBSD.
Solution: Add to list of flaky tests. Rename function.
2019-11-30 15:34:08 +01:00
Bram Moolenaar
9134f1ecd4
patch 8.1.2358: tests fail on Cirrus CI for FreeBSD
...
Problem: Tests fail on Cirrus CI for FreeBSD.
Solution: Fix a test and skip some. (Christian Brabandt, closes #5281 )
2019-11-29 20:26:13 +01:00
Bram Moolenaar
36ec6f6953
patch 8.1.2260: terminal test may fail on MS-Windows
...
Problem: Terminal test may fail on MS-Windows.
Solution: Catch the situation that "term dir" fails with a CreateProcess
error.
2019-11-05 22:38:47 +01:00
Bram Moolenaar
e5a3272d32
patch 8.1.2256: test for ":term ++shell" fails on MS-Windows
...
Problem: Test for ":term ++shell" fails on MS-Windows.
Solution: Accept failure of "dir" executable.
2019-11-04 23:36:29 +01:00
Bram Moolenaar
2d6d76f9cd
patch 8.1.2255: ":term ++shell" does not work on MS-Windows
...
Problem: ":term ++shell" does not work on MS-Windows.
Solution: Add MS-Windows support.
2019-11-04 23:18:35 +01:00
Bram Moolenaar
197c6b7da3
patch 8.1.2251: ":term command" may not work without a shell
...
Problem: ":term command" may not work without a shell.
Solution: Add the ++shell option to :term. (closes #3340 )
2019-11-03 23:37:12 +01:00
Bram Moolenaar
077ff436a7
patch 8.1.2230: MS-Windows: testing external commands can be improved
...
Problem: MS-Windows: testing external commands can be improved.
Solution: Adjust tests, remove duplicate test. (closes #4928 )
2019-10-28 00:42:21 +01:00
Bram Moolenaar
28ed4dfe1f
patch 8.1.2219: no autocommand for open window with terminal
...
Problem: No autocommand for open window with terminal.
Solution: Add TerminalWinOpen. (Christian Brabandt)
2019-10-26 16:21:40 +02:00
Bram Moolenaar
4d14bac8e7
patch 8.1.2195: Vim does not exit when the terminal window is last window
...
Problem: Vim does not exit when closing a terminal window and it is the
last window.
Solution: Exit Vim if the closed terminal window is the last one.
(closes #4539 )
2019-10-20 21:15:15 +02:00
Bram Moolenaar
17efc7fa05
patch 8.1.2158: terminal attributes missing in Terminal-normal mode
...
Problem: Terminal attributes missing in Terminal-normal mode.
Solution: Use "syntax_attr".
2019-10-16 18:11:31 +02:00
Bram Moolenaar
a3817730c0
patch 8.1.2155: in a terminal window 'cursorlineopt' does not work properly
...
Problem: In a terminal window 'cursorlineopt' does not work properly.
Solution: Check the 'cursorlineopt' value. (closes #5055 )
2019-10-16 16:31:44 +02:00
Bram Moolenaar
07282f01da
patch 8.1.2133: some tests fail when run as root
...
Problem: Some tests fail when run as root.
Solution: Add CheckNotRoot and use it. (James McCoy, closes #5020 )
2019-10-10 16:46:17 +02:00
Bram Moolenaar
d2842ea60b
patch 8.1.2080: the terminal API is limited and can't be disabled
...
Problem: The terminal API is limited and can't be disabled.
Solution: Add term_setapi() to set the function prefix. (Ozaki Kiichi,
closes #2907 )
2019-09-26 23:08:54 +02:00
Bram Moolenaar
c258549032
patch 8.1.2066: no tests for state()
...
Problem: No tests for state().
Solution: Add tests. Clean up some feature checks. Make "a" flag work.
2019-09-22 21:29:53 +02:00
Bram Moolenaar
1e82a784ac
patch 8.1.2063: some tests fail when +balloon_eval_term is missing
...
Problem: Some tests fail when +balloon_eval_term is missing but
_balloon_eval is present. (Dominique Pelle)
Solution: Check the right feature in the test. (closes #4962 )
2019-09-21 22:57:06 +02:00
Bram Moolenaar
997d42427e
patch 8.1.2030: tests fail when build with normal features and terminal
...
Problem: Tests fail when build with normal features and terminal.
(Dominique Pelle)
Solution: Disable tests that won't work. (closes #4932 )
2019-09-14 21:23:40 +02:00
Bram Moolenaar
adbde3fbed
patch 8.1.2016: terminal altscreen test now fails on MS-Windows
...
Problem: Terminal altscreen test now fails on MS-Windows.
Solution: Skip the test on MS-Windows
2019-09-08 22:57:14 +02:00
Bram Moolenaar
bf9a3b0164
patch 8.1.2015: terminal altscreen test still fails sometimes
...
Problem: Terminal altscreen test still fails sometimes.
Solution: Write the escape sequence in a file.
2019-09-08 22:35:48 +02:00
Bram Moolenaar
b9c79cf5cc
patch 8.1.2014: terminal altscreen test fails sometimes
...
Problem: Terminal altscreen test fails sometimes.
Solution: Use WaitFor().
2019-09-08 22:09:52 +02:00
Bram Moolenaar
7ee80f7661
patch 8.1.2012: more functions can be used as methods
...
Problem: More functions can be used as methods.
Solution: Make terminal functions usable as a method. Fix term_getattr().
2019-09-08 20:55:06 +02:00
Bram Moolenaar
5d69fdb7c4
patch 8.1.1952: more functions can be used as a method
...
Problem: More functions can be used as a method.
Solution: Allow more functions to be used as a method.
2019-08-31 19:13:58 +02:00
Bram Moolenaar
a4b2699e28
patch 8.1.1848: 'langmap' is not used for CTRL-W command in terminal
...
Problem: 'langmap' is not used for CTRL-W command in terminal.
Solution: Push the command in the typeahead buffer instead of the stuff
buffer. (closes #4814 )
2019-08-15 20:58:54 +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
981d9dc8f3
patch 8.1.1634: terminal test fails when term_getansicolors() is missing
...
Problem: Terminal test fails when term_getansicolors() is missing.
Diff test fails without +rightleft. (Dominique Pelle)
Solution: Check if term_getansicolors() is supported. (closes #4597 )
2019-07-04 22:32:39 +02:00
Bram Moolenaar
e809a4ed30
patch 8.1.1630: various small problems
...
Problem: Various small problems.
Solution: Various small improvements.
2019-07-04 17:35:05 +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
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
ddd3308782
patch 8.1.1461: tests do not run or are not reliable on some systems
...
Problem: Tests do not run or are not reliable on some systems.
Solution: Use "findstr" instead of "grep" on MS-Windows. Clear
PROMPT_COMMAND in the terminal test. Delete temp file. Wait for
output after executing a debug command. (Yegappan Lakshmanan,
closes #4479 )
2019-06-03 23:07:25 +02:00
Bram Moolenaar
87abab92f5
patch 8.1.1457: cannot reuse a buffer when loading a screen dump
...
Problem: Cannot reuse a buffer when loading a screen dump.
Solution: Add the "bufnr" option.
2019-06-03 21:14:59 +02:00
Bram Moolenaar
c79745a82f
patch 8.1.1362: code and data in tests can be hard to read
...
Problem: Code and data in tests can be hard to read.
Solution: Use the new heredoc style. (Yegappan Lakshmanan, closes #4400 )
2019-05-20 22:12:34 +02:00
Bram Moolenaar
9e58787de7
patch 8.1.1330: using bold attribute in terminal changes the color
...
Problem: Using bold attribute in terminal changes the color. (Jason
Franklin)
Solution: Don't set the "bold-highbright" flag in vterm unless the terminal
supports less than 16 colors.
2019-05-13 20:27:23 +02:00
Bram Moolenaar
74e3d4ec11
patch 8.1.1172: cursor properties were not fully tested
...
Problem: Cursor properties were not fully tested.
Solution: Add a test. (Dominique Pelle, closes #4256 )
2019-04-14 14:16:46 +02:00
Bram Moolenaar
a0aaf3c4df
patch 8.1.1170: terminal ANSI color test does not cover all colors
...
Problem: Terminal ANSI color test does not cover all colors.
Solution: Use the color number, the name is not always resulting in an ANSI
color when t_Co is 256.
2019-04-13 23:18:21 +02:00
Bram Moolenaar
9c35d05f45
patch 8.1.1166: gettitle test can still fail when another Vim is running
...
Problem: Gettitle test can still fail when another Vim is running.
Solution: Accept any server name number. (Dominique Pelle, closes #4252 )
2019-04-13 20:39:15 +02:00
Bram Moolenaar
700dfaa86a
patch 8.1.1164: gettitle test is failing when server name differs
...
Problem: Gettitle test is failing when server name differs. (Kenta Sato)
Solution: Accept "VIM1" when 'autoservername' is used. (Dominique Pelle,
closes #4250 , closes #4249 )
2019-04-13 14:21:19 +02:00
Bram Moolenaar
f587ef345e
patch 8.1.1162: incorrect coverage information; typo in color name
...
Problem: Incorrect coverage information; typo in color name.
Solution: Fix the typo. Set environment variables to have a nested Vim
write the coverage info in another directory.
2019-04-13 13:13:54 +02:00
Bram Moolenaar
1d79ce81e7
patch 8.1.1161: unreachable code
...
Problem: Unreachable code.
Solution: Remove condition that will never be true. Add tests for all ANSI
colors.
2019-04-12 22:27:39 +02:00
Bram Moolenaar
1b55797e90
patch 8.1.1141: terminal winpos test fails with very large terminal
...
Problem: Terminal winpos test fails with very large terminal. (Dominique
Pelle)
Solution: Compute the expected size more accurately. (closes #4228 )
2019-04-09 21:17:32 +02:00
Bram Moolenaar
616aeef21f
patch 8.1.1132: getwinpos() test fails on MS-Windows
...
Problem: getwinpos() test fails on MS-Windows.
Solution: Don't try running this test.
2019-04-06 22:21:22 +02:00
Bram Moolenaar
16c34c3765
patch 8.1.1131: getwinpos() does not work in the MS-Windows console
...
Problem: getwinpos() does not work in the MS-Windows console.
Solution: Implement getwinpos().
2019-04-06 22:01:24 +02:00
Bram Moolenaar
94a7242ad1
patch 8.1.1128: getwinpos() test does not work on MS-Windows
...
Problem: getwinpos() test does not work on MS-Windows.
Solution: Skip the test.
2019-04-06 20:40:35 +02:00
Bram Moolenaar
6bc9305a02
patch 8.1.1127: getwinpos() doesn't work in terminal on MS-Windows console
...
Problem: getwinpos() doesn't work in terminal on MS-Windows console.
Solution: Adjust #ifdefs. Disable test for MS-Windows console.
2019-04-06 20:00:19 +02:00
Bram Moolenaar
fa1e90cd4d
patch 8.1.1125: libvterm does not handle the window position report
...
Problem: Libvterm does not handle the window position report.
Solution: Let libvterm call the fallback CSI handler when not handling CSI
sequence. Handle the window position report in Vim.
2019-04-06 17:47:40 +02:00
Bram Moolenaar
4a5711b5ea
patch 8.1.1121: test for term_gettitle() was disabled
...
Problem: Test for term_gettitle() was disabled.
Solution: Enable the test and bail out only when it doesn't work. (Dominique
Pelle, closes #3776 )
2019-04-06 12:39:55 +02:00
Bram Moolenaar
a4c2a24cc7
patch 8.1.1051: not all ways to switch terminal mode are tested
...
Problem: Not all ways to switch terminal mode are tested.
Solution: Add more test cases.
2019-03-25 23:01:38 +01:00
Bram Moolenaar
5b868a82ed
patch 8.1.0981: pasting in terminal insufficiently tested
...
Problem: Pasting in terminal insufficiently tested.
Solution: Add more tests. (Dominique Pelle, closes #4040 )
2019-02-25 06:11:53 +01:00
Bram Moolenaar
882d02eeb5
patch 8.1.0974: cannot switch from terminal window to previous tabpage
...
Problem: Cannot switch from terminal window to previous tabpage.
Solution: Make CTRL-W gT move to previous tabpage.
2019-02-22 17:56:43 +01:00
Bram Moolenaar
72e83c1ae5
patch 8.1.0972: cannot switch from terminal window to next tabpage
...
Problem: Cannot switch from terminal window to next tabpage.
Solution: Make CTRL-W gt move to next tabpage.
2019-02-22 16:09:52 +01:00