mocks

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 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 SchedulerKeeper

type SchedulerKeeper struct {
	mock.Mock
}

SchedulerKeeper is an autogenerated mock type for the SchedulerKeeper type

func NewSchedulerKeeper

func NewSchedulerKeeper(t mockConstructorTestingTNewSchedulerKeeper) *SchedulerKeeper

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

func (*SchedulerKeeper) AddNewJob

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

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

func (*SchedulerKeeper) GetAccount

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

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

func (*SchedulerKeeper) GetJob

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

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

func (*SchedulerKeeper) Logger

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

Logger provides a mock function with given fields: ctx

func (*SchedulerKeeper) PreJobExecution

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

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

func (*SchedulerKeeper) ScheduleNow

func (_m *SchedulerKeeper) 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