mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +00:00
add ShowAlert() test support
This commit is contained in:
parent
d3c96e4b81
commit
ee19a94ec5
@ -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 New Issue
Block a user