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

package mock_chainmanager

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

Package mock_chainmanager is a generated GoMock package.

Index

Package Files

mock_chainmanager.go

type MockStateManager Uses

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

MockStateManager is a mock of StateManager interface

func NewMockStateManager Uses

func NewMockStateManager(ctrl *gomock.Controller) *MockStateManager

NewMockStateManager creates a new mock instance

func (*MockStateManager) DelState Uses

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

DelState mocks base method

func (*MockStateManager) EXPECT Uses

func (m *MockStateManager) EXPECT() *MockStateManagerMockRecorder

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

func (*MockStateManager) GetCachedBatch Uses

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

GetCachedBatch mocks base method

func (*MockStateManager) GetDB Uses

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

GetDB mocks base method

func (*MockStateManager) Height Uses

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

Height mocks base method

func (*MockStateManager) PutState Uses

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

PutState mocks base method

func (*MockStateManager) Revert Uses

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

Revert mocks base method

func (*MockStateManager) Snapshot Uses

func (m *MockStateManager) Snapshot() int

Snapshot mocks base method

func (*MockStateManager) State Uses

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

State mocks base method

type MockStateManagerMockRecorder Uses

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

MockStateManagerMockRecorder is the mock recorder for MockStateManager

func (*MockStateManagerMockRecorder) DelState Uses

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

DelState indicates an expected call of DelState

func (*MockStateManagerMockRecorder) GetCachedBatch Uses

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

GetCachedBatch indicates an expected call of GetCachedBatch

func (*MockStateManagerMockRecorder) GetDB Uses

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

GetDB indicates an expected call of GetDB

func (*MockStateManagerMockRecorder) Height Uses

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

Height indicates an expected call of Height

func (*MockStateManagerMockRecorder) PutState Uses

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

PutState indicates an expected call of PutState

func (*MockStateManagerMockRecorder) Revert Uses

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

Revert indicates an expected call of Revert

func (*MockStateManagerMockRecorder) Snapshot Uses

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

Snapshot indicates an expected call of Snapshot

func (*MockStateManagerMockRecorder) State Uses

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

State indicates an expected call of State

type MockStateReader Uses

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

MockStateReader is a mock of StateReader interface

func NewMockStateReader Uses

func NewMockStateReader(ctrl *gomock.Controller) *MockStateReader

NewMockStateReader creates a new mock instance

func (*MockStateReader) EXPECT Uses

func (m *MockStateReader) EXPECT() *MockStateReaderMockRecorder

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

func (*MockStateReader) Height Uses

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

Height mocks base method

func (*MockStateReader) State Uses

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

State mocks base method

type MockStateReaderMockRecorder Uses

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

MockStateReaderMockRecorder is the mock recorder for MockStateReader

func (*MockStateReaderMockRecorder) Height Uses

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

Height indicates an expected call of Height

func (*MockStateReaderMockRecorder) State Uses

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

State indicates an expected call of State

Package mock_chainmanager imports 5 packages (graph). Updated 2019-12-09. Refresh now. Tools for package owners.