testutil

package
v0.48.0-ramus1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package testutil is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccAddress

func AccAddress() sdk.AccAddress

AccAddress returns a sample account address

func AccAddressString

func AccAddressString() string

func DaKeeper

func DaKeeper(t testing.TB) (keeper.Keeper, sdk.Context, sdk.StoreKey)

Types

type MockAccountKeeper

type MockAccountKeeper struct {
	// contains filtered or unexported fields
}

MockAccountKeeper is a mock of AccountKeeper interface.

func NewMockAccountKeeper

func NewMockAccountKeeper(ctrl *gomock.Controller) *MockAccountKeeper

NewMockAccountKeeper creates a new mock instance.

func (*MockAccountKeeper) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAccountKeeper) GetParams

func (m *MockAccountKeeper) GetParams(ctx types.Context) types0.Params

GetParams mocks base method.

type MockAccountKeeperMockRecorder

type MockAccountKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper.

func (*MockAccountKeeperMockRecorder) GetParams

func (mr *MockAccountKeeperMockRecorder) GetParams(ctx interface{}) *gomock.Call

GetParams indicates an expected call of GetParams.

type MockRollupKeeper

type MockRollupKeeper struct {
	// contains filtered or unexported fields
}

MockRollupKeeper is a mock of RollupKeeper interface.

func NewMockRollupKeeper

func NewMockRollupKeeper(ctrl *gomock.Controller) *MockRollupKeeper

NewMockRollupKeeper creates a new mock instance.

func (*MockRollupKeeper) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRollupKeeper) GetRegisteredRollups

func (m *MockRollupKeeper) GetRegisteredRollups(ctx types.Context) []string

GetRegisteredRollups mocks base method.

func (*MockRollupKeeper) GetRollup

func (m *MockRollupKeeper) GetRollup(ctx types.Context, name string) (types1.Rollup, bool)

GetRollup mocks base method.

type MockRollupKeeperMockRecorder

type MockRollupKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockRollupKeeperMockRecorder is the mock recorder for MockRollupKeeper.

func (*MockRollupKeeperMockRecorder) GetRegisteredRollups

func (mr *MockRollupKeeperMockRecorder) GetRegisteredRollups(ctx interface{}) *gomock.Call

GetRegisteredRollups indicates an expected call of GetRegisteredRollups.

func (*MockRollupKeeperMockRecorder) GetRollup

func (mr *MockRollupKeeperMockRecorder) GetRollup(ctx, name interface{}) *gomock.Call

GetRollup indicates an expected call of GetRollup.

Jump to

Keyboard shortcuts

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