iotex-core: github.com/iotexproject/iotex-core/test/mock/mock_factory Index | Files

package mock_factory

import "github.com/iotexproject/iotex-core/test/mock/mock_factory"

Package mock_factory is a generated GoMock package.

Index

Package Files

mock_factory.go

type MockFactory Uses

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

MockFactory is a mock of Factory interface

func NewMockFactory Uses

func NewMockFactory(ctrl *gomock.Controller) *MockFactory

NewMockFactory creates a new mock instance

func (*MockFactory) DeleteTipBlock Uses

func (m *MockFactory) DeleteTipBlock(arg0 *block.Block) error

DeleteTipBlock mocks base method

func (*MockFactory) EXPECT Uses

func (m *MockFactory) EXPECT() *MockFactoryMockRecorder

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

func (*MockFactory) Height Uses

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

Height mocks base method

func (*MockFactory) NewBlockBuilder Uses

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

NewBlockBuilder mocks base method

func (*MockFactory) PutBlock Uses

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

PutBlock mocks base method

func (*MockFactory) Register Uses

func (m *MockFactory) Register(arg0 protocol.Protocol) error

Register mocks base method

func (*MockFactory) SimulateExecution Uses

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 Uses

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

Start mocks base method

func (*MockFactory) State Uses

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

State mocks base method

func (*MockFactory) StateAtHeight Uses

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

StateAtHeight mocks base method

func (*MockFactory) States Uses

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

States mocks base method

func (*MockFactory) StatesAtHeight Uses

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

StatesAtHeight mocks base method

func (*MockFactory) Stop Uses

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

Stop mocks base method

func (*MockFactory) Validate Uses

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

Validate mocks base method

type MockFactoryMockRecorder Uses

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

MockFactoryMockRecorder is the mock recorder for MockFactory

func (*MockFactoryMockRecorder) DeleteTipBlock Uses

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

DeleteTipBlock indicates an expected call of DeleteTipBlock

func (*MockFactoryMockRecorder) Height Uses

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

Height indicates an expected call of Height

func (*MockFactoryMockRecorder) NewBlockBuilder Uses

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

NewBlockBuilder indicates an expected call of NewBlockBuilder

func (*MockFactoryMockRecorder) PutBlock Uses

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

PutBlock indicates an expected call of PutBlock

func (*MockFactoryMockRecorder) Register Uses

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

Register indicates an expected call of Register

func (*MockFactoryMockRecorder) SimulateExecution Uses

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

SimulateExecution indicates an expected call of SimulateExecution

func (*MockFactoryMockRecorder) Start Uses

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

Start indicates an expected call of Start

func (*MockFactoryMockRecorder) State Uses

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

State indicates an expected call of State

func (*MockFactoryMockRecorder) StateAtHeight Uses

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

StateAtHeight indicates an expected call of StateAtHeight

func (*MockFactoryMockRecorder) States Uses

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

States indicates an expected call of States

func (*MockFactoryMockRecorder) StatesAtHeight Uses

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

StatesAtHeight indicates an expected call of StatesAtHeight

func (*MockFactoryMockRecorder) Stop Uses

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

Stop indicates an expected call of Stop

func (*MockFactoryMockRecorder) Validate Uses

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

Validate indicates an expected call of Validate

Package mock_factory imports 9 packages (graph). Updated 2020-03-29. Refresh now. Tools for package owners.