mocks

package
v0.0.0-...-4e9d6c2 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockModule

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

MockModule is a mock of Module interface.

func NewMockModule

func NewMockModule(ctrl *gomock.Controller) *MockModule

NewMockModule creates a new mock instance.

func (*MockModule) EXPECT

func (m *MockModule) EXPECT() *MockModuleMockRecorder

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

func (*MockModule) GetByHash

func (m *MockModule) GetByHash(arg0 context.Context, arg1 header0.Hash) (*header.ExtendedHeader, error)

GetByHash mocks base method.

func (*MockModule) GetByHeight

func (m *MockModule) GetByHeight(arg0 context.Context, arg1 uint64) (*header.ExtendedHeader, error)

GetByHeight mocks base method.

func (*MockModule) GetVerifiedRangeByHeight

func (m *MockModule) GetVerifiedRangeByHeight(arg0 context.Context, arg1 *header.ExtendedHeader, arg2 uint64) ([]*header.ExtendedHeader, error)

GetVerifiedRangeByHeight mocks base method.

func (*MockModule) LocalHead

func (m *MockModule) LocalHead(arg0 context.Context) (*header.ExtendedHeader, error)

LocalHead mocks base method.

func (*MockModule) NetworkHead

func (m *MockModule) NetworkHead(arg0 context.Context) (*header.ExtendedHeader, error)

NetworkHead mocks base method.

func (*MockModule) Subscribe

func (m *MockModule) Subscribe(arg0 context.Context) (<-chan *header.ExtendedHeader, error)

Subscribe mocks base method.

func (*MockModule) SyncState

func (m *MockModule) SyncState(arg0 context.Context) (sync.State, error)

SyncState mocks base method.

func (*MockModule) SyncWait

func (m *MockModule) SyncWait(arg0 context.Context) error

SyncWait mocks base method.

type MockModuleMockRecorder

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

MockModuleMockRecorder is the mock recorder for MockModule.

func (*MockModuleMockRecorder) GetByHash

func (mr *MockModuleMockRecorder) GetByHash(arg0, arg1 interface{}) *gomock.Call

GetByHash indicates an expected call of GetByHash.

func (*MockModuleMockRecorder) GetByHeight

func (mr *MockModuleMockRecorder) GetByHeight(arg0, arg1 interface{}) *gomock.Call

GetByHeight indicates an expected call of GetByHeight.

func (*MockModuleMockRecorder) GetVerifiedRangeByHeight

func (mr *MockModuleMockRecorder) GetVerifiedRangeByHeight(arg0, arg1, arg2 interface{}) *gomock.Call

GetVerifiedRangeByHeight indicates an expected call of GetVerifiedRangeByHeight.

func (*MockModuleMockRecorder) LocalHead

func (mr *MockModuleMockRecorder) LocalHead(arg0 interface{}) *gomock.Call

LocalHead indicates an expected call of LocalHead.

func (*MockModuleMockRecorder) NetworkHead

func (mr *MockModuleMockRecorder) NetworkHead(arg0 interface{}) *gomock.Call

NetworkHead indicates an expected call of NetworkHead.

func (*MockModuleMockRecorder) Subscribe

func (mr *MockModuleMockRecorder) Subscribe(arg0 interface{}) *gomock.Call

Subscribe indicates an expected call of Subscribe.

func (*MockModuleMockRecorder) SyncState

func (mr *MockModuleMockRecorder) SyncState(arg0 interface{}) *gomock.Call

SyncState indicates an expected call of SyncState.

func (*MockModuleMockRecorder) SyncWait

func (mr *MockModuleMockRecorder) SyncWait(arg0 interface{}) *gomock.Call

SyncWait indicates an expected call of SyncWait.

Jump to

Keyboard shortcuts

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