mocks

package
v0.2.6-beta.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: MIT Imports: 3 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 MockBeaconGetter

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

MockBeaconGetter is a mock of BeaconGetter interface.

func NewMockBeaconGetter

func NewMockBeaconGetter(ctrl *gomock.Controller) *MockBeaconGetter

NewMockBeaconGetter creates a new mock instance.

func (*MockBeaconGetter) EXPECT

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

func (*MockBeaconGetter) GetBeacon

func (m *MockBeaconGetter) GetBeacon(arg0 types.EpochID) ([]byte, error)

GetBeacon mocks base method.

type MockBeaconGetterMockRecorder

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

MockBeaconGetterMockRecorder is the mock recorder for MockBeaconGetter.

func (*MockBeaconGetterMockRecorder) GetBeacon

func (mr *MockBeaconGetterMockRecorder) GetBeacon(arg0 interface{}) *gomock.Call

GetBeacon indicates an expected call of GetBeacon.

type MockbeaconCollector

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

MockbeaconCollector is a mock of beaconCollector interface.

func NewMockbeaconCollector

func NewMockbeaconCollector(ctrl *gomock.Controller) *MockbeaconCollector

NewMockbeaconCollector creates a new mock instance.

func (*MockbeaconCollector) EXPECT

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

func (*MockbeaconCollector) ReportBeaconFromBlock

func (m *MockbeaconCollector) ReportBeaconFromBlock(arg0 types.EpochID, arg1 types.BlockID, arg2 []byte, arg3 uint64)

ReportBeaconFromBlock mocks base method.

type MockbeaconCollectorMockRecorder

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

MockbeaconCollectorMockRecorder is the mock recorder for MockbeaconCollector.

func (*MockbeaconCollectorMockRecorder) ReportBeaconFromBlock

func (mr *MockbeaconCollectorMockRecorder) ReportBeaconFromBlock(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ReportBeaconFromBlock indicates an expected call of ReportBeaconFromBlock.

type MockblockDB

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

MockblockDB is a mock of blockDB interface.

func NewMockblockDB

func NewMockblockDB(ctrl *gomock.Controller) *MockblockDB

NewMockblockDB creates a new mock instance.

func (*MockblockDB) EXPECT

func (m *MockblockDB) EXPECT() *MockblockDBMockRecorder

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

func (*MockblockDB) GetBlock

func (m *MockblockDB) GetBlock(arg0 types.BlockID) (*types.Block, error)

GetBlock mocks base method.

type MockblockDBMockRecorder

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

MockblockDBMockRecorder is the mock recorder for MockblockDB.

func (*MockblockDBMockRecorder) GetBlock

func (mr *MockblockDBMockRecorder) GetBlock(arg0 interface{}) *gomock.Call

GetBlock indicates an expected call of GetBlock.

Jump to

Keyboard shortcuts

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