testutil

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: GPL-3.0 Imports: 5 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 MockChainManagerKeeper

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

MockChainManagerKeeper is a mock of ChainManagerKeeper interface.

func NewMockChainManagerKeeper

func NewMockChainManagerKeeper(ctrl *gomock.Controller) *MockChainManagerKeeper

NewMockChainManagerKeeper creates a new mock instance.

func (*MockChainManagerKeeper) EXPECT

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

func (*MockChainManagerKeeper) GetParams

func (m *MockChainManagerKeeper) GetParams(ctx context.Context) (types.Params, error)

GetParams mocks base method.

type MockChainManagerKeeperMockRecorder

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

MockChainManagerKeeperMockRecorder is the mock recorder for MockChainManagerKeeper.

func (*MockChainManagerKeeperMockRecorder) GetParams

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

GetParams indicates an expected call of GetParams.

type MockStakeKeeper

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

MockStakeKeeper is a mock of StakeKeeper interface.

func NewMockStakeKeeper

func NewMockStakeKeeper(ctrl *gomock.Controller) *MockStakeKeeper

NewMockStakeKeeper creates a new mock instance.

func (*MockStakeKeeper) EXPECT

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

func (*MockStakeKeeper) GetSpanEligibleValidators

func (m *MockStakeKeeper) GetSpanEligibleValidators(ctx context.Context) []types0.Validator

GetSpanEligibleValidators mocks base method.

func (*MockStakeKeeper) GetValidatorFromValID

func (m *MockStakeKeeper) GetValidatorFromValID(ctx context.Context, valID uint64) (types0.Validator, error)

GetValidatorFromValID mocks base method.

func (*MockStakeKeeper) GetValidatorSet

func (m *MockStakeKeeper) GetValidatorSet(ctx context.Context) (types0.ValidatorSet, error)

GetValidatorSet mocks base method.

type MockStakeKeeperMockRecorder

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

MockStakeKeeperMockRecorder is the mock recorder for MockStakeKeeper.

func (*MockStakeKeeperMockRecorder) GetSpanEligibleValidators

func (mr *MockStakeKeeperMockRecorder) GetSpanEligibleValidators(ctx interface{}) *gomock.Call

GetSpanEligibleValidators indicates an expected call of GetSpanEligibleValidators.

func (*MockStakeKeeperMockRecorder) GetValidatorFromValID

func (mr *MockStakeKeeperMockRecorder) GetValidatorFromValID(ctx, valID interface{}) *gomock.Call

GetValidatorFromValID indicates an expected call of GetValidatorFromValID.

func (*MockStakeKeeperMockRecorder) GetValidatorSet

func (mr *MockStakeKeeperMockRecorder) GetValidatorSet(ctx interface{}) *gomock.Call

GetValidatorSet indicates an expected call of GetValidatorSet.

Jump to

Keyboard shortcuts

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