summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_autocmd.vim
AgeCommit message (Collapse)Author
2020-03-19patch 8.2.0406: FileReadCmd event not well testedv8.2.0406Bram Moolenaar
Problem: FileReadCmd event not well tested. Solution: Add a test.
2020-03-18patch 8.2.0402: setting local instead of global flagv8.2.0402Bram Moolenaar
Problem: Setting local instead of global flag. Solution: Prepend "g:" to "test_is_flaky".
2020-03-18patch 8.2.0400: not all tests using a terminal are in the list of flaky testsv8.2.0400Bram Moolenaar
Problem: Not all tests using a terminal are in the list of flaky tests. Solution: Introduce the test_is_flaky flag.
2020-03-15patch 8.2.0382: some tests fail when run under valgrindv8.2.0382Bram Moolenaar
Problem: Some tests fail when run under valgrind. Solution: Increase timeouts.
2020-02-23patch 8.2.0310: autocmd test fails on a slow systemv8.2.0310Bram Moolenaar
Problem: Autocmd test fails on a slow system. Solution: Adjust the expectations. (James McCoy, closes #5685)
2020-02-22patch 8.2.0303: TermChanged test fails in the GUIv8.2.0303Bram Moolenaar
Problem: TermChanged test fails in the GUI. Solution: Skip the test when running the GUI.
2020-02-22patch 8.2.0302: setting 'term' may cause error in TermChanged autocommandv8.2.0302Bram Moolenaar
Problem: Setting 'term' may cause error in TermChanged autocommand. Solution: Use aucmd_prepbuf() to switch to the buffer where the autocommand is to be executed. (closes #5682)
2020-02-18patch 8.2.0275: some Ex code not covered by testsv8.2.0275Bram Moolenaar
Problem: Some Ex code not covered by tests. Solution: Add test cases. (Yegappan Lakshmanan, closes #5659)
2020-02-17patch 8.2.0270: some code not covered by testsv8.2.0270Bram Moolenaar
Problem: Some code not covered by tests. Solution: Add test cases. (Yegappan Lakshmanan, closes #5649)
2020-01-07patch 8.2.0097: crash with autocommand and spellfilev8.2.0097Bram Moolenaar
Problem: Crash with autocommand and spellfile. (Tim Pope) Solution: Do not pop exestack when not pushed. (closes #5450)
2019-12-07patch 8.1.2403: autocmd test fails under valgrindv8.1.2403Bram Moolenaar
Problem: Autocmd test fails under valgrind. Solution: Wait a bit longer.
2019-12-01patch 8.1.2373: cannot build with +popupwin but without +quickfixv8.1.2373Bram Moolenaar
Problem: Cannot build with +popupwin but without +quickfix. (John Marriott) Solution: Adjust #ifdefs.
2019-11-16patch 8.1.2302: :lockmarks does not work for '[ and ']v8.1.2302Bram Moolenaar
Problem: :lockmarks does not work for '[ and ']. Solution: save and restore '[ and '] marks. (James McCoy, closes #5222)
2019-11-10patch 8.1.2290: autocommand test failsv8.1.2290Bram Moolenaar
Problem: Autocommand test fails. Solution: Remove 'closeoff' from 'diffopt'.
2019-11-09patch 8.1.2278: using "cd" with "exe" may failv8.1.2278Bram Moolenaar
Problem: Using "cd" with "exe" may fail. Solution: Use chdir() instead.
2019-10-11patch 8.1.2136: using freed memory with autocmd from fuzzerv8.1.2136Bram Moolenaar
Problem: using freed memory with autocmd from fuzzer. (Dhiraj Mishra, Dominique Pelle) Solution: Avoid using "wp" after autocommands. (closes #5041)
2019-10-01patch 8.1.2108: cannot close the cmdline window from CmdWinEnterv8.1.2108Bram Moolenaar
Problem: Cannot close the cmdline window from CmdWinEnter. (George Brown) Solution: Reset cmdwin_result earlier. (Christian Brabandt, closes #4980)
2019-09-22patch 8.1.2069: test for SafeStateAgain may still failv8.1.2069Bram Moolenaar
Problem: Test for SafeStateAgain may still fail. Solution: Send another message to trigger SafeStateAgain.
2019-09-22patch 8.1.2068: test for SafeState and SafeStateAgain may failv8.1.2068Bram Moolenaar
Problem: Test for SafeState and SafeStateAgain may fail. Solution: Accept more possible responses
2019-09-22patch 8.1.2067: no tests for SafeState and SafeStateAgainv8.1.2067Bram Moolenaar
Problem: No tests for SafeState and SafeStateAgain. Solution: Add tests.
2019-09-01patch 8.1.1955: tests contain typosv8.1.1955Bram Moolenaar
Problem: Tests contain typos. Solution: Correct the typos. (Dominique Pelle)
2019-08-14patch 8.1.1846: inconsistently using GetVimCommand() and v:progpathv8.1.1846Bram Moolenaar
Problem: Inconsistently using GetVimCommand() and v:progpath. (Daniel Hahler) Solution: Use GetVimCommand(). (closes #4806)
2019-08-07patch 8.1.1826: tests use hand coded feature and option checksv8.1.1826Bram Moolenaar
Problem: Tests use hand coded feature and option checks. Solution: Use the commands from check.vim in more tests.
2019-06-15patch 8.1.1546: in some tests 'tags' is set but not restoredv8.1.1546Bram Moolenaar
Problem: In some tests 'tags' is set but not restored. (Daniel Hahler) Solution: Restore 'tags'. (closes #4535)
2019-06-15patch 8.1.1542: an OptionSet autocommand does not get enough infov8.1.1542Bram Moolenaar
Problem: An OptionSet autocommand does not get enough info. Solution: Add v:option_command, v:option_oldlocal and v:option_oldglobal. (Latrice Wilgus, closes #4118)
2019-05-20patch 8.1.1362: code and data in tests can be hard to readv8.1.1362Bram Moolenaar
Problem: Code and data in tests can be hard to read. Solution: Use the new heredoc style. (Yegappan Lakshmanan, closes #4400)
2019-05-12patch 8.1.1325: cannot build with +eval but without +channel and +timersv8.1.1325Bram Moolenaar
Problem: Cannot build with +eval but without +channel and +timers. (John Marriott) Solution: Adjust #ifdef for get_callback().
2019-05-09patch 8.1.1311: aborting an autocmd with an exception is not testedv8.1.1311Bram Moolenaar
Problem: Aborting an autocmd with an exception is not tested. Solution: Add a test. Also shows how to abort a command by throwing an exception.
2019-04-25patch 8.1.1205: a BufReadPre autocommand may cause the cursor to movev8.1.1205Bram Moolenaar
Problem: A BufReadPre autocommand may cause the cursor to move. Solution: Restore the cursor position after executing the autocommand, unless the autocommand moved it. (Christian Brabandt, closes #4302, closes #4294)
2019-04-25patch 8.1.1203: some autocmd tests are old stylev8.1.1203Bram Moolenaar
Problem: Some autocmd tests are old style. Solution: Turn the tests into new style. (Yegappan Lakshmanan, closes #4295)
2019-04-04patch 8.1.1113: making an autocommand trigger once is not so easyv8.1.1113Bram Moolenaar
Problem: Making an autocommand trigger once is not so easy. Solution: Add the ++once argument. Also add ++nested as an alias for "nested". (Justin M. Keyes, closes #4100)
2019-02-03patch 8.1.0870: Vim doesn't use the new ConPTY support in Windows 10v8.1.0870Bram Moolenaar
Problem: Vim doesn't use the new ConPTY support in Windows 10. Solution: Use ConPTY support, if available. (Nobuhiro Takasaki, closes #3794)
2019-01-30patch 8.1.0851: feedkeys() with "L" does not work properlyv8.1.0851Bram Moolenaar
Problem: feedkeys() with "L" does not work properly. Solution: Do not set typebuf_was_filled when using "L". (Ozaki Kiichi, closes #3885)
2019-01-27patch 8.1.0837: timer interrupting cursorhold and mapping not testedv8.1.0837Bram Moolenaar
Problem: Timer interrupting cursorhold and mapping not tested. Solution: Add tests with timers. (Ozaki Kiichi, closes #3871)
2019-01-24patch 8.1.0815: dialog for file changed outside of Vim not testedv8.1.0815Bram Moolenaar
Problem: Dialog for file changed outside of Vim not tested. Solution: Add a test. Move FileChangedShell test. Add 'L' flag to feedkeys().
2019-01-24patch 8.1.0813: FileChangedShell not sufficiently testedv8.1.0813Bram Moolenaar
Problem: FileChangedShell not sufficiently tested. Solution: Add a more comprehensive test case.
2019-01-09patch 8.1.0711: test files still use function!v8.1.0711Bram Moolenaar
Problem: Test files still use function!. Solution: Remove the exclamation mark. Fix overwriting a function.
2018-12-21patch 8.1.0613: when executing an insecure function the secure flag is stuckv8.1.0613Bram Moolenaar
Problem: When executing an insecure function the secure flag is stuck. (Gabriel Barta) Solution: Restore "secure" instead of decrementing it. (closes #3705)
2018-12-16patch 8.1.0602: DirChanged is also triggered when directory didn't changev8.1.0602Bram Moolenaar
Problem: DirChanged is also triggered when the directory didn't change. (Daniel Hahler) Solution: Compare the current with the new directory. (closes #3697)
2018-08-08patch 8.1.0256: using setline() in TextChangedI splits undov8.1.0256Bram Moolenaar
Problem: Using setline() in TextChangedI splits undo. Solution: Use another solution for undo not working properly.
2018-08-07patch 8.1.0245: calling setline() in TextChangedI autocmd breaks undov8.1.0245Bram Moolenaar
Problem: Calling setline() in TextChangedI autocmd breaks undo. (Jason Felice) Solution: Don't save lines for undo when already saved. (closes #3291)
2018-04-28patch 8.0.1771: in tests, when WaitFor() fails it doesn't say whyv8.0.1771Bram Moolenaar
Problem: In tests, when WaitFor() fails it doesn't say why. (James McCoy) Solution: Add WaitForAssert(), which produces an assert error when it fails.
2018-04-22patch 8.0.1748: CmdlineEnter command uses backslash instead of slashv8.0.1748Bram Moolenaar
Problem: CmdlineEnter command uses backslash instead of slash. Solution: Don't treat the character as a file name. (closes #2837)
2018-04-17patch 8.0.1732: crash when terminal API call deletes the bufferv8.0.1732Bram Moolenaar
Problem: Crash when terminal API call deletes the buffer. Solution: Lock the buffer while calling a function. (closes #2813)
2018-03-29patch 8.0.1653: screen dump is made too soonv8.0.1653Bram Moolenaar
Problem: Screen dump is made too soon. Solution: Wait until the ruler is displayed. (Ozaki Kiichi, closes #2755)
2018-03-23patch 8.0.1633: a TextChanged autocmd triggers when it is definedv8.0.1633Bram Moolenaar
Problem: A TextChanged autocmd triggers when it is defined after creating a buffer. Solution: Set b_last_changedtick when opening a buffer. (Hirohito Highlight, closes #2742)
2018-02-10patch 8.0.1494: no autocmd triggered in Insert mode with visible popup menuv8.0.1494Bram Moolenaar
Problem: No autocmd triggered in Insert mode with visible popup menu. Solution: Add TextChangedP. (Prabir Shrestha, Christian Brabandt, closes #2372, closes #1691) Fix that the TextChanged autocommands are not always triggered when sourcing a script.
2018-02-03patch 8.0.1463: test fails without 'autochdir' optionv8.0.1463Bram Moolenaar
Problem: Test fails without 'autochdir' option. Solution: Skip test if 'autochdir' is not supported.
2018-02-03patch 8.0.1459: cannot handle change of directoryv8.0.1459Bram Moolenaar
Problem: Cannot handle change of directory. Solution: Add the DirChanged autocommand event. (Andy Massimino, closes #888) Avoid changing directory for 'autochdir' too often.
2018-01-31patch 8.0.1445: cannot act on edits in the command linev8.0.1445Bram Moolenaar
Problem: Cannot act on edits in the command line. Solution: Add the CmdlineChanged autocommand event. (xtal8, closes #2603, closes #2524)