mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-24 10:19:01 +00:00
add ShowAlert() test support
This commit is contained in:
parent
d3c96e4b81
commit
ee19a94ec5
1 changed files with 10 additions and 0 deletions
|
|
@ -149,3 +149,13 @@ func TestBitmap(t *testing.T) {
|
|||
tt.True(t, b)
|
||||
tt.NotNil(t, bit1)
|
||||
}
|
||||
|
||||
func TestAlert(t *testing.T) {
|
||||
go func() {
|
||||
MilliSleep(100)
|
||||
KeyTap("enter")
|
||||
}()
|
||||
|
||||
i := ShowAlert("t", "msg")
|
||||
tt.Zero(t, i)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue