testutil

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: GPL-3.0 Imports: 7 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 AttestKeeper

type AttestKeeper interface {
	types.AttestKeeper
}

type MockAttestKeeper

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

MockAttestKeeper is a mock of AttestKeeper interface.

func NewMockAttestKeeper

func NewMockAttestKeeper(ctrl *gomock.Controller) *MockAttestKeeper

NewMockAttestKeeper creates a new mock instance.

func (*MockAttestKeeper) EXPECT

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

func (*MockAttestKeeper) ListAttestationsFrom

func (m *MockAttestKeeper) ListAttestationsFrom(ctx context.Context, chainID uint64, confLevel uint32, offset, max uint64) ([]*types1.Attestation, error)

ListAttestationsFrom mocks base method.

type MockAttestKeeperMockRecorder

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

MockAttestKeeperMockRecorder is the mock recorder for MockAttestKeeper.

func (*MockAttestKeeperMockRecorder) ListAttestationsFrom

func (mr *MockAttestKeeperMockRecorder) ListAttestationsFrom(ctx, chainID, confLevel, offset, max any) *gomock.Call

ListAttestationsFrom indicates an expected call of ListAttestationsFrom.

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

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

func (*MockStakingKeeper) EndBlocker

func (m *MockStakingKeeper) EndBlocker(ctx context.Context) ([]types.ValidatorUpdate, error)

EndBlocker mocks base method.

func (*MockStakingKeeper) GetLastValidators

func (m *MockStakingKeeper) GetLastValidators(ctx context.Context) ([]types0.Validator, error)

GetLastValidators mocks base method.

type MockStakingKeeperMockRecorder

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

MockStakingKeeperMockRecorder is the mock recorder for MockStakingKeeper.

func (*MockStakingKeeperMockRecorder) EndBlocker

func (mr *MockStakingKeeperMockRecorder) EndBlocker(ctx any) *gomock.Call

EndBlocker indicates an expected call of EndBlocker.

func (*MockStakingKeeperMockRecorder) GetLastValidators

func (mr *MockStakingKeeperMockRecorder) GetLastValidators(ctx any) *gomock.Call

GetLastValidators indicates an expected call of GetLastValidators.

type MockSubscriber added in v0.1.4

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

MockSubscriber is a mock of Subscriber interface.

func NewMockSubscriber added in v0.1.4

func NewMockSubscriber(ctrl *gomock.Controller) *MockSubscriber

NewMockSubscriber creates a new mock instance.

func (*MockSubscriber) EXPECT added in v0.1.4

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

func (*MockSubscriber) UpdateValidators added in v0.1.4

func (m *MockSubscriber) UpdateValidators(valset []types.ValidatorUpdate)

UpdateValidators mocks base method.

type MockSubscriberMockRecorder added in v0.1.4

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

MockSubscriberMockRecorder is the mock recorder for MockSubscriber.

func (*MockSubscriberMockRecorder) UpdateValidators added in v0.1.4

func (mr *MockSubscriberMockRecorder) UpdateValidators(valset any) *gomock.Call

UpdateValidators indicates an expected call of UpdateValidators.

type StakingKeeper

type StakingKeeper interface {
	types.StakingKeeper
}

type Subscriber added in v0.1.4

type Subscriber interface {
	types.ValSetSubscriber
}

Jump to

Keyboard shortcuts

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