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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeeperUtilI

type KeeperUtilI[T codec.ProtoMarshaler] struct {
	mock.Mock
}

KeeperUtilI is an autogenerated mock type for the KeeperUtilI type

func NewKeeperUtilI

func NewKeeperUtilI[T codec.ProtoMarshaler](t mockConstructorTestingTNewKeeperUtilI) *KeeperUtilI[T]

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

func (*KeeperUtilI[T]) Load

func (_m *KeeperUtilI[T]) Load(store types.KVStore, pu keeper.ProtoUnmarshaler, key []byte) (T, error)

Load provides a mock function with given fields: store, pu, key

func (*KeeperUtilI[T]) Save

func (_m *KeeperUtilI[T]) Save(store types.KVStore, pm keeper.ProtoMarshaler, key []byte, val codec.ProtoMarshaler) error

Save provides a mock function with given fields: store, pm, key, val

type StoreGetter added in v1.8.0

type StoreGetter struct {
	mock.Mock
}

StoreGetter is an autogenerated mock type for the StoreGetter type

func NewStoreGetter added in v1.8.0

func NewStoreGetter(t mockConstructorTestingTNewStoreGetter) *StoreGetter

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

func (*StoreGetter) Store added in v1.8.0

func (_m *StoreGetter) Store(ctx types.Context) storetypes.KVStore

Store provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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