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

package mock_batch

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

Package mock_batch is a generated GoMock package.

Index

Package Files

mock_batch.go

type MockCachedBatch Uses

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

MockCachedBatch is a mock of CachedBatch interface

func NewMockCachedBatch Uses

func NewMockCachedBatch(ctrl *gomock.Controller) *MockCachedBatch

NewMockCachedBatch creates a new mock instance

func (*MockCachedBatch) AddFillPercent Uses

func (m *MockCachedBatch) AddFillPercent(arg0 string, arg1 float64)

AddFillPercent mocks base method

func (*MockCachedBatch) CheckFillPercent Uses

func (m *MockCachedBatch) CheckFillPercent(arg0 string) (float64, bool)

CheckFillPercent mocks base method

func (*MockCachedBatch) Clear Uses

func (m *MockCachedBatch) Clear()

Clear mocks base method

func (*MockCachedBatch) ClearAndUnlock Uses

func (m *MockCachedBatch) ClearAndUnlock()

ClearAndUnlock mocks base method

func (*MockCachedBatch) Delete Uses

func (m *MockCachedBatch) Delete(arg0 string, arg1 []byte, arg2 string, arg3 ...interface{})

Delete mocks base method

func (*MockCachedBatch) EXPECT Uses

func (m *MockCachedBatch) EXPECT() *MockCachedBatchMockRecorder

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

func (*MockCachedBatch) Entry Uses

func (m *MockCachedBatch) Entry(arg0 int) (*batch.WriteInfo, error)

Entry mocks base method

func (*MockCachedBatch) Get Uses

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

Get mocks base method

func (*MockCachedBatch) Lock Uses

func (m *MockCachedBatch) Lock()

Lock mocks base method

func (*MockCachedBatch) Put Uses

func (m *MockCachedBatch) Put(arg0 string, arg1, arg2 []byte, arg3 string, arg4 ...interface{})

Put mocks base method

func (*MockCachedBatch) Revert Uses

func (m *MockCachedBatch) Revert(arg0 int) error

Revert mocks base method

func (*MockCachedBatch) SerializeQueue Uses

func (m *MockCachedBatch) SerializeQueue(arg0 batch.WriteInfoSerialize, arg1 batch.WriteInfoFilter) []byte

SerializeQueue mocks base method

func (*MockCachedBatch) Size Uses

func (m *MockCachedBatch) Size() int

Size mocks base method

func (*MockCachedBatch) Snapshot Uses

func (m *MockCachedBatch) Snapshot() int

Snapshot mocks base method

func (*MockCachedBatch) Translate Uses

func (m *MockCachedBatch) Translate(arg0 batch.WriteInfoTranslate) batch.KVStoreBatch

Translate mocks base method

func (*MockCachedBatch) Unlock Uses

func (m *MockCachedBatch) Unlock()

Unlock mocks base method

type MockCachedBatchMockRecorder Uses

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

MockCachedBatchMockRecorder is the mock recorder for MockCachedBatch

func (*MockCachedBatchMockRecorder) AddFillPercent Uses

func (mr *MockCachedBatchMockRecorder) AddFillPercent(arg0, arg1 interface{}) *gomock.Call

AddFillPercent indicates an expected call of AddFillPercent

func (*MockCachedBatchMockRecorder) CheckFillPercent Uses

func (mr *MockCachedBatchMockRecorder) CheckFillPercent(arg0 interface{}) *gomock.Call

CheckFillPercent indicates an expected call of CheckFillPercent

func (*MockCachedBatchMockRecorder) Clear Uses

func (mr *MockCachedBatchMockRecorder) Clear() *gomock.Call

Clear indicates an expected call of Clear

func (*MockCachedBatchMockRecorder) ClearAndUnlock Uses

func (mr *MockCachedBatchMockRecorder) ClearAndUnlock() *gomock.Call

ClearAndUnlock indicates an expected call of ClearAndUnlock

func (*MockCachedBatchMockRecorder) Delete Uses

func (mr *MockCachedBatchMockRecorder) Delete(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockCachedBatchMockRecorder) Entry Uses

func (mr *MockCachedBatchMockRecorder) Entry(arg0 interface{}) *gomock.Call

Entry indicates an expected call of Entry

func (*MockCachedBatchMockRecorder) Get Uses

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

Get indicates an expected call of Get

func (*MockCachedBatchMockRecorder) Lock Uses

func (mr *MockCachedBatchMockRecorder) Lock() *gomock.Call

Lock indicates an expected call of Lock

func (*MockCachedBatchMockRecorder) Put Uses

func (mr *MockCachedBatchMockRecorder) Put(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call

Put indicates an expected call of Put

func (*MockCachedBatchMockRecorder) Revert Uses

func (mr *MockCachedBatchMockRecorder) Revert(arg0 interface{}) *gomock.Call

Revert indicates an expected call of Revert

func (*MockCachedBatchMockRecorder) SerializeQueue Uses

func (mr *MockCachedBatchMockRecorder) SerializeQueue(arg0, arg1 interface{}) *gomock.Call

SerializeQueue indicates an expected call of SerializeQueue

func (*MockCachedBatchMockRecorder) Size Uses

func (mr *MockCachedBatchMockRecorder) Size() *gomock.Call

Size indicates an expected call of Size

func (*MockCachedBatchMockRecorder) Snapshot Uses

func (mr *MockCachedBatchMockRecorder) Snapshot() *gomock.Call

Snapshot indicates an expected call of Snapshot

func (*MockCachedBatchMockRecorder) Translate Uses

func (mr *MockCachedBatchMockRecorder) Translate(arg0 interface{}) *gomock.Call

Translate indicates an expected call of Translate

func (*MockCachedBatchMockRecorder) Unlock Uses

func (mr *MockCachedBatchMockRecorder) Unlock() *gomock.Call

Unlock indicates an expected call of Unlock

type MockKVStoreBatch Uses

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

MockKVStoreBatch is a mock of KVStoreBatch interface

func NewMockKVStoreBatch Uses

func NewMockKVStoreBatch(ctrl *gomock.Controller) *MockKVStoreBatch

NewMockKVStoreBatch creates a new mock instance

func (*MockKVStoreBatch) AddFillPercent Uses

func (m *MockKVStoreBatch) AddFillPercent(arg0 string, arg1 float64)

AddFillPercent mocks base method

func (*MockKVStoreBatch) CheckFillPercent Uses

func (m *MockKVStoreBatch) CheckFillPercent(arg0 string) (float64, bool)

CheckFillPercent mocks base method

func (*MockKVStoreBatch) Clear Uses

func (m *MockKVStoreBatch) Clear()

Clear mocks base method

func (*MockKVStoreBatch) ClearAndUnlock Uses

func (m *MockKVStoreBatch) ClearAndUnlock()

ClearAndUnlock mocks base method

func (*MockKVStoreBatch) Delete Uses

func (m *MockKVStoreBatch) Delete(arg0 string, arg1 []byte, arg2 string, arg3 ...interface{})

Delete mocks base method

func (*MockKVStoreBatch) EXPECT Uses

func (m *MockKVStoreBatch) EXPECT() *MockKVStoreBatchMockRecorder

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

func (*MockKVStoreBatch) Entry Uses

func (m *MockKVStoreBatch) Entry(arg0 int) (*batch.WriteInfo, error)

Entry mocks base method

func (*MockKVStoreBatch) Lock Uses

func (m *MockKVStoreBatch) Lock()

Lock mocks base method

func (*MockKVStoreBatch) Put Uses

func (m *MockKVStoreBatch) Put(arg0 string, arg1, arg2 []byte, arg3 string, arg4 ...interface{})

Put mocks base method

func (*MockKVStoreBatch) SerializeQueue Uses

func (m *MockKVStoreBatch) SerializeQueue(arg0 batch.WriteInfoSerialize, arg1 batch.WriteInfoFilter) []byte

SerializeQueue mocks base method

func (*MockKVStoreBatch) Size Uses

func (m *MockKVStoreBatch) Size() int

Size mocks base method

func (*MockKVStoreBatch) Translate Uses

func (m *MockKVStoreBatch) Translate(arg0 batch.WriteInfoTranslate) batch.KVStoreBatch

Translate mocks base method

func (*MockKVStoreBatch) Unlock Uses

func (m *MockKVStoreBatch) Unlock()

Unlock mocks base method

type MockKVStoreBatchMockRecorder Uses

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

MockKVStoreBatchMockRecorder is the mock recorder for MockKVStoreBatch

func (*MockKVStoreBatchMockRecorder) AddFillPercent Uses

func (mr *MockKVStoreBatchMockRecorder) AddFillPercent(arg0, arg1 interface{}) *gomock.Call

AddFillPercent indicates an expected call of AddFillPercent

func (*MockKVStoreBatchMockRecorder) CheckFillPercent Uses

func (mr *MockKVStoreBatchMockRecorder) CheckFillPercent(arg0 interface{}) *gomock.Call

CheckFillPercent indicates an expected call of CheckFillPercent

func (*MockKVStoreBatchMockRecorder) Clear Uses

func (mr *MockKVStoreBatchMockRecorder) Clear() *gomock.Call

Clear indicates an expected call of Clear

func (*MockKVStoreBatchMockRecorder) ClearAndUnlock Uses

func (mr *MockKVStoreBatchMockRecorder) ClearAndUnlock() *gomock.Call

ClearAndUnlock indicates an expected call of ClearAndUnlock

func (*MockKVStoreBatchMockRecorder) Delete Uses

func (mr *MockKVStoreBatchMockRecorder) Delete(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockKVStoreBatchMockRecorder) Entry Uses

func (mr *MockKVStoreBatchMockRecorder) Entry(arg0 interface{}) *gomock.Call

Entry indicates an expected call of Entry

func (*MockKVStoreBatchMockRecorder) Lock Uses

func (mr *MockKVStoreBatchMockRecorder) Lock() *gomock.Call

Lock indicates an expected call of Lock

func (*MockKVStoreBatchMockRecorder) Put Uses

func (mr *MockKVStoreBatchMockRecorder) Put(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call

Put indicates an expected call of Put

func (*MockKVStoreBatchMockRecorder) SerializeQueue Uses

func (mr *MockKVStoreBatchMockRecorder) SerializeQueue(arg0, arg1 interface{}) *gomock.Call

SerializeQueue indicates an expected call of SerializeQueue

func (*MockKVStoreBatchMockRecorder) Size Uses

func (mr *MockKVStoreBatchMockRecorder) Size() *gomock.Call

Size indicates an expected call of Size

func (*MockKVStoreBatchMockRecorder) Translate Uses

func (mr *MockKVStoreBatchMockRecorder) Translate(arg0 interface{}) *gomock.Call

Translate indicates an expected call of Translate

func (*MockKVStoreBatchMockRecorder) Unlock Uses

func (mr *MockKVStoreBatchMockRecorder) Unlock() *gomock.Call

Unlock indicates an expected call of Unlock

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