Documentation ¶
Overview ¶
Package mock_statedb is a generated GoMock package.
Index ¶
- type MockTrieNodeCache
- func (m *MockTrieNodeCache) Close() error
- func (m *MockTrieNodeCache) EXPECT() *MockTrieNodeCacheMockRecorder
- func (m *MockTrieNodeCache) Get(arg0 []byte) []byte
- func (m *MockTrieNodeCache) Has(arg0 []byte) ([]byte, bool)
- func (m *MockTrieNodeCache) SaveToFile(arg0 string, arg1 int) error
- func (m *MockTrieNodeCache) Set(arg0, arg1 []byte)
- func (m *MockTrieNodeCache) UpdateStats() interface{}
- type MockTrieNodeCacheMockRecorder
- func (mr *MockTrieNodeCacheMockRecorder) Close() *gomock.Call
- func (mr *MockTrieNodeCacheMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockTrieNodeCacheMockRecorder) Has(arg0 interface{}) *gomock.Call
- func (mr *MockTrieNodeCacheMockRecorder) SaveToFile(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTrieNodeCacheMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTrieNodeCacheMockRecorder) UpdateStats() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTrieNodeCache ¶
type MockTrieNodeCache struct {
// contains filtered or unexported fields
}
MockTrieNodeCache is a mock of TrieNodeCache interface
func NewMockTrieNodeCache ¶
func NewMockTrieNodeCache(ctrl *gomock.Controller) *MockTrieNodeCache
NewMockTrieNodeCache creates a new mock instance
func (*MockTrieNodeCache) EXPECT ¶
func (m *MockTrieNodeCache) EXPECT() *MockTrieNodeCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTrieNodeCache) Get ¶
func (m *MockTrieNodeCache) Get(arg0 []byte) []byte
Get mocks base method
func (*MockTrieNodeCache) Has ¶
func (m *MockTrieNodeCache) Has(arg0 []byte) ([]byte, bool)
Has mocks base method
func (*MockTrieNodeCache) SaveToFile ¶
func (m *MockTrieNodeCache) SaveToFile(arg0 string, arg1 int) error
SaveToFile mocks base method
func (*MockTrieNodeCache) Set ¶
func (m *MockTrieNodeCache) Set(arg0, arg1 []byte)
Set mocks base method
func (*MockTrieNodeCache) UpdateStats ¶
func (m *MockTrieNodeCache) UpdateStats() interface{}
UpdateStats mocks base method
type MockTrieNodeCacheMockRecorder ¶
type MockTrieNodeCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockTrieNodeCacheMockRecorder is the mock recorder for MockTrieNodeCache
func (*MockTrieNodeCacheMockRecorder) Close ¶
func (mr *MockTrieNodeCacheMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockTrieNodeCacheMockRecorder) Get ¶
func (mr *MockTrieNodeCacheMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockTrieNodeCacheMockRecorder) Has ¶
func (mr *MockTrieNodeCacheMockRecorder) Has(arg0 interface{}) *gomock.Call
Has indicates an expected call of Has
func (*MockTrieNodeCacheMockRecorder) SaveToFile ¶
func (mr *MockTrieNodeCacheMockRecorder) SaveToFile(arg0, arg1 interface{}) *gomock.Call
SaveToFile indicates an expected call of SaveToFile
func (*MockTrieNodeCacheMockRecorder) Set ¶
func (mr *MockTrieNodeCacheMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call
Set indicates an expected call of Set
func (*MockTrieNodeCacheMockRecorder) UpdateStats ¶
func (mr *MockTrieNodeCacheMockRecorder) UpdateStats() *gomock.Call
UpdateStats indicates an expected call of UpdateStats