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.

Package mock_factory is a generated GoMock package.

Index

Package Files

mock_factory.go mock_workingset.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) Commit Uses

func (m *MockFactory) Commit(arg0 factory.WorkingSet) error

Commit 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) NewWorkingSet Uses

func (m *MockFactory) NewWorkingSet() (factory.WorkingSet, error)

NewWorkingSet mocks base method

func (*MockFactory) PickAndRunActions Uses

func (m *MockFactory) PickAndRunActions(arg0 context.Context, arg1 map[string][]action.SealedEnvelope, arg2 []action.SealedEnvelope) ([]*action.Receipt, []action.SealedEnvelope, factory.WorkingSet, error)

PickAndRunActions mocks base method

func (*MockFactory) RunActions Uses

func (m *MockFactory) RunActions(arg0 context.Context, arg1 []action.SealedEnvelope) ([]*action.Receipt, factory.WorkingSet, error)

RunActions 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 hash.Hash160, arg1 interface{}) error

State mocks base method

func (*MockFactory) Stop Uses

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

Stop mocks base method

type MockFactoryMockRecorder Uses

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

MockFactoryMockRecorder is the mock recorder for MockFactory

func (*MockFactoryMockRecorder) Commit Uses

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

Commit indicates an expected call of Commit

func (*MockFactoryMockRecorder) Height Uses

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

Height indicates an expected call of Height

func (*MockFactoryMockRecorder) NewWorkingSet Uses

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

NewWorkingSet indicates an expected call of NewWorkingSet

func (*MockFactoryMockRecorder) PickAndRunActions Uses

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

PickAndRunActions indicates an expected call of PickAndRunActions

func (*MockFactoryMockRecorder) RunActions Uses

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

RunActions indicates an expected call of RunActions

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, arg1 interface{}) *gomock.Call

State indicates an expected call of State

func (*MockFactoryMockRecorder) Stop Uses

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

Stop indicates an expected call of Stop

type MockWorkingSet Uses

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

MockWorkingSet is a mock of WorkingSet interface

func NewMockWorkingSet Uses

func NewMockWorkingSet(ctrl *gomock.Controller) *MockWorkingSet

NewMockWorkingSet creates a new mock instance

func (*MockWorkingSet) Commit Uses

func (m *MockWorkingSet) Commit() error

Commit mocks base method

func (*MockWorkingSet) DelState Uses

func (m *MockWorkingSet) DelState(pkHash hash.Hash160) error

DelState mocks base method

func (*MockWorkingSet) Digest Uses

func (m *MockWorkingSet) Digest() (hash.Hash256, error)

Digest mocks base method

func (*MockWorkingSet) EXPECT Uses

func (m *MockWorkingSet) EXPECT() *MockWorkingSetMockRecorder

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

func (*MockWorkingSet) Finalize Uses

func (m *MockWorkingSet) Finalize() error

Finalize mocks base method

func (*MockWorkingSet) GetCachedBatch Uses

func (m *MockWorkingSet) GetCachedBatch() batch.CachedBatch

GetCachedBatch mocks base method

func (*MockWorkingSet) GetDB Uses

func (m *MockWorkingSet) GetDB() db.KVStore

GetDB mocks base method

func (*MockWorkingSet) Height Uses

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

Height mocks base method

func (*MockWorkingSet) History Uses

func (m *MockWorkingSet) History() bool

History mocks base method

func (*MockWorkingSet) PutState Uses

func (m *MockWorkingSet) PutState(arg0 hash.Hash160, arg1 interface{}) error

PutState mocks base method

func (*MockWorkingSet) Revert Uses

func (m *MockWorkingSet) Revert(arg0 int) error

Revert mocks base method

func (*MockWorkingSet) RootHash Uses

func (m *MockWorkingSet) RootHash() (hash.Hash256, error)

RootHash mocks base method

func (*MockWorkingSet) RunAction Uses

func (m *MockWorkingSet) RunAction(arg0 context.Context, arg1 action.SealedEnvelope) (*action.Receipt, error)

RunAction mocks base method

func (*MockWorkingSet) RunActions Uses

func (m *MockWorkingSet) RunActions(arg0 context.Context, arg1 []action.SealedEnvelope) ([]*action.Receipt, error)

RunActions mocks base method

func (*MockWorkingSet) Snapshot Uses

func (m *MockWorkingSet) Snapshot() int

Snapshot mocks base method

func (*MockWorkingSet) State Uses

func (m *MockWorkingSet) State(arg0 hash.Hash160, arg1 interface{}) error

State mocks base method

func (*MockWorkingSet) Version Uses

func (m *MockWorkingSet) Version() uint64

Version mocks base method

type MockWorkingSetMockRecorder Uses

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

MockWorkingSetMockRecorder is the mock recorder for MockWorkingSet

func (*MockWorkingSetMockRecorder) Commit Uses

func (mr *MockWorkingSetMockRecorder) Commit() *gomock.Call

Commit indicates an expected call of Commit

func (*MockWorkingSetMockRecorder) DelState Uses

func (mr *MockWorkingSetMockRecorder) DelState(pkHash interface{}) *gomock.Call

DelState indicates an expected call of DelState

func (*MockWorkingSetMockRecorder) Digest Uses

func (mr *MockWorkingSetMockRecorder) Digest() *gomock.Call

Digest indicates an expected call of Digest

func (*MockWorkingSetMockRecorder) Finalize Uses

func (mr *MockWorkingSetMockRecorder) Finalize() *gomock.Call

Finalize indicates an expected call of Finalize

func (*MockWorkingSetMockRecorder) GetCachedBatch Uses

func (mr *MockWorkingSetMockRecorder) GetCachedBatch() *gomock.Call

GetCachedBatch indicates an expected call of GetCachedBatch

func (*MockWorkingSetMockRecorder) GetDB Uses

func (mr *MockWorkingSetMockRecorder) GetDB() *gomock.Call

GetDB indicates an expected call of GetDB

func (*MockWorkingSetMockRecorder) Height Uses

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

Height indicates an expected call of Height

func (*MockWorkingSetMockRecorder) History Uses

func (mr *MockWorkingSetMockRecorder) History() *gomock.Call

History indicates an expected call of History

func (*MockWorkingSetMockRecorder) PutState Uses

func (mr *MockWorkingSetMockRecorder) PutState(arg0, arg1 interface{}) *gomock.Call

PutState indicates an expected call of PutState

func (*MockWorkingSetMockRecorder) Revert Uses

func (mr *MockWorkingSetMockRecorder) Revert(arg0 interface{}) *gomock.Call

Revert indicates an expected call of Revert

func (*MockWorkingSetMockRecorder) RootHash Uses

func (mr *MockWorkingSetMockRecorder) RootHash() *gomock.Call

RootHash indicates an expected call of RootHash

func (*MockWorkingSetMockRecorder) RunAction Uses

func (mr *MockWorkingSetMockRecorder) RunAction(arg0, arg1 interface{}) *gomock.Call

RunAction indicates an expected call of RunAction

func (*MockWorkingSetMockRecorder) RunActions Uses

func (mr *MockWorkingSetMockRecorder) RunActions(arg0, arg1 interface{}) *gomock.Call

RunActions indicates an expected call of RunActions

func (*MockWorkingSetMockRecorder) Snapshot Uses

func (mr *MockWorkingSetMockRecorder) Snapshot() *gomock.Call

Snapshot indicates an expected call of Snapshot

func (*MockWorkingSetMockRecorder) State Uses

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

State indicates an expected call of State

func (*MockWorkingSetMockRecorder) Version Uses

func (mr *MockWorkingSetMockRecorder) Version() *gomock.Call

Version indicates an expected call of Version

Package mock_factory imports 10 packages (graph). Updated 2019-12-13. Refresh now. Tools for package owners.