Documentation ¶
Index ¶
- type MockJob
- func (mock *MockJob) FailHandler() pegomock.FailHandler
- func (mock *MockJob) Run()
- func (mock *MockJob) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockJob) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockJob
- func (mock *MockJob) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockJob
- func (mock *MockJob) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockJob
- func (mock *MockJob) VerifyWasCalledOnce() *VerifierMockJob
- type MockJob_Run_OngoingVerification
- type VerifierMockJob
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockJob ¶
type MockJob struct {
// contains filtered or unexported fields
}
func NewMockJob ¶
func (*MockJob) FailHandler ¶
func (mock *MockJob) FailHandler() pegomock.FailHandler
func (*MockJob) SetFailHandler ¶
func (mock *MockJob) SetFailHandler(fh pegomock.FailHandler)
func (*MockJob) VerifyWasCalled ¶
func (mock *MockJob) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockJob
func (*MockJob) VerifyWasCalledEventually ¶
func (mock *MockJob) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockJob
func (*MockJob) VerifyWasCalledInOrder ¶
func (mock *MockJob) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockJob
func (*MockJob) VerifyWasCalledOnce ¶
func (mock *MockJob) VerifyWasCalledOnce() *VerifierMockJob
type MockJob_Run_OngoingVerification ¶
type MockJob_Run_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockJob_Run_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockJob_Run_OngoingVerification) GetAllCapturedArguments()
func (*MockJob_Run_OngoingVerification) GetCapturedArguments ¶
func (c *MockJob_Run_OngoingVerification) GetCapturedArguments()
type VerifierMockJob ¶
type VerifierMockJob struct {
// contains filtered or unexported fields
}
func (*VerifierMockJob) Run ¶
func (verifier *VerifierMockJob) Run() *MockJob_Run_OngoingVerification
Click to show internal directories.
Click to hide internal directories.