mocks

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Keeper added in v1.4.0

type Keeper struct {
	mock.Mock
}

Keeper is an autogenerated mock type for the Keeper type

func NewKeeper added in v1.4.0

func NewKeeper(t mockConstructorTestingTNewKeeper) *Keeper

NewKeeper creates a new instance of Keeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Keeper) AddNewJob added in v1.4.0

func (_m *Keeper) AddNewJob(ctx types.Context, job *schedulertypes.Job) (types.AccAddress, error)

AddNewJob provides a mock function with given fields: ctx, job

func (*Keeper) GetAccount added in v1.4.0

func (_m *Keeper) GetAccount(ctx types.Context, addr types.AccAddress) authtypes.AccountI

GetAccount provides a mock function with given fields: ctx, addr

func (*Keeper) GetJob added in v1.4.0

func (_m *Keeper) GetJob(ctx types.Context, jobID string) (*schedulertypes.Job, error)

GetJob provides a mock function with given fields: ctx, jobID

func (*Keeper) Logger added in v1.4.0

func (_m *Keeper) Logger(ctx types.Context) log.Logger

Logger provides a mock function with given fields: ctx

func (*Keeper) PreJobExecution added in v1.4.0

func (_m *Keeper) PreJobExecution(ctx types.Context, job *schedulertypes.Job) error

PreJobExecution provides a mock function with given fields: ctx, job

func (*Keeper) ScheduleNow added in v1.4.0

func (_m *Keeper) ScheduleNow(ctx types.Context, jobID string, in []byte, senderAddress types.AccAddress, contractAddress types.AccAddress) error

ScheduleNow provides a mock function with given fields: ctx, jobID, in, senderAddress, contractAddress

Jump to

Keyboard shortcuts

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