mocks

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProvider

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

MockProvider is a mock of Provider interface.

func NewMockProvider

func NewMockProvider(ctrl *gomock.Controller) *MockProvider

NewMockProvider creates a new mock instance.

func (*MockProvider) AddEVMTransaction

func (m *MockProvider) AddEVMTransaction(id types.MessageID, msgValue any, tx *sign.Transaction, evmTxHash string) (uint64, types.TxHash)

AddEVMTransaction mocks base method.

func (*MockProvider) ConsumeEVMMsgResult

func (m *MockProvider) ConsumeEVMMsgResult(evmTxHash string) ([]byte, []error, string, bool)

ConsumeEVMMsgResult mocks base method.

func (*MockProvider) EXPECT

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

func (*MockProvider) GetMessageByFullName

func (m *MockProvider) GetMessageByFullName(arg0 string) (types.Message, bool)

GetMessageByFullName mocks base method.

func (*MockProvider) GetMessageByID

func (m *MockProvider) GetMessageByID(id types.MessageID) (types.Message, bool)

GetMessageByID mocks base method.

func (*MockProvider) GetSignerComponentForPersona

func (m *MockProvider) GetSignerComponentForPersona(arg0 string) (*component.SignerComponent, error)

GetSignerComponentForPersona mocks base method.

func (*MockProvider) HandleQueryEVM

func (m *MockProvider) HandleQueryEVM(group, name string, abiRequest []byte) ([]byte, error)

HandleQueryEVM mocks base method.

func (*MockProvider) WaitForNextTick

func (m *MockProvider) WaitForNextTick() bool

WaitForNextTick mocks base method.

type MockProviderMockRecorder

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

MockProviderMockRecorder is the mock recorder for MockProvider.

func (*MockProviderMockRecorder) AddEVMTransaction

func (mr *MockProviderMockRecorder) AddEVMTransaction(id, msgValue, tx, evmTxHash interface{}) *gomock.Call

AddEVMTransaction indicates an expected call of AddEVMTransaction.

func (*MockProviderMockRecorder) ConsumeEVMMsgResult

func (mr *MockProviderMockRecorder) ConsumeEVMMsgResult(evmTxHash interface{}) *gomock.Call

ConsumeEVMMsgResult indicates an expected call of ConsumeEVMMsgResult.

func (*MockProviderMockRecorder) GetMessageByFullName

func (mr *MockProviderMockRecorder) GetMessageByFullName(arg0 interface{}) *gomock.Call

GetMessageByFullName indicates an expected call of GetMessageByFullName.

func (*MockProviderMockRecorder) GetMessageByID

func (mr *MockProviderMockRecorder) GetMessageByID(id interface{}) *gomock.Call

GetMessageByID indicates an expected call of GetMessageByID.

func (*MockProviderMockRecorder) GetSignerComponentForPersona

func (mr *MockProviderMockRecorder) GetSignerComponentForPersona(arg0 interface{}) *gomock.Call

GetSignerComponentForPersona indicates an expected call of GetSignerComponentForPersona.

func (*MockProviderMockRecorder) HandleQueryEVM

func (mr *MockProviderMockRecorder) HandleQueryEVM(group, name, abiRequest interface{}) *gomock.Call

HandleQueryEVM indicates an expected call of HandleQueryEVM.

func (*MockProviderMockRecorder) WaitForNextTick

func (mr *MockProviderMockRecorder) WaitForNextTick() *gomock.Call

WaitForNextTick indicates an expected call of WaitForNextTick.

type MockRouter

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

MockRouter is a mock of Router interface.

func NewMockRouter

func NewMockRouter(ctrl *gomock.Controller) *MockRouter

NewMockRouter creates a new mock instance.

func (*MockRouter) EXPECT

func (m *MockRouter) EXPECT() *MockRouterMockRecorder

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

func (*MockRouter) RegisterGameShard

func (m *MockRouter) RegisterGameShard(arg0 context.Context) error

RegisterGameShard mocks base method.

func (*MockRouter) Shutdown

func (m *MockRouter) Shutdown()

Shutdown mocks base method.

func (*MockRouter) Start

func (m *MockRouter) Start() error

Start mocks base method.

func (*MockRouter) SubmitTxBlob

func (m *MockRouter) SubmitTxBlob(ctx context.Context, processedTxs txpool.TxMap, epoch, unixTimestamp uint64) error

SubmitTxBlob mocks base method.

func (*MockRouter) TransactionIterator

func (m *MockRouter) TransactionIterator() iterator.Iterator

TransactionIterator mocks base method.

type MockRouterMockRecorder

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

MockRouterMockRecorder is the mock recorder for MockRouter.

func (*MockRouterMockRecorder) RegisterGameShard

func (mr *MockRouterMockRecorder) RegisterGameShard(arg0 interface{}) *gomock.Call

RegisterGameShard indicates an expected call of RegisterGameShard.

func (*MockRouterMockRecorder) Shutdown

func (mr *MockRouterMockRecorder) Shutdown() *gomock.Call

Shutdown indicates an expected call of Shutdown.

func (*MockRouterMockRecorder) Start

func (mr *MockRouterMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start.

func (*MockRouterMockRecorder) SubmitTxBlob

func (mr *MockRouterMockRecorder) SubmitTxBlob(ctx, processedTxs, epoch, unixTimestamp interface{}) *gomock.Call

SubmitTxBlob indicates an expected call of SubmitTxBlob.

func (*MockRouterMockRecorder) TransactionIterator

func (mr *MockRouterMockRecorder) TransactionIterator() *gomock.Call

TransactionIterator indicates an expected call of TransactionIterator.

Jump to

Keyboard shortcuts

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