mocks

package
v1.13.4 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountKeeper added in v1.13.0

type AccountKeeper struct {
	mock.Mock
}

AccountKeeper is an autogenerated mock type for the AccountKeeper type

func NewAccountKeeper added in v1.13.0

func NewAccountKeeper(t interface {
	mock.TestingT
	Cleanup(func())
}) *AccountKeeper

NewAccountKeeper creates a new instance of AccountKeeper. 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 (*AccountKeeper) GetAccount added in v1.13.0

func (_m *AccountKeeper) GetAccount(ctx context.Context, addr types.AccAddress) types.AccountI

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

func (*AccountKeeper) HasAccount added in v1.13.0

func (_m *AccountKeeper) HasAccount(ctx context.Context, addr types.AccAddress) bool

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

func (*AccountKeeper) NewAccountWithAddress added in v1.13.0

func (_m *AccountKeeper) NewAccountWithAddress(ctx context.Context, addr types.AccAddress) types.AccountI

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

func (*AccountKeeper) SetAccount added in v1.13.0

func (_m *AccountKeeper) SetAccount(ctx context.Context, acc types.AccountI)

SetAccount provides a mock function with given fields: ctx, acc

type EvmKeeper added in v1.13.0

type EvmKeeper struct {
	mock.Mock
}

EvmKeeper is an autogenerated mock type for the EvmKeeper type

func NewEvmKeeper added in v1.13.0

func NewEvmKeeper(t interface {
	mock.TestingT
	Cleanup(func())
}) *EvmKeeper

NewEvmKeeper creates a new instance of EvmKeeper. 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 (*EvmKeeper) PickValidatorForMessage added in v1.13.0

func (_m *EvmKeeper) PickValidatorForMessage(ctx context.Context, chainReferenceID string, req *xchain.JobRequirements) (string, error)

PickValidatorForMessage provides a mock function with given fields: ctx, chainReferenceID, req

func (*EvmKeeper) PreJobExecution added in v1.13.0

func (_m *EvmKeeper) PreJobExecution(ctx context.Context, job *types.Job) error

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

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 interface {
	mock.TestingT
	Cleanup(func())
}) *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. The first argument is typically a *testing.T value.

func (*Keeper) AddNewJob added in v1.4.0

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

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

func (*Keeper) ExecuteJob added in v1.9.1

func (_m *Keeper) ExecuteJob(ctx context.Context, jobID string, payload []byte, senderAddress cosmos_sdktypes.AccAddress, contractAddr cosmos_sdktypes.AccAddress) (uint64, error)

ExecuteJob provides a mock function with given fields: ctx, jobID, payload, senderAddress, contractAddr

func (*Keeper) GetAccount added in v1.4.0

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

func (*Keeper) GetJob added in v1.4.0

func (_m *Keeper) GetJob(ctx context.Context, jobID string) (*types.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 context.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 context.Context, job *types.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 context.Context, jobID string, in []byte, senderAddress cosmos_sdktypes.AccAddress, contractAddress cosmos_sdktypes.AccAddress) (uint64, 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