mock_factory

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mock_factory is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFactory

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

MockFactory is a mock of Factory interface

func NewMockFactory

func NewMockFactory(ctrl *gomock.Controller) *MockFactory

NewMockFactory creates a new mock instance

func (*MockFactory) Commit

func (m *MockFactory) Commit(arg0 context.Context, arg1 *block.Block) error

Commit mocks base method

func (*MockFactory) EXPECT

func (m *MockFactory) EXPECT() *MockFactoryMockRecorder

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

func (*MockFactory) Height

func (m *MockFactory) Height() (uint64, error)

Height mocks base method

func (*MockFactory) NewBlockBuilder added in v0.11.0

func (m *MockFactory) NewBlockBuilder(arg0 context.Context, arg1 map[string][]action.SealedEnvelope, arg2 []action.SealedEnvelope) (*block.Builder, error)

NewBlockBuilder mocks base method

func (*MockFactory) SimulateExecution added in v0.11.0

func (m *MockFactory) SimulateExecution(arg0 context.Context, arg1 address.Address, arg2 *action.Execution, arg3 evm.GetBlockHash) ([]byte, *action.Receipt, error)

SimulateExecution mocks base method

func (*MockFactory) Start

func (m *MockFactory) Start(arg0 context.Context) error

Start mocks base method

func (*MockFactory) State

func (m *MockFactory) State(arg0 interface{}, arg1 ...protocol.StateOption) (uint64, error)

State mocks base method

func (*MockFactory) States added in v0.11.0

func (m *MockFactory) States(arg0 ...protocol.StateOption) (uint64, state.Iterator, error)

States mocks base method

func (*MockFactory) Stop

func (m *MockFactory) Stop(arg0 context.Context) error

Stop mocks base method

func (*MockFactory) Validate added in v0.11.0

func (m *MockFactory) Validate(arg0 context.Context, arg1 *block.Block) error

Validate mocks base method

type MockFactoryMockRecorder

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

MockFactoryMockRecorder is the mock recorder for MockFactory

func (*MockFactoryMockRecorder) Commit

func (mr *MockFactoryMockRecorder) Commit(arg0, arg1 interface{}) *gomock.Call

Commit indicates an expected call of Commit

func (*MockFactoryMockRecorder) Height

func (mr *MockFactoryMockRecorder) Height() *gomock.Call

Height indicates an expected call of Height

func (*MockFactoryMockRecorder) NewBlockBuilder added in v0.11.0

func (mr *MockFactoryMockRecorder) NewBlockBuilder(arg0, arg1, arg2 interface{}) *gomock.Call

NewBlockBuilder indicates an expected call of NewBlockBuilder

func (*MockFactoryMockRecorder) SimulateExecution added in v0.11.0

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

SimulateExecution indicates an expected call of SimulateExecution

func (*MockFactoryMockRecorder) Start

func (mr *MockFactoryMockRecorder) Start(arg0 interface{}) *gomock.Call

Start indicates an expected call of Start

func (*MockFactoryMockRecorder) State

func (mr *MockFactoryMockRecorder) State(arg0 interface{}, arg1 ...interface{}) *gomock.Call

State indicates an expected call of State

func (*MockFactoryMockRecorder) States added in v0.11.0

func (mr *MockFactoryMockRecorder) States(arg0 ...interface{}) *gomock.Call

States indicates an expected call of States

func (*MockFactoryMockRecorder) Stop

func (mr *MockFactoryMockRecorder) Stop(arg0 interface{}) *gomock.Call

Stop indicates an expected call of Stop

func (*MockFactoryMockRecorder) Validate added in v0.11.0

func (mr *MockFactoryMockRecorder) Validate(arg0, arg1 interface{}) *gomock.Call

Validate indicates an expected call of Validate

Jump to

Keyboard shortcuts

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