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 MockDock Uses

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

MockDock is a mock of Dock interface

func NewMockDock Uses

func NewMockDock(ctrl *gomock.Controller) *MockDock

NewMockDock creates a new mock instance

func (*MockDock) EXPECT Uses

func (m *MockDock) EXPECT() *MockDockMockRecorder

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

func (*MockDock) Load Uses

func (m *MockDock) Load(arg0, arg1 string, arg2 interface{}) error

Load mocks base method

func (*MockDock) ProtocolDirty Uses

func (m *MockDock) ProtocolDirty(arg0 string) bool

ProtocolDirty mocks base method

func (*MockDock) Reset Uses

func (m *MockDock) Reset()

Reset mocks base method

func (*MockDock) Unload Uses

func (m *MockDock) Unload(arg0, arg1 string, arg2 interface{}) error

Unload mocks base method

type MockDockMockRecorder Uses

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

MockDockMockRecorder is the mock recorder for MockDock

func (*MockDockMockRecorder) Load Uses

func (mr *MockDockMockRecorder) Load(arg0, arg1, arg2 interface{}) *gomock.Call

Load indicates an expected call of Load

func (*MockDockMockRecorder) ProtocolDirty Uses

func (mr *MockDockMockRecorder) ProtocolDirty(arg0 interface{}) *gomock.Call

ProtocolDirty indicates an expected call of ProtocolDirty

func (*MockDockMockRecorder) Reset Uses

func (mr *MockDockMockRecorder) Reset() *gomock.Call

Reset indicates an expected call of Reset

func (*MockDockMockRecorder) Unload Uses

func (mr *MockDockMockRecorder) Unload(arg0, arg1, arg2 interface{}) *gomock.Call

Unload indicates an expected call of Unload

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(arg0 ...protocol.StateOption) (uint64, 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) Height Uses

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

Height mocks base method

func (*MockStateManager) Load Uses

func (m *MockStateManager) Load(arg0, arg1 string, arg2 interface{}) error

Load mocks base method

func (*MockStateManager) ProtocolDirty Uses

func (m *MockStateManager) ProtocolDirty(arg0 string) bool

ProtocolDirty mocks base method

func (*MockStateManager) PutState Uses

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

PutState mocks base method

func (*MockStateManager) ReadView Uses

func (m *MockStateManager) ReadView(arg0 string) (interface{}, error)

ReadView mocks base method

func (*MockStateManager) Reset Uses

func (m *MockStateManager) Reset()

Reset 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 interface{}, arg1 ...protocol.StateOption) (uint64, error)

State mocks base method

func (*MockStateManager) States Uses

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

States mocks base method

func (*MockStateManager) Unload Uses

func (m *MockStateManager) Unload(arg0, arg1 string, arg2 interface{}) error

Unload mocks base method

func (*MockStateManager) WriteView Uses

func (m *MockStateManager) WriteView(arg0 string, arg1 interface{}) error

WriteView 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(arg0 ...interface{}) *gomock.Call

DelState indicates an expected call of DelState

func (*MockStateManagerMockRecorder) Height Uses

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

Height indicates an expected call of Height

func (*MockStateManagerMockRecorder) Load Uses

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

Load indicates an expected call of Load

func (*MockStateManagerMockRecorder) ProtocolDirty Uses

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

ProtocolDirty indicates an expected call of ProtocolDirty

func (*MockStateManagerMockRecorder) PutState Uses

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

PutState indicates an expected call of PutState

func (*MockStateManagerMockRecorder) ReadView Uses

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

ReadView indicates an expected call of ReadView

func (*MockStateManagerMockRecorder) Reset Uses

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

Reset indicates an expected call of Reset

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

State indicates an expected call of State

func (*MockStateManagerMockRecorder) States Uses

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

States indicates an expected call of States

func (*MockStateManagerMockRecorder) Unload Uses

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

Unload indicates an expected call of Unload

func (*MockStateManagerMockRecorder) WriteView Uses

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

WriteView indicates an expected call of WriteView

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) ReadView Uses

func (m *MockStateReader) ReadView(arg0 string) (interface{}, error)

ReadView mocks base method

func (*MockStateReader) State Uses

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

State mocks base method

func (*MockStateReader) States Uses

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

States 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) ReadView Uses

func (mr *MockStateReaderMockRecorder) ReadView(arg0 interface{}) *gomock.Call

ReadView indicates an expected call of ReadView

func (*MockStateReaderMockRecorder) State Uses

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

State indicates an expected call of State

func (*MockStateReaderMockRecorder) States Uses

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

States indicates an expected call of States

Package mock_chainmanager imports 4 packages (graph) and is imported by 1 packages. Updated 2020-09-24. Refresh now. Tools for package owners.