actions

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 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 MockActionMaker

type MockActionMaker struct {
	mock.Mock
}

MockActionMaker is an autogenerated mock type for the ActionMaker type

func NewMockActionMaker

func NewMockActionMaker(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockActionMaker

NewMockActionMaker creates a new instance of MockActionMaker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockActionMaker) EXPECT

func (*MockActionMaker) MakeAction

func (_m *MockActionMaker) MakeAction(config types.Action, sl services.ServiceLocator, defaultTimeout int) (action.Action, error)

MakeAction provides a mock function with given fields: config, sl, defaultTimeout

type MockActionMaker_Expecter

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

func (*MockActionMaker_Expecter) MakeAction

func (_e *MockActionMaker_Expecter) MakeAction(config interface{}, sl interface{}, defaultTimeout interface{}) *MockActionMaker_MakeAction_Call

MakeAction is a helper method to define mock.On call

  • config types.Action
  • sl services.ServiceLocator
  • defaultTimeout int

type MockActionMaker_MakeAction_Call

type MockActionMaker_MakeAction_Call struct {
	*mock.Call
}

MockActionMaker_MakeAction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeAction'

func (*MockActionMaker_MakeAction_Call) Return

func (*MockActionMaker_MakeAction_Call) Run

func (*MockActionMaker_MakeAction_Call) RunAndReturn

Directories

Path Synopsis
not

Jump to

Keyboard shortcuts

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