mocks

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRunner

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

func NewMockRunner

func NewMockRunner() *MockRunner

func (*MockRunner) RunCommandWithVersion

func (mock *MockRunner) RunCommandWithVersion(log *logging.SimpleLogger, path string, args []string, v *go_version.Version, env string) (string, error)

func (*MockRunner) RunInitAndEnv

func (mock *MockRunner) RunInitAndEnv(log *logging.SimpleLogger, path string, env string, extraInitArgs []string, version *go_version.Version) ([]string, error)

func (*MockRunner) VerifyWasCalled

func (mock *MockRunner) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierRunner

func (*MockRunner) VerifyWasCalledInOrder

func (mock *MockRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierRunner

func (*MockRunner) VerifyWasCalledOnce

func (mock *MockRunner) VerifyWasCalledOnce() *VerifierRunner

func (*MockRunner) Version

func (mock *MockRunner) Version() *go_version.Version

type Runner_RunCommandWithVersion_OngoingVerification

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

func (*Runner_RunCommandWithVersion_OngoingVerification) GetAllCapturedArguments

func (c *Runner_RunCommandWithVersion_OngoingVerification) GetAllCapturedArguments() (_param0 []*logging.SimpleLogger, _param1 []string, _param2 [][]string, _param3 []*go_version.Version, _param4 []string)

func (*Runner_RunCommandWithVersion_OngoingVerification) GetCapturedArguments

type Runner_RunInitAndEnv_OngoingVerification

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

func (*Runner_RunInitAndEnv_OngoingVerification) GetAllCapturedArguments

func (c *Runner_RunInitAndEnv_OngoingVerification) GetAllCapturedArguments() (_param0 []*logging.SimpleLogger, _param1 []string, _param2 []string, _param3 [][]string, _param4 []*go_version.Version)

func (*Runner_RunInitAndEnv_OngoingVerification) GetCapturedArguments

type Runner_Version_OngoingVerification

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

func (*Runner_Version_OngoingVerification) GetAllCapturedArguments

func (c *Runner_Version_OngoingVerification) GetAllCapturedArguments()

func (*Runner_Version_OngoingVerification) GetCapturedArguments

func (c *Runner_Version_OngoingVerification) GetCapturedArguments()

type VerifierRunner

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

func (*VerifierRunner) RunCommandWithVersion

func (verifier *VerifierRunner) RunCommandWithVersion(log *logging.SimpleLogger, path string, args []string, v *go_version.Version, env string) *Runner_RunCommandWithVersion_OngoingVerification

func (*VerifierRunner) RunInitAndEnv

func (verifier *VerifierRunner) RunInitAndEnv(log *logging.SimpleLogger, path string, env string, extraInitArgs []string, version *go_version.Version) *Runner_RunInitAndEnv_OngoingVerification

func (*VerifierRunner) Version

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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