hybridgroup.gobot/platforms/opencv/window_driver_test.go

29 lines
510 B
Go
Raw Normal View History

2014-04-28 07:58:34 +08:00
package opencv
import (
2014-06-14 04:45:50 +08:00
"github.com/hybridgroup/gobot"
"testing"
)
2014-06-14 07:01:39 +08:00
func initTestWindowDriver() *WindowDriver {
return NewWindowDriver("bot")
2014-06-14 04:45:50 +08:00
}
2014-06-14 07:01:39 +08:00
func TestWindowDriverStart(t *testing.T) {
2014-06-14 04:45:50 +08:00
t.SkipNow()
2014-06-14 07:01:39 +08:00
d := initTestWindowDriver()
gobot.Assert(t, d.Start(), true)
2014-06-14 04:45:50 +08:00
}
2014-06-14 07:01:39 +08:00
func TestWindowDriverHalt(t *testing.T) {
2014-06-14 04:45:50 +08:00
t.SkipNow()
2014-06-14 07:01:39 +08:00
d := initTestWindowDriver()
gobot.Assert(t, d.Halt(), true)
2014-06-14 04:45:50 +08:00
}
2014-06-14 07:01:39 +08:00
func TestWindowDriverInit(t *testing.T) {
2014-06-14 04:45:50 +08:00
t.SkipNow()
2014-06-14 07:01:39 +08:00
d := initTestWindowDriver()
gobot.Assert(t, d.Init(), true)
2014-06-14 04:45:50 +08:00
}