another integration test

This commit is contained in:
Jesse Duffield 2022-08-08 21:32:58 +10:00
parent 77881a9c7d
commit 225c563c63
46 changed files with 326 additions and 26 deletions

View file

@ -21,10 +21,15 @@ func (gui *Gui) handleTestMode() {
go func() {
time.Sleep(time.Millisecond * 100)
shell := &integration.ShellImpl{}
assert := &AssertImpl{gui: gui}
keys := gui.Config.GetUserConfig().Keybinding
input := NewInputImpl(gui, keys, assert, integration.KeyPressDelay())
test.Run(
&integration.ShellImpl{},
&InputImpl{g: gui.g, keys: gui.Config.GetUserConfig().Keybinding},
&AssertImpl{gui: gui},
shell,
input,
assert,
gui.c.UserConfig.Keybinding,
)