mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-10 02:23:54 +00:00
update show alert test code
This commit is contained in:
parent
ee19a94ec5
commit
8bfef356cc
@ -13,6 +13,7 @@
|
|||||||
package robotgo
|
package robotgo
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/vcaesar/tt"
|
"github.com/vcaesar/tt"
|
||||||
@ -152,8 +153,9 @@ func TestBitmap(t *testing.T) {
|
|||||||
|
|
||||||
func TestAlert(t *testing.T) {
|
func TestAlert(t *testing.T) {
|
||||||
go func() {
|
go func() {
|
||||||
MilliSleep(100)
|
MilliSleep(200)
|
||||||
KeyTap("enter")
|
KeyTap("enter")
|
||||||
|
log.Println("tap...")
|
||||||
}()
|
}()
|
||||||
|
|
||||||
i := ShowAlert("t", "msg")
|
i := ShowAlert("t", "msg")
|
||||||
|
Loading…
Reference in New Issue
Block a user