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

func (m *MockTrie) DB() trie.KVStore

DB mocks base method

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

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

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

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

DB indicates an expected call of DB

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

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