test

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Workbench

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

func SetupWorkbench

func SetupWorkbench(t *testing.T) Workbench

func (*Workbench) Close

func (wb *Workbench) Close()

func (*Workbench) CopyFile

func (wb *Workbench) CopyFile(src, dst string)

func (*Workbench) GetDaemonPid

func (wb *Workbench) GetDaemonPid() int

func (*Workbench) InTmpDataPath

func (wb *Workbench) InTmpDataPath(path string) string

func (*Workbench) KillFakeShell

func (wb *Workbench) KillFakeShell(pid int)

func (*Workbench) LaunchFakeShell

func (wb *Workbench) LaunchFakeShell() int

func (*Workbench) NewCodCmd

func (wb *Workbench) NewCodCmd(args ...string) exec.Cmd

func (*Workbench) ParseCodListCommands

func (wb *Workbench) ParseCodListCommands(s string) []string

func (*Workbench) ParseCodListMap

func (wb *Workbench) ParseCodListMap(s string) map[int]string

func (*Workbench) RunCodCmd

func (wb *Workbench) RunCodCmd(args ...string) string

func (*Workbench) RunCodCmdModifiedEnv

func (wb *Workbench) RunCodCmdModifiedEnv(env map[string]string, args ...string) string

func (*Workbench) SplitLines

func (wb *Workbench) SplitLines(s string) []string

func (*Workbench) UncheckedRunCodCmd

func (wb *Workbench) UncheckedRunCodCmd(args ...string) (string, error)

Jump to

Keyboard shortcuts

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