forked from macvim-dev/macvim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor MacVim tests and add startup delayed full screen tests
Add test suite utility functions to set/restore defaults, adding/tearing down a new Vim window, making temp files, wait for full screen transition. This helps simplify per-test code and prevent mistakes. Add new tests for delayed full screen on startup. This happens when a vimrc/gvimrc sets 'fullscreen' on startup and MacVim has to delay entering full screen until the window has been presented. This incidentally regression tests a bug (fixed in macvim-dev#1521) where simply having 'set fuopt= fullscreen' in a gvimrc would cause MacVim to crash on startup due to bad interaction with window resize messages.
- Loading branch information
Showing
3 changed files
with
196 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.