@@ -94,6 +94,7 @@ test_gui_event({event}, {args})
94
94
"findrepl" search and replace text.
95
95
"mouse" mouse button click event.
96
96
"scrollbar" move or drag the scrollbar.
97
+ "sendevent" send a low-level GUI event.
97
98
"tabline" select a tab page by mouse click.
98
99
"tabmenu" select a tabline menu entry.
99
100
@@ -177,6 +178,16 @@ test_gui_event({event}, {args})
177
178
dragging: 1 to drag the scrollbar and 0 to click in the
178
179
scrollbar.
179
180
181
+ "sendevent":
182
+ Send a low-level GUI event (e.g. key-up or down).
183
+ Currently only supported on MS-Windows.
184
+ The supported items in {args} are:
185
+ event: The supported string values are:
186
+ keyup generate a keyup event
187
+ keydown generate a keydown event
188
+ keycode: Keycode to use for a keyup or a keydown event.
189
+ *E1291*
190
+
180
191
"tabline":
181
192
Inject a mouse click event on the tabline to select a
182
193
tabpage. The supported items in {args} are:
@@ -268,6 +279,9 @@ test_override({name}, {val}) *test_override()*
268
279
Current supported values for {name} are:
269
280
270
281
{name} effect when {val} is non-zero ~
282
+ alloc_lines make a copy of every buffer line into allocated
283
+ memory, so that memory access errors can be found
284
+ by valgrind
271
285
autoload `import autoload` will load the script right
272
286
away, not postponed until an item is used
273
287
char_avail disable the char_avail() function
@@ -287,7 +301,8 @@ test_override({name}, {val}) *test_override()*
287
301
uptime overrules sysinfo.uptime
288
302
vterm_title setting the window title by a job running in a
289
303
terminal window
290
- ALL clear all overrides ({val} is not used)
304
+ ALL clear all overrides, except alloc_lines ({val} is
305
+ not used)
291
306
292
307
"starting" is to be used when a test should behave like
293
308
startup was done. Since the tests are run by sourcing a
0 commit comments