2014-04-28 07:58:34 +08:00
|
|
|
package opencv
|
2014-04-26 18:11:51 +08:00
|
|
|
|
|
|
|
import (
|
2014-06-14 04:45:50 +08:00
|
|
|
"github.com/hybridgroup/gobot"
|
|
|
|
"testing"
|
2014-04-26 18:11:51 +08:00
|
|
|
)
|
|
|
|
|
2014-06-14 04:45:50 +08:00
|
|
|
var w *WindowDriver
|
2014-04-26 18:11:51 +08:00
|
|
|
|
2014-06-14 04:45:50 +08:00
|
|
|
func init() {
|
|
|
|
w = NewWindowDriver("bot")
|
|
|
|
}
|
2014-04-26 18:11:51 +08:00
|
|
|
|
2014-06-14 04:45:50 +08:00
|
|
|
func TestWindowStart(t *testing.T) {
|
|
|
|
t.SkipNow()
|
|
|
|
gobot.Expect(t, w.Start(), true)
|
|
|
|
}
|
|
|
|
|
|
|
|
func TestWindowHalt(t *testing.T) {
|
|
|
|
t.SkipNow()
|
|
|
|
gobot.Expect(t, w.Halt(), true)
|
|
|
|
}
|
|
|
|
|
|
|
|
func TestWindowInit(t *testing.T) {
|
|
|
|
t.SkipNow()
|
|
|
|
gobot.Expect(t, w.Init(), true)
|
|
|
|
}
|