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

package mock_trie

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

Package mock_trie is a generated GoMock package.

Index

Package Files

mock_trie.go

type MockIterator Uses

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

MockIterator is a mock of Iterator interface

func NewMockIterator Uses

func NewMockIterator(ctrl *gomock.Controller) *MockIterator

NewMockIterator creates a new mock instance

func (*MockIterator) EXPECT Uses

func (m *MockIterator) EXPECT() *MockIteratorMockRecorder

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

func (*MockIterator) Next Uses

func (m *MockIterator) Next() ([]byte, []byte, error)

Next mocks base method

type MockIteratorMockRecorder Uses

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

MockIteratorMockRecorder is the mock recorder for MockIterator

func (*MockIteratorMockRecorder) Next Uses

func (mr *MockIteratorMockRecorder) Next() *gomock.Call

Next indicates an expected call of Next

type MockTrie Uses

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

MockTrie is a mock of Trie interface

func NewMockTrie Uses

func NewMockTrie(ctrl *gomock.Controller) *MockTrie

NewMockTrie creates a new mock instance

func (*MockTrie) Delete Uses

func (m *MockTrie) Delete(arg0 []byte) error

Delete mocks base method

func (*MockTrie) EXPECT Uses

func (m *MockTrie) EXPECT() *MockTrieMockRecorder

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

func (*MockTrie) Get Uses

func (m *MockTrie) Get(arg0 []byte) ([]byte, error)

Get mocks base method

func (*MockTrie) IsEmpty Uses

func (m *MockTrie) IsEmpty() bool

IsEmpty mocks base method

func (*MockTrie) RootHash Uses

func (m *MockTrie) RootHash() ([]byte, error)

RootHash mocks base method

func (*MockTrie) SetRootHash Uses

func (m *MockTrie) SetRootHash(arg0 []byte) error

SetRootHash mocks base method

func (*MockTrie) Start Uses

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

Start mocks base method

func (*MockTrie) Stop Uses

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

Stop mocks base method

func (*MockTrie) Upsert Uses

func (m *MockTrie) Upsert(arg0, arg1 []byte) error

Upsert mocks base method

type MockTrieMockRecorder Uses

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

MockTrieMockRecorder is the mock recorder for MockTrie

func (*MockTrieMockRecorder) Delete Uses

func (mr *MockTrieMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockTrieMockRecorder) Get Uses

func (mr *MockTrieMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockTrieMockRecorder) IsEmpty Uses

func (mr *MockTrieMockRecorder) IsEmpty() *gomock.Call

IsEmpty indicates an expected call of IsEmpty

func (*MockTrieMockRecorder) RootHash Uses

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

RootHash indicates an expected call of RootHash

func (*MockTrieMockRecorder) SetRootHash Uses

func (mr *MockTrieMockRecorder) SetRootHash(arg0 interface{}) *gomock.Call

SetRootHash indicates an expected call of SetRootHash

func (*MockTrieMockRecorder) Start Uses

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

Start indicates an expected call of Start

func (*MockTrieMockRecorder) Stop Uses

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

Stop indicates an expected call of Stop

func (*MockTrieMockRecorder) Upsert Uses

func (mr *MockTrieMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call

Upsert indicates an expected call of Upsert

type MockTwoLayerTrie Uses

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

MockTwoLayerTrie is a mock of TwoLayerTrie interface

func NewMockTwoLayerTrie Uses

func NewMockTwoLayerTrie(ctrl *gomock.Controller) *MockTwoLayerTrie

NewMockTwoLayerTrie creates a new mock instance

func (*MockTwoLayerTrie) Delete Uses

func (m *MockTwoLayerTrie) Delete(arg0, arg1 []byte) error

Delete mocks base method

func (*MockTwoLayerTrie) EXPECT Uses

func (m *MockTwoLayerTrie) EXPECT() *MockTwoLayerTrieMockRecorder

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

func (*MockTwoLayerTrie) Get Uses

func (m *MockTwoLayerTrie) Get(arg0, arg1 []byte) ([]byte, error)

Get mocks base method

func (*MockTwoLayerTrie) RootHash Uses

func (m *MockTwoLayerTrie) RootHash() ([]byte, error)

RootHash mocks base method

func (*MockTwoLayerTrie) SetRootHash Uses

func (m *MockTwoLayerTrie) SetRootHash(arg0 []byte) error

SetRootHash mocks base method

func (*MockTwoLayerTrie) Start Uses

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

Start mocks base method

func (*MockTwoLayerTrie) Stop Uses

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

Stop mocks base method

func (*MockTwoLayerTrie) Upsert Uses

func (m *MockTwoLayerTrie) Upsert(arg0, arg1, arg2 []byte) error

Upsert mocks base method

type MockTwoLayerTrieMockRecorder Uses

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

MockTwoLayerTrieMockRecorder is the mock recorder for MockTwoLayerTrie

func (*MockTwoLayerTrieMockRecorder) Delete Uses

func (mr *MockTwoLayerTrieMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockTwoLayerTrieMockRecorder) Get Uses

func (mr *MockTwoLayerTrieMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockTwoLayerTrieMockRecorder) RootHash Uses

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

RootHash indicates an expected call of RootHash

func (*MockTwoLayerTrieMockRecorder) SetRootHash Uses

func (mr *MockTwoLayerTrieMockRecorder) SetRootHash(arg0 interface{}) *gomock.Call

SetRootHash indicates an expected call of SetRootHash

func (*MockTwoLayerTrieMockRecorder) Start Uses

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

Start indicates an expected call of Start

func (*MockTwoLayerTrieMockRecorder) Stop Uses

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

Stop indicates an expected call of Stop

func (*MockTwoLayerTrieMockRecorder) Upsert Uses

func (mr *MockTwoLayerTrieMockRecorder) Upsert(arg0, arg1, arg2 interface{}) *gomock.Call

Upsert indicates an expected call of Upsert

Package mock_trie imports 3 packages (graph). Updated 2020-09-24. Refresh now. Tools for package owners.