mocks

package
v0.4.13 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client_RunCommandWithVersion_OngoingVerification added in v0.2.2

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

func (*Client_RunCommandWithVersion_OngoingVerification) GetAllCapturedArguments added in v0.2.2

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

func (*Client_RunCommandWithVersion_OngoingVerification) GetCapturedArguments added in v0.2.2

type Client_Version_OngoingVerification added in v0.2.2

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

func (*Client_Version_OngoingVerification) GetAllCapturedArguments added in v0.2.2

func (c *Client_Version_OngoingVerification) GetAllCapturedArguments()

func (*Client_Version_OngoingVerification) GetCapturedArguments added in v0.2.2

func (c *Client_Version_OngoingVerification) GetCapturedArguments()

type MockClient added in v0.2.2

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

func NewMockClient added in v0.2.2

func NewMockClient() *MockClient

func (*MockClient) RunCommandWithVersion added in v0.2.2

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

func (*MockClient) VerifyWasCalled added in v0.2.2

func (mock *MockClient) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierClient

func (*MockClient) VerifyWasCalledEventually added in v0.4.13

func (mock *MockClient) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierClient

func (*MockClient) VerifyWasCalledInOrder added in v0.2.2

func (mock *MockClient) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierClient

func (*MockClient) VerifyWasCalledOnce added in v0.2.2

func (mock *MockClient) VerifyWasCalledOnce() *VerifierClient

func (*MockClient) Version added in v0.2.2

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

type VerifierClient added in v0.2.2

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

func (*VerifierClient) RunCommandWithVersion added in v0.2.2

func (verifier *VerifierClient) RunCommandWithVersion(log *logging.SimpleLogger, path string, args []string, v *go_version.Version, workspace string) *Client_RunCommandWithVersion_OngoingVerification

func (*VerifierClient) Version added in v0.2.2

Directories

Path Synopsis
Code generated by pegomock.
Code generated by pegomock.

Jump to

Keyboard shortcuts

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