test_helper

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HelpRun

func HelpRun(c string, arg ...string) []string

func HelpRunPrint

func HelpRunPrint(command string) string

func HelpRunQ

func HelpRunQ(command string) string

func HelpRunVQ

func HelpRunVQ(command string) string

func Order

func Order(in []string) []string

Types

type LogWriter

type LogWriter struct {
}

func (LogWriter) Write

func (LogWriter) Write(p []byte) (n int, err error)

type TestCommand

type TestCommand struct {
	// contains filtered or unexported fields
}

func (*TestCommand) CustomRun

func (c *TestCommand) CustomRun(outEvent command.OutputEvent, errEvent command.OutputEvent) string

func (*TestCommand) Run

func (c *TestCommand) Run() []string

func (*TestCommand) Write

func (c *TestCommand) Write(b []byte) error

type TestCommandFactory

type TestCommandFactory struct {
	Output []string
}

func (*TestCommandFactory) Create

func (c *TestCommandFactory) Create(cmd string, arg ...string) command.Executable

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL