mock_trie

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_trie is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTrie

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

MockTrie is a mock of Trie interface

func NewMockTrie

func NewMockTrie(ctrl *gomock.Controller) *MockTrie

NewMockTrie creates a new mock instance

func (*MockTrie) Close

func (m *MockTrie) Close() error

Close mocks base method

func (*MockTrie) Commit

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

Commit mocks base method

func (*MockTrie) Delete

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

Delete mocks base method

func (*MockTrie) EXPECT

func (m *MockTrie) EXPECT() *MockTrieMockRecorder

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

func (*MockTrie) Get

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

Get mocks base method

func (*MockTrie) RootHash

func (m *MockTrie) RootHash() common.Hash32B

RootHash mocks base method

func (*MockTrie) Upsert

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

Upsert mocks base method

type MockTrieMockRecorder

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

MockTrieMockRecorder is the mock recorder for MockTrie

func (*MockTrieMockRecorder) Close

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

Close indicates an expected call of Close

func (*MockTrieMockRecorder) Commit

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

Commit indicates an expected call of Commit

func (*MockTrieMockRecorder) Delete

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

Delete indicates an expected call of Delete

func (*MockTrieMockRecorder) Get

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

Get indicates an expected call of Get

func (*MockTrieMockRecorder) RootHash

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

RootHash indicates an expected call of RootHash

func (*MockTrieMockRecorder) Upsert

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

Upsert indicates an expected call of Upsert

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL