mocks

package
v0.2.18-beta.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 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 MockconservativeState

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

MockconservativeState is a mock of conservativeState interface.

func NewMockconservativeState

func NewMockconservativeState(ctrl *gomock.Controller) *MockconservativeState

NewMockconservativeState creates a new mock instance.

func (*MockconservativeState) ApplyLayer

func (m *MockconservativeState) ApplyLayer(arg0 context.Context, arg1 *types.Block) error

ApplyLayer mocks base method.

func (*MockconservativeState) EXPECT

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

func (*MockconservativeState) GetStateRoot

func (m *MockconservativeState) GetStateRoot() (types.Hash32, error)

GetStateRoot mocks base method.

func (*MockconservativeState) LinkTXsWithBlock

func (m *MockconservativeState) LinkTXsWithBlock(arg0 types.LayerID, arg1 types.BlockID, arg2 []types.TransactionID) error

LinkTXsWithBlock mocks base method.

func (*MockconservativeState) LinkTXsWithProposal

func (m *MockconservativeState) LinkTXsWithProposal(arg0 types.LayerID, arg1 types.ProposalID, arg2 []types.TransactionID) error

LinkTXsWithProposal mocks base method.

func (*MockconservativeState) RevertState

func (m *MockconservativeState) RevertState(arg0 types.LayerID) (types.Hash32, error)

RevertState mocks base method.

type MockconservativeStateMockRecorder

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

MockconservativeStateMockRecorder is the mock recorder for MockconservativeState.

func (*MockconservativeStateMockRecorder) ApplyLayer

func (mr *MockconservativeStateMockRecorder) ApplyLayer(arg0, arg1 interface{}) *gomock.Call

ApplyLayer indicates an expected call of ApplyLayer.

func (*MockconservativeStateMockRecorder) GetStateRoot

func (mr *MockconservativeStateMockRecorder) GetStateRoot() *gomock.Call

GetStateRoot indicates an expected call of GetStateRoot.

func (*MockconservativeStateMockRecorder) LinkTXsWithBlock

func (mr *MockconservativeStateMockRecorder) LinkTXsWithBlock(arg0, arg1, arg2 interface{}) *gomock.Call

LinkTXsWithBlock indicates an expected call of LinkTXsWithBlock.

func (*MockconservativeStateMockRecorder) LinkTXsWithProposal

func (mr *MockconservativeStateMockRecorder) LinkTXsWithProposal(arg0, arg1, arg2 interface{}) *gomock.Call

LinkTXsWithProposal indicates an expected call of LinkTXsWithProposal.

func (*MockconservativeStateMockRecorder) RevertState

func (mr *MockconservativeStateMockRecorder) RevertState(arg0 interface{}) *gomock.Call

RevertState indicates an expected call of RevertState.

Jump to

Keyboard shortcuts

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