mocks

package
v0.4.11 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPullApprovedChecker

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

func NewMockPullApprovedChecker

func NewMockPullApprovedChecker() *MockPullApprovedChecker

func (*MockPullApprovedChecker) PullIsApproved

func (mock *MockPullApprovedChecker) PullIsApproved(baseRepo models.Repo, pull models.PullRequest) (bool, error)

func (*MockPullApprovedChecker) VerifyWasCalled

func (mock *MockPullApprovedChecker) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierPullApprovedChecker

func (*MockPullApprovedChecker) VerifyWasCalledInOrder

func (mock *MockPullApprovedChecker) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierPullApprovedChecker

func (*MockPullApprovedChecker) VerifyWasCalledOnce

func (mock *MockPullApprovedChecker) VerifyWasCalledOnce() *VerifierPullApprovedChecker

type PullApprovedChecker_PullIsApproved_OngoingVerification

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

func (*PullApprovedChecker_PullIsApproved_OngoingVerification) GetAllCapturedArguments

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

func (*PullApprovedChecker_PullIsApproved_OngoingVerification) GetCapturedArguments

type VerifierPullApprovedChecker

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

func (*VerifierPullApprovedChecker) PullIsApproved

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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