add ShowAlert() test support

This commit is contained in:
vcaesar 2020-03-23 15:34:33 -04:00
parent d3c96e4b81
commit ee19a94ec5

View File

@ -149,3 +149,13 @@ func TestBitmap(t *testing.T) {
tt.True(t, b) tt.True(t, b)
tt.NotNil(t, bit1) tt.NotNil(t, bit1)
} }
func TestAlert(t *testing.T) {
go func() {
MilliSleep(100)
KeyTap("enter")
}()
i := ShowAlert("t", "msg")
tt.Zero(t, i)
}