2014-04-27 16:58:34 -07:00
|
|
|
package opencv
|
2014-04-26 03:11:51 -07:00
|
|
|
|
|
|
|
import (
|
|
|
|
. "github.com/onsi/ginkgo"
|
|
|
|
. "github.com/onsi/gomega"
|
|
|
|
)
|
|
|
|
|
|
|
|
var _ = Describe("Window", func() {
|
|
|
|
var (
|
2014-04-27 16:58:34 -07:00
|
|
|
w *WindowDriver
|
2014-04-26 03:11:51 -07:00
|
|
|
)
|
|
|
|
|
|
|
|
BeforeEach(func() {
|
2014-05-22 20:53:15 -07:00
|
|
|
w = NewWindowDriver("bot")
|
2014-04-26 03:11:51 -07:00
|
|
|
})
|
|
|
|
|
|
|
|
PIt("Must be able to Start", func() {
|
2014-04-27 16:58:34 -07:00
|
|
|
Expect(w.Start()).To(Equal(true))
|
2014-04-26 03:11:51 -07:00
|
|
|
})
|
|
|
|
PIt("Must be able to Init", func() {
|
2014-04-27 16:58:34 -07:00
|
|
|
Expect(w.Init()).To(Equal(true))
|
2014-04-26 03:11:51 -07:00
|
|
|
})
|
|
|
|
PIt("Must be able to Halt", func() {
|
2014-04-27 16:58:34 -07:00
|
|
|
Expect(w.Halt()).To(Equal(true))
|
2014-04-26 03:11:51 -07:00
|
|
|
})
|
|
|
|
})
|