Documentation ¶
Overview ¶
Package testdriver is a support package for plugins written using github.com/myitcv/govim
Index ¶
Constants ¶
View Source
const (
KeyErrLog = "errLog"
)
Variables ¶
This section is empty.
Functions ¶
func ErrLogMatch ¶ added in v0.0.18
func ErrLogMatch(ts *testscript.TestScript, neg bool, args []string)
func Sleep ¶ added in v0.0.3
func Sleep(ts *testscript.TestScript, neg bool, args []string)
Sleep is a convenience function for those odd occasions when you need to drop in a sleep, e.g. waiting for CursorHold to trigger
Types ¶
type LockingBuffer ¶ added in v0.0.18
type LockingBuffer struct { LastRead []byte // contains filtered or unexported fields }
func (*LockingBuffer) Bytes ¶ added in v0.0.18
func (l *LockingBuffer) Bytes() []byte
type TestDriver ¶
func NewTestDriver ¶
func NewTestDriver(c *Config) (*TestDriver, error)
func (*TestDriver) Close ¶
func (d *TestDriver) Close()
func (*TestDriver) LogStripANSI ¶ added in v0.0.21
func (d *TestDriver) LogStripANSI(r io.Reader)
func (*TestDriver) Logf ¶ added in v0.0.21
func (d *TestDriver) Logf(format string, a ...interface{})
func (*TestDriver) Run ¶
func (d *TestDriver) Run() error
func (*TestDriver) Wait ¶
func (d *TestDriver) Wait() error
Click to show internal directories.
Click to hide internal directories.