Function
NewTestDriver
(gui integrationTypes.GuiDriver, shell *Shell, keys config.KeybindingConfig, inputDelay int)
Source from the content-addressed store, hash-verified
| 18 | } |
| 19 | |
| 20 | func NewTestDriver(gui integrationTypes.GuiDriver, shell *Shell, keys config.KeybindingConfig, inputDelay int) *TestDriver { |
| 21 | return &TestDriver{ |
| 22 | gui: gui, |
| 23 | keys: keys, |
| 24 | inputDelay: inputDelay, |
| 25 | assertionHelper: &assertionHelper{gui: gui}, |
| 26 | shell: shell, |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | // key is something like 'w' or '<space>'. It's best not to pass a direct value, |
| 31 | // but instead to go through the default user config to get a more meaningful key name |
Tested by
no test coverage detected