mocks

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 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 ClientProxy_CreateComment_OngoingVerification

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

func (*ClientProxy_CreateComment_OngoingVerification) GetAllCapturedArguments

func (c *ClientProxy_CreateComment_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest, _param2 []string, _param3 []vcs.Host)

func (*ClientProxy_CreateComment_OngoingVerification) GetCapturedArguments

type ClientProxy_GetModifiedFiles_OngoingVerification

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

func (*ClientProxy_GetModifiedFiles_OngoingVerification) GetAllCapturedArguments

func (c *ClientProxy_GetModifiedFiles_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest, _param2 []vcs.Host)

func (*ClientProxy_GetModifiedFiles_OngoingVerification) GetCapturedArguments

type ClientProxy_PullIsApproved_OngoingVerification

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

func (*ClientProxy_PullIsApproved_OngoingVerification) GetAllCapturedArguments

func (c *ClientProxy_PullIsApproved_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest, _param2 []vcs.Host)

func (*ClientProxy_PullIsApproved_OngoingVerification) GetCapturedArguments

type ClientProxy_UpdateStatus_OngoingVerification

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

func (*ClientProxy_UpdateStatus_OngoingVerification) GetAllCapturedArguments

func (c *ClientProxy_UpdateStatus_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest, _param2 []vcs.CommitStatus, _param3 []string, _param4 []vcs.Host)

func (*ClientProxy_UpdateStatus_OngoingVerification) GetCapturedArguments

type Client_CreateComment_OngoingVerification

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

func (*Client_CreateComment_OngoingVerification) GetAllCapturedArguments

func (c *Client_CreateComment_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest, _param2 []string)

func (*Client_CreateComment_OngoingVerification) GetCapturedArguments

type Client_GetModifiedFiles_OngoingVerification

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

func (*Client_GetModifiedFiles_OngoingVerification) GetAllCapturedArguments

func (c *Client_GetModifiedFiles_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest)

func (*Client_GetModifiedFiles_OngoingVerification) GetCapturedArguments

type Client_PullIsApproved_OngoingVerification

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

func (*Client_PullIsApproved_OngoingVerification) GetAllCapturedArguments

func (c *Client_PullIsApproved_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest)

func (*Client_PullIsApproved_OngoingVerification) GetCapturedArguments

type Client_UpdateStatus_OngoingVerification

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

func (*Client_UpdateStatus_OngoingVerification) GetAllCapturedArguments

func (c *Client_UpdateStatus_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest, _param2 []vcs.CommitStatus, _param3 []string)

func (*Client_UpdateStatus_OngoingVerification) GetCapturedArguments

type MockClient

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

func NewMockClient

func NewMockClient() *MockClient

func (*MockClient) CreateComment

func (mock *MockClient) CreateComment(repo models.Repo, pull models.PullRequest, comment string) error

func (*MockClient) GetModifiedFiles

func (mock *MockClient) GetModifiedFiles(repo models.Repo, pull models.PullRequest) ([]string, error)

func (*MockClient) PullIsApproved

func (mock *MockClient) PullIsApproved(repo models.Repo, pull models.PullRequest) (bool, error)

func (*MockClient) UpdateStatus

func (mock *MockClient) UpdateStatus(repo models.Repo, pull models.PullRequest, state vcs.CommitStatus, description string) error

func (*MockClient) VerifyWasCalled

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

func (*MockClient) VerifyWasCalledInOrder

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

func (*MockClient) VerifyWasCalledOnce

func (mock *MockClient) VerifyWasCalledOnce() *VerifierClient

type MockClientProxy

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

func NewMockClientProxy

func NewMockClientProxy() *MockClientProxy

func (*MockClientProxy) CreateComment

func (mock *MockClientProxy) CreateComment(repo models.Repo, pull models.PullRequest, comment string, host vcs.Host) error

func (*MockClientProxy) GetModifiedFiles

func (mock *MockClientProxy) GetModifiedFiles(repo models.Repo, pull models.PullRequest, host vcs.Host) ([]string, error)

func (*MockClientProxy) PullIsApproved

func (mock *MockClientProxy) PullIsApproved(repo models.Repo, pull models.PullRequest, host vcs.Host) (bool, error)

func (*MockClientProxy) UpdateStatus

func (mock *MockClientProxy) UpdateStatus(repo models.Repo, pull models.PullRequest, state vcs.CommitStatus, description string, host vcs.Host) error

func (*MockClientProxy) VerifyWasCalled

func (mock *MockClientProxy) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierClientProxy

func (*MockClientProxy) VerifyWasCalledInOrder

func (mock *MockClientProxy) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierClientProxy

func (*MockClientProxy) VerifyWasCalledOnce

func (mock *MockClientProxy) VerifyWasCalledOnce() *VerifierClientProxy

type VerifierClient

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

func (*VerifierClient) CreateComment

func (verifier *VerifierClient) CreateComment(repo models.Repo, pull models.PullRequest, comment string) *Client_CreateComment_OngoingVerification

func (*VerifierClient) GetModifiedFiles

func (*VerifierClient) PullIsApproved

func (*VerifierClient) UpdateStatus

func (verifier *VerifierClient) UpdateStatus(repo models.Repo, pull models.PullRequest, state vcs.CommitStatus, description string) *Client_UpdateStatus_OngoingVerification

type VerifierClientProxy

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

func (*VerifierClientProxy) CreateComment

func (*VerifierClientProxy) GetModifiedFiles

func (*VerifierClientProxy) PullIsApproved

func (*VerifierClientProxy) UpdateStatus

func (verifier *VerifierClientProxy) UpdateStatus(repo models.Repo, pull models.PullRequest, state vcs.CommitStatus, description string, host vcs.Host) *ClientProxy_UpdateStatus_OngoingVerification

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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