mocks

package
v0.0.0-test-go-svm-build Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: MIT Imports: 4 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 MockatxProvider

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

MockatxProvider is a mock of atxProvider interface.

func NewMockatxProvider

func NewMockatxProvider(ctrl *gomock.Controller) *MockatxProvider

NewMockatxProvider creates a new mock instance.

func (*MockatxProvider) EXPECT

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

func (*MockatxProvider) GetAtxHeader

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

GetAtxHeader mocks base method.

type MockatxProviderMockRecorder

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

MockatxProviderMockRecorder is the mock recorder for MockatxProvider.

func (*MockatxProviderMockRecorder) GetAtxHeader

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

GetAtxHeader indicates an expected call of GetAtxHeader.

type MockmeshProvider

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

MockmeshProvider is a mock of meshProvider interface.

func NewMockmeshProvider

func NewMockmeshProvider(ctrl *gomock.Controller) *MockmeshProvider

NewMockmeshProvider creates a new mock instance.

func (*MockmeshProvider) AddBlockWithTXs

func (m *MockmeshProvider) AddBlockWithTXs(arg0 context.Context, arg1 *types.Block) error

AddBlockWithTXs mocks base method.

func (*MockmeshProvider) EXPECT

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

func (*MockmeshProvider) GetTransactions

func (m *MockmeshProvider) GetTransactions(arg0 []types.TransactionID) ([]*types.Transaction, map[types.TransactionID]struct{})

GetTransactions mocks base method.

func (*MockmeshProvider) HasBlock

func (m *MockmeshProvider) HasBlock(arg0 types.BlockID) bool

HasBlock mocks base method.

type MockmeshProviderMockRecorder

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

MockmeshProviderMockRecorder is the mock recorder for MockmeshProvider.

func (*MockmeshProviderMockRecorder) AddBlockWithTXs

func (mr *MockmeshProviderMockRecorder) AddBlockWithTXs(arg0, arg1 interface{}) *gomock.Call

AddBlockWithTXs indicates an expected call of AddBlockWithTXs.

func (*MockmeshProviderMockRecorder) GetTransactions

func (mr *MockmeshProviderMockRecorder) GetTransactions(arg0 interface{}) *gomock.Call

GetTransactions indicates an expected call of GetTransactions.

func (*MockmeshProviderMockRecorder) HasBlock

func (mr *MockmeshProviderMockRecorder) HasBlock(arg0 interface{}) *gomock.Call

HasBlock indicates an expected call of HasBlock.

Jump to

Keyboard shortcuts

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