mocks

package
v0.0.0-...-f4c8e74 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2025 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheMultiStore

type CacheMultiStore struct {
	mock.Mock
}

CacheMultiStore is an autogenerated mock type for the CacheMultiStore type

func NewCacheMultiStore

func NewCacheMultiStore(t interface {
	mock.TestingT
	Cleanup(func())
}) *CacheMultiStore

NewCacheMultiStore creates a new instance of CacheMultiStore. 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 (*CacheMultiStore) CacheMultiStore

func (_m *CacheMultiStore) CacheMultiStore() types.CacheMultiStore

CacheMultiStore provides a mock function with given fields:

func (*CacheMultiStore) CacheMultiStoreWithVersion

func (_m *CacheMultiStore) CacheMultiStoreWithVersion(version int64) (types.CacheMultiStore, error)

CacheMultiStoreWithVersion provides a mock function with given fields: version

func (*CacheMultiStore) CacheWrap

func (_m *CacheMultiStore) CacheWrap() types.CacheWrap

CacheWrap provides a mock function with given fields:

func (*CacheMultiStore) CacheWrapWithTrace

func (_m *CacheMultiStore) CacheWrapWithTrace(w io.Writer, tc types.TraceContext) types.CacheWrap

CacheWrapWithTrace provides a mock function with given fields: w, tc

func (*CacheMultiStore) GetKVStore

func (_m *CacheMultiStore) GetKVStore(_a0 types.StoreKey) types.KVStore

GetKVStore provides a mock function with given fields: _a0

func (*CacheMultiStore) GetStore

func (_m *CacheMultiStore) GetStore(_a0 types.StoreKey) types.Store

GetStore provides a mock function with given fields: _a0

func (*CacheMultiStore) GetStoreType

func (_m *CacheMultiStore) GetStoreType() types.StoreType

GetStoreType provides a mock function with given fields:

func (*CacheMultiStore) LatestVersion

func (_m *CacheMultiStore) LatestVersion() int64

LatestVersion provides a mock function with given fields:

func (*CacheMultiStore) SetTracer

func (_m *CacheMultiStore) SetTracer(w io.Writer) types.MultiStore

SetTracer provides a mock function with given fields: w

func (*CacheMultiStore) SetTracingContext

func (_m *CacheMultiStore) SetTracingContext(_a0 types.TraceContext) types.MultiStore

SetTracingContext provides a mock function with given fields: _a0

func (*CacheMultiStore) TracingEnabled

func (_m *CacheMultiStore) TracingEnabled() bool

TracingEnabled provides a mock function with given fields:

func (*CacheMultiStore) Write

func (_m *CacheMultiStore) Write()

Write provides a mock function with given fields:

type MultiStore

type MultiStore struct {
	mock.Mock
}

MultiStore is an autogenerated mock type for the MultiStore type

func NewMultiStore

func NewMultiStore(t interface {
	mock.TestingT
	Cleanup(func())
}) *MultiStore

NewMultiStore creates a new instance of MultiStore. 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 (*MultiStore) CacheMultiStore

func (_m *MultiStore) CacheMultiStore() types.CacheMultiStore

CacheMultiStore provides a mock function with given fields:

func (*MultiStore) CacheMultiStoreWithVersion

func (_m *MultiStore) CacheMultiStoreWithVersion(version int64) (types.CacheMultiStore, error)

CacheMultiStoreWithVersion provides a mock function with given fields: version

func (*MultiStore) CacheWrap

func (_m *MultiStore) CacheWrap() types.CacheWrap

CacheWrap provides a mock function with given fields:

func (*MultiStore) CacheWrapWithTrace

func (_m *MultiStore) CacheWrapWithTrace(w io.Writer, tc types.TraceContext) types.CacheWrap

CacheWrapWithTrace provides a mock function with given fields: w, tc

func (*MultiStore) GetKVStore

func (_m *MultiStore) GetKVStore(_a0 types.StoreKey) types.KVStore

GetKVStore provides a mock function with given fields: _a0

func (*MultiStore) GetStore

func (_m *MultiStore) GetStore(_a0 types.StoreKey) types.Store

GetStore provides a mock function with given fields: _a0

func (*MultiStore) GetStoreType

func (_m *MultiStore) GetStoreType() types.StoreType

GetStoreType provides a mock function with given fields:

func (*MultiStore) LatestVersion

func (_m *MultiStore) LatestVersion() int64

LatestVersion provides a mock function with given fields:

func (*MultiStore) SetTracer

func (_m *MultiStore) SetTracer(w io.Writer) types.MultiStore

SetTracer provides a mock function with given fields: w

func (*MultiStore) SetTracingContext

func (_m *MultiStore) SetTracingContext(_a0 types.TraceContext) types.MultiStore

SetTracingContext provides a mock function with given fields: _a0

func (*MultiStore) TracingEnabled

func (_m *MultiStore) TracingEnabled() bool

TracingEnabled provides a mock function with given fields:

Jump to

Keyboard shortcuts

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