testutil

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: GPL-3.0 Imports: 6 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 MockMilestoneKeeper added in v0.1.28

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

MockMilestoneKeeper is a mock of MilestoneKeeper interface.

func NewMockMilestoneKeeper added in v0.1.28

func NewMockMilestoneKeeper(ctrl *gomock.Controller) *MockMilestoneKeeper

NewMockMilestoneKeeper creates a new mock instance.

func (*MockMilestoneKeeper) EXPECT added in v0.1.28

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

func (*MockMilestoneKeeper) GetLastMilestone added in v0.1.28

func (m *MockMilestoneKeeper) GetLastMilestone(ctx context.Context) (*types0.Milestone, error)

GetLastMilestone mocks base method.

type MockMilestoneKeeperMockRecorder added in v0.1.28

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

MockMilestoneKeeperMockRecorder is the mock recorder for MockMilestoneKeeper.

func (*MockMilestoneKeeperMockRecorder) GetLastMilestone added in v0.1.28

func (mr *MockMilestoneKeeperMockRecorder) GetLastMilestone(ctx interface{}) *gomock.Call

GetLastMilestone indicates an expected call of GetLastMilestone.

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) []types1.Validator

GetSpanEligibleValidators mocks base method.

func (*MockStakeKeeper) GetValIdFromAddress added in v0.5.2

func (m *MockStakeKeeper) GetValIdFromAddress(ctx context.Context, address string) (uint64, error)

GetValIdFromAddress mocks base method.

func (*MockStakeKeeper) GetValidatorFromValID

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

GetValidatorFromValID mocks base method.

func (*MockStakeKeeper) GetValidatorSet

func (m *MockStakeKeeper) GetValidatorSet(ctx context.Context) (types1.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) GetValIdFromAddress added in v0.5.2

func (mr *MockStakeKeeperMockRecorder) GetValIdFromAddress(ctx, address interface{}) *gomock.Call

GetValIdFromAddress indicates an expected call of GetValIdFromAddress.

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