Documentation
¶
Index ¶
- func Handle(args []string, stdout, stderr io.Writer) error
- func ResetTestHooks()
- func RunForTest(args []string, stdout, stderr io.Writer) int
- func SetBackendForTest(b lib.Backend)
- func SetGOOSForTest(goos string)
- func SetRunnerForTest(r Runner)
- func SetSettleMSForTest(ms int)
- type RecordingRunner
- type Runner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunForTest ¶
RunForTest runs the space handler in-process for tests.
func SetBackendForTest ¶
SetBackendForTest installs a Backend used instead of live Mission Control.
func SetGOOSForTest ¶
func SetGOOSForTest(goos string)
SetGOOSForTest overrides library platform check.
func SetRunnerForTest ¶
func SetRunnerForTest(r Runner)
SetRunnerForTest installs a Runner for --run follow-ups.
func SetSettleMSForTest ¶
func SetSettleMSForTest(ms int)
SetSettleMSForTest sets settle delay in ms (0 = no sleep).
Types ¶
type RecordingRunner ¶
RecordingRunner records follow-up invocations (tests).
Click to show internal directories.
Click to hide internal directories.