mocks

package
v0.2.8-beta.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 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 MockactivationDB

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

MockactivationDB is a mock of activationDB interface.

func NewMockactivationDB

func NewMockactivationDB(ctrl *gomock.Controller) *MockactivationDB

NewMockactivationDB creates a new mock instance.

func (*MockactivationDB) EXPECT

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

func (*MockactivationDB) GetAtxHeader

func (m *MockactivationDB) GetAtxHeader(arg0 types.ATXID) (*types.ActivationTxHeader, error)

GetAtxHeader mocks base method.

type MockactivationDBMockRecorder

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

MockactivationDBMockRecorder is the mock recorder for MockactivationDB.

func (*MockactivationDBMockRecorder) GetAtxHeader

func (mr *MockactivationDBMockRecorder) GetAtxHeader(arg0 interface{}) *gomock.Call

GetAtxHeader indicates an expected call of GetAtxHeader.

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