summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_channel.vim
AgeCommit message (Collapse)Author
2023-10-04patch 9.0.1984: CI: Test_open_delay*() fails on FreeBSD 14v9.0.1984Christian Brabandt
Problem: CI: Test_open_delay*() fails on FreeBSD 14 Solution: Skip it on BSD Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-24patch 9.0.1939: still a problem when processing LSP RPC requestsv9.0.1939Yegappan Lakshmanan
Problem: still a problem when processing LSP RPC requests Solution: When processing async LSP RPC requests, compare sequence numbers only in response messages A LSP request message can be sent to the language server either synchronously (ch_evalexpr) or asynchronously (ch_sendexpr). In both cases, when looking for response messages by using the sequence number, LSP requests messages from the language server with the same sequence number should not be used. Patch 9.0.1927 fixed this issue for synchronous requests. This PR fixes the issue for asynchronous requests and adds additional tests. closes: #13158 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
2023-09-21patch 9.0.1924: LSP server message still wrongly handled (after 9.0.1922)v9.0.1924Yegappan Lakshmanan
Problem: LSP server message still wrongly handled (after 9.0.1922) Solution: Handle 'method' messages properly, don't discard them, add tests. closes: #13141 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
2023-09-09patch 9.0.1886: Various Typosv9.0.1886Christian Brabandt
Problem: Various Typos Solution: Fix Typos This is a collection of typo related commits. closes: #12753 closes: #13016 Co-authored-by: Adri Verhoef <a3@a3.xs4all.nl> Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: Viktor Szépe <viktor@szepe.net> Co-authored-by: nuid64 <lvkuzvesov@proton.me> Co-authored-by: Meng Xiangzhuo <aumo@foxmail.com> Co-authored-by: Dominique Pellé <dominique.pelle@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-04-25patch 9.0.1487: Content-type header for LSP channel not according to specv9.0.1487Yegappan Lakshmanan
Problem: Content-type header for LSP channel not according to spec. Solution: Use "vscode-jsonrpc" instead of "vim-jsonrpc". (Yegappan Lakshmanan, closes #12295)
2023-01-28patch 9.0.1257: code style is not check in test scriptsv9.0.1257Bram Moolenaar
Problem: Code style is not check in test scripts. Solution: Add basic code style check for test files.
2022-12-01patch 9.0.0979: ch_log() text can be hard to find in the log filev9.0.0979Bram Moolenaar
Problem: ch_log() text can be hard to find in the log file. Solution: Prepend "ch_log()" to the text.
2022-11-02patch 9.0.0828: various typosv9.0.0828dundargoc
Problem: Various typos. Solution: Correct typos. (closes #11432)
2022-09-25patch 9.0.0582: channel cwd test fails on Cirrus CIv9.0.0582Bram Moolenaar
Problem: Channel cwd test fails on Cirrus CI. Solution: Also remove /private from the expected directory.
2022-09-20patch 9.0.0508: when the channel test fails there is no clue whyv9.0.0508K.Takata
Problem: When the channel test fails there is no clue why. Solution: Add info about the job status. (Ken Takata, closes #11175)
2022-09-08patch 9.0.0418: manually deleting temp test filesv9.0.0418Bram Moolenaar
Problem: Manually deleting temp test files. Solution: Use the 'D' flag of writefile() and mkdir().
2022-08-30patch 9.0.0335: checks for Dictionary argument often give a vague errorv9.0.0335Yegappan Lakshmanan
Problem: Checks for Dictionary argument often give a vague error message. Solution: Give a useful error message. (Yegappan Lakshmanan, closes #11009)
2022-08-29patch 9.0.0323: using common name in tests leads to flaky testsv9.0.0323Bram Moolenaar
Problem: Using common name in tests leads to flaky tests. Solution: Rename files and directories to be more specific.
2022-06-21patch 8.2.5145: exit test causes spurious valgrind reportsv8.2.5145Bram Moolenaar
Problem: Exit test causes spurious valgrind reports. Solution: Skip test. Add CheckNotValgrind.
2022-06-21patch 8.2.5143: some tests fail when using valgrindv8.2.5143Bram Moolenaar
Problem: Some tests fail when using valgrind. Spurious leak reports. Solution: Use WaitForAssert(). Avoid failing fork/exec. Skip tests where a job is killed when running valgrind.
2022-06-19patch 8.2.5127: using assert_true() does not show value on failurev8.2.5127zeertzjq
Problem: Using assert_true() does not show value on failure. Solution: Use assert_inrange(). (closes #10593)
2022-04-19patch 8.2.4788: large payload for LSP message not testedv8.2.4788Yegappan Lakshmanan
Problem: Large payload for LSP message not tested. Solution: Add a test with a large LSP payload. (Yegappan Lakshmanan, closes #10223)
2022-04-18patch 8.2.4780: parsing an LSP message fails when it is splitv8.2.4780Yegappan Lakshmanan
Problem: Parsing an LSP message fails when it is split. Solution: Collapse the received data before parsing. (Yegappan Lakshmanan, closes #10215)
2022-04-16patch 8.2.4758: when using an LSP channel want to get the message IDv8.2.4758Yegappan Lakshmanan
Problem: When using an LSP channel want to get the message ID. Solution: Have ch_sendexpr() return the ID. (Yegappan Lakshmanan, closes #10202)
2022-04-04patch 8.2.4684: cannot open a channel on a Unix domain socketv8.2.4684LemonBoy
Problem: Cannot open a channel on a Unix domain socket. Solution: Add Unix domain socket support. (closes #10062)
2022-03-30patch 8.2.4648: handling LSP messages is a bit slowv8.2.4648Yegappan Lakshmanan
Problem: Handling LSP messages is a bit slow. Solution: Included support for LSP messages. (Yegappan Lakshmanan, closes #10025)
2021-12-17patch 8.2.3834: Test_out_cb often fails on Macv8.2.3834Bram Moolenaar
Problem: Test_out_cb often fails on Mac. Solution: Increase the timeout with every retry.
2021-10-16patch 8.2.3518: Test_xrestore sometimes failsv8.2.3518Bram Moolenaar
Problem: Test_xrestore sometimes fails. Solution: Mark the test as flayky. Move marking test as flaky to the test instead of listing them in runtest.
2021-10-05patch 8.2.3479: crash when calling job_start with an invalid argumentv8.2.3479Bram Moolenaar
Problem: Crash when calling job_start with an invalid argument. (Virginia Senioria) Solution: Clear the first item in argv. (closes #8957)
2021-08-28patch 8.2.3379: crash when using NULL jobv8.2.3379Bram Moolenaar
Problem: Crash when using NULL job. Solution: Copy static string into buffer. (issue #8260)
2021-08-04patch 8.2.3287: channel events not handled in BufEnter autocommandv8.2.3287Bram Moolenaar
Problem: Channel events not handled in BufEnter autocommand. Solution: Decrement dont_parse_messages earlier. (Tim Pope, closes #8697)
2021-07-30patch 8.2.3253: channel test fails randomlyv8.2.3253Bram Moolenaar
Problem: Channel test fails randomly. Solution: Add a sleep after sending the "echoerr" command. (Michael Soyka)
2021-07-10patch 8.2.3140: MS-Windows: ipv6 channel test is very flaky also without GUIv8.2.3140Bram Moolenaar
Problem: MS-Windows: ipv6 channel test is very flaky also without the GUI. Solution: Skip the test also without the GUI.
2021-07-08patch 8.2.3131: MS-Windows: ipv6 channel test is very flaky in the GUIv8.2.3131Bram Moolenaar
Problem: MS-Windows: ipv6 channel test is very flaky in the GUI. Solution: Skip the test.
2021-07-01patch 8.2.3082: a channel command "echoerr" does not show anythingv8.2.3082Bram Moolenaar
Problem: A channel command "echoerr" does not show anything. Solution: Do not use silent errors when using an "echoerr" command. (closes #8494)
2020-11-23patch 8.2.2035: MS-Windows: some tests may failv8.2.2035Bram Moolenaar
Problem: MS-Windows: some tests may fail. Solution: Avoid test failures. (Yegappan Lakshmanan, closes #7346)
2020-11-22patch 8.2.2031: some tests fail when run under valgrindv8.2.2031Bram Moolenaar
Problem: Some tests fail when run under valgrind. Solution: Avoid timing problems.
2020-09-04patch 8.2.1593: tests do not check the error number properlyv8.2.1593Bram Moolenaar
Problem: Tests do not check the error number properly.0 Solution: Add a colon after the error number. (closes #6869)
2020-08-12patch 8.2.1432: various inconsistencies in test filesv8.2.1432Bram Moolenaar
Problem: Various inconsistencies in test files. Solution: Add modelines where they were missing. Use Check commands instead of silently skipping over tests. Adjust indents and comments. (Ken Takata, closes #6695)
2020-07-11patch 8.2.1183: assert_fails() checks the last error messagev8.2.1183Bram Moolenaar
Problem: assert_fails() checks the last error message. Solution: Check the first error, it is more relevant. Fix all the tests that rely on the old behavior.
2020-06-19patch 8.2.1013: channel tests can be a bit flakyv8.2.1013Bram Moolenaar
Problem: Channel tests can be a bit flaky. Solution: Set the g:test_is_flaky flag in SetUp().
2020-04-29patch 8.2.0662: cannot use input() in a channel callbackv8.2.0662Bram Moolenaar
Problem: Cannot use input() in a channel callback. Solution: Reset vgetc_busy. (closes #6010)
2020-04-26patch 8.2.0644: insufficient testing for invalid function argumentsv8.2.0644Bram Moolenaar
Problem: Insufficient testing for invalid function arguments. Solution: Add more tests. (Yegappan Lakshmanan, closes #5988)
2020-04-25patch 8.2.0634: crash with null partial and blobv8.2.0634Bram Moolenaar
Problem: Crash with null partial and blob. Solution: Check for NULL pointer. Add more tests. (Yegappan Lakshmanan, closes #5984)
2020-04-24patch 8.2.0633: crash when using null partial in filter()v8.2.0633Bram Moolenaar
Problem: Crash when using null partial in filter(). Solution: Fix crash. Add more tests. (Yegappan Lakshmanan, closes #5976)
2020-04-21patch 8.2.0615: regexp benchmark stest is old stylev8.2.0615Bram Moolenaar
Problem: Regexp benchmark stest is old style. Solution: Make it a new style test. Fix using a NULL list. Add more tests. (Yegappan Lakshmanan, closes #5963)
2020-04-13patch 8.2.0571: double free when passing invalid argument to job_start()v8.2.0571Bram Moolenaar
Problem: Double free when passing invalid argument to job_start(). Solution: Clear the argument when freed. (Masato Nishihata, closes #5926)
2020-04-12patch 8.2.0557: no IPv6 support for channelsv8.2.0557Bram Moolenaar
Problem: No IPv6 support for channels. Solution: Add IPv6 support. (Ozaki Kiichi, closes #5893)
2020-04-08patch 8.2.0533: tests using term_wait() can still be flakyv8.2.0533Bram Moolenaar
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-03-30patch 8.2.0482: channel and sandbox code not sufficiently testedv8.2.0482Bram Moolenaar
Problem: Channel and sandbox code not sufficiently tested. Solution: Add more tests. (Yegappan Lakshmanan, closes #5855)
2020-03-29patch 8.2.0475: channel out_cb test still fails sometimes on Macv8.2.0475Bram Moolenaar
Problem: Channel out_cb test still fails sometimes on Mac. Solution: Use an ever longer timeout.
2020-03-26patch 8.2.0453: trailing space in job_start() command causes empty argumentv8.2.0453Bram Moolenaar
Problem: Trailing space in job_start() command causes empty argument. Solution: Ignore trailing space. (closes #5851)
2020-03-20patch 8.2.0418: code in eval.c not sufficiently covered by testsv8.2.0418Bram Moolenaar
Problem: Code in eval.c not sufficiently covered by tests. Solution: Add more tests. (Yegappan Lakshmanan, closes #5815)
2020-03-19patch 8.2.0414: channel connect_waittime() test is flakyv8.2.0414Bram Moolenaar
Problem: Channel connect_waittime() test is flaky. Solution: Set the test_is_flaky flag. Use test_is_flaky for more tests.
2020-03-19patch 8.2.0410: channel test fails too often on slow Macv8.2.0410Bram Moolenaar
Problem: Channel test fails too often on slow Mac. Solution: Increase waiting time to 10 seconds.