testutil

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2025 License: Apache-2.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package testutil is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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) IterateAccounts

func (m *MockAccountKeeper) IterateAccounts(ctx context.Context, process func(types0.AccountI) bool)

IterateAccounts mocks base method.

func (*MockAccountKeeper) NewAccount

func (m *MockAccountKeeper) NewAccount(arg0 context.Context, arg1 types0.AccountI) types0.AccountI

NewAccount mocks base method.

func (*MockAccountKeeper) SetAccount

func (m *MockAccountKeeper) SetAccount(arg0 context.Context, arg1 types0.AccountI)

SetAccount mocks base method.

type MockAccountKeeperMockRecorder

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

MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper.

func (*MockAccountKeeperMockRecorder) IterateAccounts

func (mr *MockAccountKeeperMockRecorder) IterateAccounts(ctx, process interface{}) *gomock.Call

IterateAccounts indicates an expected call of IterateAccounts.

func (*MockAccountKeeperMockRecorder) NewAccount

func (mr *MockAccountKeeperMockRecorder) NewAccount(arg0, arg1 interface{}) *gomock.Call

NewAccount indicates an expected call of NewAccount.

func (*MockAccountKeeperMockRecorder) SetAccount

func (mr *MockAccountKeeperMockRecorder) SetAccount(arg0, arg1 interface{}) *gomock.Call

SetAccount indicates an expected call of SetAccount.

type MockGenesisAccountsIterator

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

MockGenesisAccountsIterator is a mock of GenesisAccountsIterator interface.

func NewMockGenesisAccountsIterator

func NewMockGenesisAccountsIterator(ctrl *gomock.Controller) *MockGenesisAccountsIterator

NewMockGenesisAccountsIterator creates a new mock instance.

func (*MockGenesisAccountsIterator) EXPECT

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

func (*MockGenesisAccountsIterator) IterateGenesisAccounts

func (m *MockGenesisAccountsIterator) IterateGenesisAccounts(cdc *codec.LegacyAmino, appGenesis map[string]json.RawMessage, cb func(types0.AccountI) bool)

IterateGenesisAccounts mocks base method.

type MockGenesisAccountsIteratorMockRecorder

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

MockGenesisAccountsIteratorMockRecorder is the mock recorder for MockGenesisAccountsIterator.

func (*MockGenesisAccountsIteratorMockRecorder) IterateGenesisAccounts

func (mr *MockGenesisAccountsIteratorMockRecorder) IterateGenesisAccounts(cdc, appGenesis, cb interface{}) *gomock.Call

IterateGenesisAccounts indicates an expected call of IterateGenesisAccounts.

type MockGenesisBalancesIterator

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

MockGenesisBalancesIterator is a mock of GenesisBalancesIterator interface.

func NewMockGenesisBalancesIterator

func NewMockGenesisBalancesIterator(ctrl *gomock.Controller) *MockGenesisBalancesIterator

NewMockGenesisBalancesIterator creates a new mock instance.

func (*MockGenesisBalancesIterator) EXPECT

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

func (*MockGenesisBalancesIterator) IterateGenesisBalances

func (m *MockGenesisBalancesIterator) IterateGenesisBalances(cdc codec.JSONCodec, appGenesis map[string]json.RawMessage, cb func(exported.GenesisBalance) bool)

IterateGenesisBalances mocks base method.

type MockGenesisBalancesIteratorMockRecorder

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

MockGenesisBalancesIteratorMockRecorder is the mock recorder for MockGenesisBalancesIterator.

func (*MockGenesisBalancesIteratorMockRecorder) IterateGenesisBalances

func (mr *MockGenesisBalancesIteratorMockRecorder) IterateGenesisBalances(cdc, appGenesis, cb interface{}) *gomock.Call

IterateGenesisBalances indicates an expected call of IterateGenesisBalances.

type MockStakingKeeper

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

MockStakingKeeper is a mock of StakingKeeper interface.

func NewMockStakingKeeper

func NewMockStakingKeeper(ctrl *gomock.Controller) *MockStakingKeeper

NewMockStakingKeeper creates a new mock instance.

func (*MockStakingKeeper) ApplyAndReturnValidatorSetUpdates

func (m *MockStakingKeeper) ApplyAndReturnValidatorSetUpdates(arg0 context.Context) ([]types.ValidatorUpdate, error)

ApplyAndReturnValidatorSetUpdates mocks base method.

func (*MockStakingKeeper) EXPECT

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

type MockStakingKeeperMockRecorder

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

MockStakingKeeperMockRecorder is the mock recorder for MockStakingKeeper.

func (*MockStakingKeeperMockRecorder) ApplyAndReturnValidatorSetUpdates

func (mr *MockStakingKeeperMockRecorder) ApplyAndReturnValidatorSetUpdates(arg0 interface{}) *gomock.Call

ApplyAndReturnValidatorSetUpdates indicates an expected call of ApplyAndReturnValidatorSetUpdates.

Jump to

Keyboard shortcuts

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