testutil

package
v1.0.3 Latest Latest
Warning

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

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

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