mock_flow

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_flow is a generated GoMock package.

Package mock_flow is a generated GoMock package.

Package mock_flow is a generated GoMock package.

Package mock_flow is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFlow

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

MockFlow is a mock of Flow interface

func NewMockFlow

func NewMockFlow(ctrl *gomock.Controller) *MockFlow

NewMockFlow creates a new mock instance

func (*MockFlow) EXPECT

func (m *MockFlow) EXPECT() *MockFlowMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockFlow) FlowDone

func (m *MockFlow) FlowDone(arg0 string)

FlowDone mocks base method

func (*MockFlow) Length

func (m *MockFlow) Length() int

Length mocks base method

func (*MockFlow) Step

func (m *MockFlow) Step(arg0 int) steps.Step

Step mocks base method

func (*MockFlow) StepDone

func (m *MockFlow) StepDone(arg0 string, arg1 int, arg2 interface{})

StepDone mocks base method

func (*MockFlow) Steps added in v0.1.9

func (m *MockFlow) Steps() []steps.Step

Steps mocks base method

func (*MockFlow) URL

func (m *MockFlow) URL() string

URL mocks base method

type MockFlowController

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

MockFlowController is a mock of FlowController interface

func NewMockFlowController

func NewMockFlowController(ctrl *gomock.Controller) *MockFlowController

NewMockFlowController creates a new mock instance

func (*MockFlowController) Cancel

func (m *MockFlowController) Cancel(arg0 string) error

Cancel mocks base method

func (*MockFlowController) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockFlowController) GetCurrentStep added in v0.1.9

func (m *MockFlowController) GetCurrentStep(arg0 string) (steps.Step, int, error)

GetCurrentStep mocks base method

func (*MockFlowController) GetHandlerURL added in v0.1.9

func (m *MockFlowController) GetHandlerURL() string

GetHandlerURL mocks base method

func (*MockFlowController) NextStep

func (m *MockFlowController) NextStep(arg0 string, arg1 int, arg2 interface{}) error

NextStep mocks base method

func (*MockFlowController) RegisterFlow

func (m *MockFlowController) RegisterFlow(arg0 flow.Flow, arg1 flow.FlowStore)

RegisterFlow mocks base method

func (*MockFlowController) Start

func (m *MockFlowController) Start(arg0 string) error

Start mocks base method

type MockFlowControllerMockRecorder

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

MockFlowControllerMockRecorder is the mock recorder for MockFlowController

func (*MockFlowControllerMockRecorder) Cancel

func (mr *MockFlowControllerMockRecorder) Cancel(arg0 interface{}) *gomock.Call

Cancel indicates an expected call of Cancel

func (*MockFlowControllerMockRecorder) GetCurrentStep added in v0.1.9

func (mr *MockFlowControllerMockRecorder) GetCurrentStep(arg0 interface{}) *gomock.Call

GetCurrentStep indicates an expected call of GetCurrentStep

func (*MockFlowControllerMockRecorder) GetHandlerURL added in v0.1.9

func (mr *MockFlowControllerMockRecorder) GetHandlerURL() *gomock.Call

GetHandlerURL indicates an expected call of GetHandlerURL

func (*MockFlowControllerMockRecorder) NextStep

func (mr *MockFlowControllerMockRecorder) NextStep(arg0, arg1, arg2 interface{}) *gomock.Call

NextStep indicates an expected call of NextStep

func (*MockFlowControllerMockRecorder) RegisterFlow

func (mr *MockFlowControllerMockRecorder) RegisterFlow(arg0, arg1 interface{}) *gomock.Call

RegisterFlow indicates an expected call of RegisterFlow

func (*MockFlowControllerMockRecorder) Start

func (mr *MockFlowControllerMockRecorder) Start(arg0 interface{}) *gomock.Call

Start indicates an expected call of Start

type MockFlowMockRecorder

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

MockFlowMockRecorder is the mock recorder for MockFlow

func (*MockFlowMockRecorder) FlowDone

func (mr *MockFlowMockRecorder) FlowDone(arg0 interface{}) *gomock.Call

FlowDone indicates an expected call of FlowDone

func (*MockFlowMockRecorder) Length

func (mr *MockFlowMockRecorder) Length() *gomock.Call

Length indicates an expected call of Length

func (*MockFlowMockRecorder) Step

func (mr *MockFlowMockRecorder) Step(arg0 interface{}) *gomock.Call

Step indicates an expected call of Step

func (*MockFlowMockRecorder) StepDone

func (mr *MockFlowMockRecorder) StepDone(arg0, arg1, arg2 interface{}) *gomock.Call

StepDone indicates an expected call of StepDone

func (*MockFlowMockRecorder) Steps added in v0.1.9

func (mr *MockFlowMockRecorder) Steps() *gomock.Call

Steps indicates an expected call of Steps

func (*MockFlowMockRecorder) URL

func (mr *MockFlowMockRecorder) URL() *gomock.Call

URL indicates an expected call of URL

type MockFlowStore

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

MockFlowStore is a mock of FlowStore interface

func NewMockFlowStore

func NewMockFlowStore(ctrl *gomock.Controller) *MockFlowStore

NewMockFlowStore creates a new mock instance

func (*MockFlowStore) DeleteCurrentStep

func (m *MockFlowStore) DeleteCurrentStep(arg0 string) error

DeleteCurrentStep mocks base method

func (*MockFlowStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockFlowStore) GetCurrentStep

func (m *MockFlowStore) GetCurrentStep(arg0 string) (int, error)

GetCurrentStep mocks base method

func (*MockFlowStore) GetPostID

func (m *MockFlowStore) GetPostID(arg0, arg1 string) (string, error)

GetPostID mocks base method

func (*MockFlowStore) RemovePostID

func (m *MockFlowStore) RemovePostID(arg0, arg1 string) error

RemovePostID mocks base method

func (*MockFlowStore) SetCurrentStep

func (m *MockFlowStore) SetCurrentStep(arg0 string, arg1 int) error

SetCurrentStep mocks base method

func (*MockFlowStore) SetPostID

func (m *MockFlowStore) SetPostID(arg0, arg1, arg2 string) error

SetPostID mocks base method

func (*MockFlowStore) SetProperty

func (m *MockFlowStore) SetProperty(arg0, arg1 string, arg2 interface{}) error

SetProperty mocks base method

type MockFlowStoreMockRecorder

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

MockFlowStoreMockRecorder is the mock recorder for MockFlowStore

func (*MockFlowStoreMockRecorder) DeleteCurrentStep

func (mr *MockFlowStoreMockRecorder) DeleteCurrentStep(arg0 interface{}) *gomock.Call

DeleteCurrentStep indicates an expected call of DeleteCurrentStep

func (*MockFlowStoreMockRecorder) GetCurrentStep

func (mr *MockFlowStoreMockRecorder) GetCurrentStep(arg0 interface{}) *gomock.Call

GetCurrentStep indicates an expected call of GetCurrentStep

func (*MockFlowStoreMockRecorder) GetPostID

func (mr *MockFlowStoreMockRecorder) GetPostID(arg0, arg1 interface{}) *gomock.Call

GetPostID indicates an expected call of GetPostID

func (*MockFlowStoreMockRecorder) RemovePostID

func (mr *MockFlowStoreMockRecorder) RemovePostID(arg0, arg1 interface{}) *gomock.Call

RemovePostID indicates an expected call of RemovePostID

func (*MockFlowStoreMockRecorder) SetCurrentStep

func (mr *MockFlowStoreMockRecorder) SetCurrentStep(arg0, arg1 interface{}) *gomock.Call

SetCurrentStep indicates an expected call of SetCurrentStep

func (*MockFlowStoreMockRecorder) SetPostID

func (mr *MockFlowStoreMockRecorder) SetPostID(arg0, arg1, arg2 interface{}) *gomock.Call

SetPostID indicates an expected call of SetPostID

func (*MockFlowStoreMockRecorder) SetProperty

func (mr *MockFlowStoreMockRecorder) SetProperty(arg0, arg1, arg2 interface{}) *gomock.Call

SetProperty indicates an expected call of SetProperty

type MockStep

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

MockStep is a mock of Step interface

func NewMockStep

func NewMockStep(ctrl *gomock.Controller) *MockStep

NewMockStep creates a new mock instance

func (*MockStep) EXPECT

func (m *MockStep) EXPECT() *MockStepMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockStep) GetFreetextFetcher added in v0.1.10

func (m *MockStep) GetFreetextFetcher() freetext_fetcher.FreetextFetcher

GetFreetextFetcher mocks base method

func (*MockStep) GetPropertyName

func (m *MockStep) GetPropertyName() string

GetPropertyName mocks base method

func (*MockStep) IsEmpty

func (m *MockStep) IsEmpty() bool

IsEmpty mocks base method

func (*MockStep) PostSlackAttachment

func (m *MockStep) PostSlackAttachment(arg0 string, arg1 int) *model.SlackAttachment

PostSlackAttachment mocks base method

func (*MockStep) ResponseSlackAttachment

func (m *MockStep) ResponseSlackAttachment(arg0 interface{}) *model.SlackAttachment

ResponseSlackAttachment mocks base method

func (*MockStep) ShouldSkip

func (m *MockStep) ShouldSkip(arg0 interface{}) int

ShouldSkip mocks base method

type MockStepMockRecorder

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

MockStepMockRecorder is the mock recorder for MockStep

func (*MockStepMockRecorder) GetFreetextFetcher added in v0.1.10

func (mr *MockStepMockRecorder) GetFreetextFetcher() *gomock.Call

GetFreetextFetcher indicates an expected call of GetFreetextFetcher

func (*MockStepMockRecorder) GetPropertyName

func (mr *MockStepMockRecorder) GetPropertyName() *gomock.Call

GetPropertyName indicates an expected call of GetPropertyName

func (*MockStepMockRecorder) IsEmpty

func (mr *MockStepMockRecorder) IsEmpty() *gomock.Call

IsEmpty indicates an expected call of IsEmpty

func (*MockStepMockRecorder) PostSlackAttachment

func (mr *MockStepMockRecorder) PostSlackAttachment(arg0, arg1 interface{}) *gomock.Call

PostSlackAttachment indicates an expected call of PostSlackAttachment

func (*MockStepMockRecorder) ResponseSlackAttachment

func (mr *MockStepMockRecorder) ResponseSlackAttachment(arg0 interface{}) *gomock.Call

ResponseSlackAttachment indicates an expected call of ResponseSlackAttachment

func (*MockStepMockRecorder) ShouldSkip

func (mr *MockStepMockRecorder) ShouldSkip(arg0 interface{}) *gomock.Call

ShouldSkip indicates an expected call of ShouldSkip

Jump to

Keyboard shortcuts

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