mocks

package
v0.77.9-patch.1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

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 MockConnectionsManager added in v0.67.0

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

MockConnectionsManager is a mock of ConnectionsManager interface.

func NewMockConnectionsManager added in v0.67.0

func NewMockConnectionsManager(ctrl *gomock.Controller) *MockConnectionsManager

NewMockConnectionsManager creates a new mock instance.

func (*MockConnectionsManager) EXPECT added in v0.67.0

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

func (*MockConnectionsManager) EndSessionConnection added in v0.67.0

func (m *MockConnectionsManager) EndSessionConnection(arg0, arg1 string)

EndSessionConnection mocks base method.

func (*MockConnectionsManager) ListSessionConnections added in v0.67.0

func (m *MockConnectionsManager) ListSessionConnections() []api.Connection

ListSessionConnections mocks base method.

type MockConnectionsManagerMockRecorder added in v0.67.0

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

MockConnectionsManagerMockRecorder is the mock recorder for MockConnectionsManager.

func (*MockConnectionsManagerMockRecorder) EndSessionConnection added in v0.67.0

func (mr *MockConnectionsManagerMockRecorder) EndSessionConnection(arg0, arg1 interface{}) *gomock.Call

EndSessionConnection indicates an expected call of EndSessionConnection.

func (*MockConnectionsManagerMockRecorder) ListSessionConnections added in v0.67.0

func (mr *MockConnectionsManagerMockRecorder) ListSessionConnections() *gomock.Call

ListSessionConnections indicates an expected call of ListSessionConnections.

type MockInteractor added in v0.58.0

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

MockInteractor is a mock of Interactor interface.

func NewMockInteractor added in v0.58.0

func NewMockInteractor(ctrl *gomock.Controller) *MockInteractor

NewMockInteractor creates a new mock instance.

func (*MockInteractor) EXPECT added in v0.58.0

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

func (*MockInteractor) Log added in v0.58.0

func (m *MockInteractor) Log(arg0 context.Context, arg1 string, arg2 api.LogType, arg3 string)

Log mocks base method.

func (*MockInteractor) NotifyError added in v0.58.0

func (m *MockInteractor) NotifyError(arg0 context.Context, arg1 string, arg2 api.ErrorType, arg3 error)

NotifyError mocks base method.

func (*MockInteractor) NotifyFailedTransaction added in v0.58.0

func (m *MockInteractor) NotifyFailedTransaction(arg0 context.Context, arg1 string, arg2 byte, arg3, arg4 string, arg5 error, arg6 time.Time, arg7 string)

NotifyFailedTransaction mocks base method.

func (*MockInteractor) NotifyInteractionSessionBegan added in v0.58.0

func (m *MockInteractor) NotifyInteractionSessionBegan(arg0 context.Context, arg1 string, arg2 api.WorkflowType, arg3 byte) error

NotifyInteractionSessionBegan mocks base method.

func (*MockInteractor) NotifyInteractionSessionEnded added in v0.58.0

func (m *MockInteractor) NotifyInteractionSessionEnded(arg0 context.Context, arg1 string)

NotifyInteractionSessionEnded mocks base method.

func (*MockInteractor) NotifySuccessfulRequest added in v0.58.0

func (m *MockInteractor) NotifySuccessfulRequest(arg0 context.Context, arg1 string, arg2 byte, arg3 string)

NotifySuccessfulRequest mocks base method.

func (*MockInteractor) NotifySuccessfulTransaction added in v0.58.0

func (m *MockInteractor) NotifySuccessfulTransaction(arg0 context.Context, arg1 string, arg2 byte, arg3, arg4, arg5 string, arg6 time.Time, arg7 string)

NotifySuccessfulTransaction mocks base method.

func (*MockInteractor) RequestPassphrase added in v0.58.0

func (m *MockInteractor) RequestPassphrase(arg0 context.Context, arg1 string, arg2 byte, arg3, arg4 string) (string, error)

RequestPassphrase mocks base method.

func (*MockInteractor) RequestPermissionsReview added in v0.58.0

func (m *MockInteractor) RequestPermissionsReview(arg0 context.Context, arg1 string, arg2 byte, arg3, arg4 string, arg5 map[string]string) (bool, error)

RequestPermissionsReview mocks base method.

func (*MockInteractor) RequestTransactionReviewForChecking added in v0.69.0

func (m *MockInteractor) RequestTransactionReviewForChecking(arg0 context.Context, arg1 string, arg2 byte, arg3, arg4, arg5, arg6 string, arg7 time.Time) (bool, error)

RequestTransactionReviewForChecking mocks base method.

func (*MockInteractor) RequestTransactionReviewForSending added in v0.58.0

func (m *MockInteractor) RequestTransactionReviewForSending(arg0 context.Context, arg1 string, arg2 byte, arg3, arg4, arg5, arg6 string, arg7 time.Time) (bool, error)

RequestTransactionReviewForSending mocks base method.

func (*MockInteractor) RequestTransactionReviewForSigning added in v0.58.0

func (m *MockInteractor) RequestTransactionReviewForSigning(arg0 context.Context, arg1 string, arg2 byte, arg3, arg4, arg5, arg6 string, arg7 time.Time) (bool, error)

RequestTransactionReviewForSigning mocks base method.

func (*MockInteractor) RequestWalletConnectionReview added in v0.58.0

func (m *MockInteractor) RequestWalletConnectionReview(arg0 context.Context, arg1 string, arg2 byte, arg3 string) (string, error)

RequestWalletConnectionReview mocks base method.

func (*MockInteractor) RequestWalletSelection added in v0.58.0

func (m *MockInteractor) RequestWalletSelection(arg0 context.Context, arg1 string, arg2 byte, arg3 string, arg4 []string) (string, error)

RequestWalletSelection mocks base method.

type MockInteractorMockRecorder added in v0.58.0

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

MockInteractorMockRecorder is the mock recorder for MockInteractor.

func (*MockInteractorMockRecorder) Log added in v0.58.0

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

Log indicates an expected call of Log.

func (*MockInteractorMockRecorder) NotifyError added in v0.58.0

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

NotifyError indicates an expected call of NotifyError.

func (*MockInteractorMockRecorder) NotifyFailedTransaction added in v0.58.0

func (mr *MockInteractorMockRecorder) NotifyFailedTransaction(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call

NotifyFailedTransaction indicates an expected call of NotifyFailedTransaction.

func (*MockInteractorMockRecorder) NotifyInteractionSessionBegan added in v0.58.0

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

NotifyInteractionSessionBegan indicates an expected call of NotifyInteractionSessionBegan.

func (*MockInteractorMockRecorder) NotifyInteractionSessionEnded added in v0.58.0

func (mr *MockInteractorMockRecorder) NotifyInteractionSessionEnded(arg0, arg1 interface{}) *gomock.Call

NotifyInteractionSessionEnded indicates an expected call of NotifyInteractionSessionEnded.

func (*MockInteractorMockRecorder) NotifySuccessfulRequest added in v0.58.0

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

NotifySuccessfulRequest indicates an expected call of NotifySuccessfulRequest.

func (*MockInteractorMockRecorder) NotifySuccessfulTransaction added in v0.58.0

func (mr *MockInteractorMockRecorder) NotifySuccessfulTransaction(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call

NotifySuccessfulTransaction indicates an expected call of NotifySuccessfulTransaction.

func (*MockInteractorMockRecorder) RequestPassphrase added in v0.58.0

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

RequestPassphrase indicates an expected call of RequestPassphrase.

func (*MockInteractorMockRecorder) RequestPermissionsReview added in v0.58.0

func (mr *MockInteractorMockRecorder) RequestPermissionsReview(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

RequestPermissionsReview indicates an expected call of RequestPermissionsReview.

func (*MockInteractorMockRecorder) RequestTransactionReviewForChecking added in v0.69.0

func (mr *MockInteractorMockRecorder) RequestTransactionReviewForChecking(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call

RequestTransactionReviewForChecking indicates an expected call of RequestTransactionReviewForChecking.

func (*MockInteractorMockRecorder) RequestTransactionReviewForSending added in v0.58.0

func (mr *MockInteractorMockRecorder) RequestTransactionReviewForSending(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call

RequestTransactionReviewForSending indicates an expected call of RequestTransactionReviewForSending.

func (*MockInteractorMockRecorder) RequestTransactionReviewForSigning added in v0.58.0

func (mr *MockInteractorMockRecorder) RequestTransactionReviewForSigning(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call

RequestTransactionReviewForSigning indicates an expected call of RequestTransactionReviewForSigning.

func (*MockInteractorMockRecorder) RequestWalletConnectionReview added in v0.58.0

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

RequestWalletConnectionReview indicates an expected call of RequestWalletConnectionReview.

func (*MockInteractorMockRecorder) RequestWalletSelection added in v0.58.0

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

RequestWalletSelection indicates an expected call of RequestWalletSelection.

type MockNetworkStore added in v0.55.0

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

MockNetworkStore is a mock of NetworkStore interface.

func NewMockNetworkStore added in v0.55.0

func NewMockNetworkStore(ctrl *gomock.Controller) *MockNetworkStore

NewMockNetworkStore creates a new mock instance.

func (*MockNetworkStore) DeleteNetwork added in v0.55.0

func (m *MockNetworkStore) DeleteNetwork(arg0 string) error

DeleteNetwork mocks base method.

func (*MockNetworkStore) EXPECT added in v0.55.0

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

func (*MockNetworkStore) GetNetwork added in v0.55.0

func (m *MockNetworkStore) GetNetwork(arg0 string) (*network.Network, error)

GetNetwork mocks base method.

func (*MockNetworkStore) GetNetworkPath added in v0.55.0

func (m *MockNetworkStore) GetNetworkPath(arg0 string) string

GetNetworkPath mocks base method.

func (*MockNetworkStore) ListNetworks added in v0.55.0

func (m *MockNetworkStore) ListNetworks() ([]string, error)

ListNetworks mocks base method.

func (*MockNetworkStore) NetworkExists added in v0.55.0

func (m *MockNetworkStore) NetworkExists(arg0 string) (bool, error)

NetworkExists mocks base method.

func (*MockNetworkStore) RenameNetwork added in v0.69.0

func (m *MockNetworkStore) RenameNetwork(arg0, arg1 string) error

RenameNetwork mocks base method.

func (*MockNetworkStore) SaveNetwork added in v0.55.0

func (m *MockNetworkStore) SaveNetwork(arg0 *network.Network) error

SaveNetwork mocks base method.

type MockNetworkStoreMockRecorder added in v0.55.0

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

MockNetworkStoreMockRecorder is the mock recorder for MockNetworkStore.

func (*MockNetworkStoreMockRecorder) DeleteNetwork added in v0.55.0

func (mr *MockNetworkStoreMockRecorder) DeleteNetwork(arg0 interface{}) *gomock.Call

DeleteNetwork indicates an expected call of DeleteNetwork.

func (*MockNetworkStoreMockRecorder) GetNetwork added in v0.55.0

func (mr *MockNetworkStoreMockRecorder) GetNetwork(arg0 interface{}) *gomock.Call

GetNetwork indicates an expected call of GetNetwork.

func (*MockNetworkStoreMockRecorder) GetNetworkPath added in v0.55.0

func (mr *MockNetworkStoreMockRecorder) GetNetworkPath(arg0 interface{}) *gomock.Call

GetNetworkPath indicates an expected call of GetNetworkPath.

func (*MockNetworkStoreMockRecorder) ListNetworks added in v0.55.0

func (mr *MockNetworkStoreMockRecorder) ListNetworks() *gomock.Call

ListNetworks indicates an expected call of ListNetworks.

func (*MockNetworkStoreMockRecorder) NetworkExists added in v0.55.0

func (mr *MockNetworkStoreMockRecorder) NetworkExists(arg0 interface{}) *gomock.Call

NetworkExists indicates an expected call of NetworkExists.

func (*MockNetworkStoreMockRecorder) RenameNetwork added in v0.69.0

func (mr *MockNetworkStoreMockRecorder) RenameNetwork(arg0, arg1 interface{}) *gomock.Call

RenameNetwork indicates an expected call of RenameNetwork.

func (*MockNetworkStoreMockRecorder) SaveNetwork added in v0.55.0

func (mr *MockNetworkStoreMockRecorder) SaveNetwork(arg0 interface{}) *gomock.Call

SaveNetwork indicates an expected call of SaveNetwork.

type MockSpamHandler added in v0.68.0

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

MockSpamHandler is a mock of SpamHandler interface.

func NewMockSpamHandler added in v0.68.0

func NewMockSpamHandler(ctrl *gomock.Controller) *MockSpamHandler

NewMockSpamHandler creates a new mock instance.

func (*MockSpamHandler) CheckSubmission added in v0.68.0

func (m *MockSpamHandler) CheckSubmission(arg0 *v10.SubmitTransactionRequest, arg1 *types.SpamStatistics) error

CheckSubmission mocks base method.

func (*MockSpamHandler) EXPECT added in v0.68.0

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

func (*MockSpamHandler) GenerateProofOfWork added in v0.68.0

func (m *MockSpamHandler) GenerateProofOfWork(arg0 string, arg1 *types.SpamStatistics) (*v1.ProofOfWork, error)

GenerateProofOfWork mocks base method.

type MockSpamHandlerMockRecorder added in v0.68.0

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

MockSpamHandlerMockRecorder is the mock recorder for MockSpamHandler.

func (*MockSpamHandlerMockRecorder) CheckSubmission added in v0.68.0

func (mr *MockSpamHandlerMockRecorder) CheckSubmission(arg0, arg1 interface{}) *gomock.Call

CheckSubmission indicates an expected call of CheckSubmission.

func (*MockSpamHandlerMockRecorder) GenerateProofOfWork added in v0.68.0

func (mr *MockSpamHandlerMockRecorder) GenerateProofOfWork(arg0, arg1 interface{}) *gomock.Call

GenerateProofOfWork indicates an expected call of GenerateProofOfWork.

type MockWalletStore

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

MockWalletStore is a mock of WalletStore interface.

func NewMockWalletStore

func NewMockWalletStore(ctrl *gomock.Controller) *MockWalletStore

NewMockWalletStore creates a new mock instance.

func (*MockWalletStore) CreateWallet added in v0.67.0

func (m *MockWalletStore) CreateWallet(arg0 context.Context, arg1 wallet.Wallet, arg2 string) error

CreateWallet mocks base method.

func (*MockWalletStore) DeleteWallet added in v0.55.0

func (m *MockWalletStore) DeleteWallet(arg0 context.Context, arg1 string) error

DeleteWallet mocks base method.

func (*MockWalletStore) EXPECT

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

func (*MockWalletStore) GetWallet

func (m *MockWalletStore) GetWallet(arg0 context.Context, arg1 string) (wallet.Wallet, error)

GetWallet mocks base method.

func (*MockWalletStore) GetWalletPath added in v0.55.0

func (m *MockWalletStore) GetWalletPath(arg0 string) string

GetWalletPath mocks base method.

func (*MockWalletStore) IsWalletAlreadyUnlocked added in v0.69.0

func (m *MockWalletStore) IsWalletAlreadyUnlocked(arg0 context.Context, arg1 string) (bool, error)

IsWalletAlreadyUnlocked mocks base method.

func (*MockWalletStore) ListWallets

func (m *MockWalletStore) ListWallets(arg0 context.Context) ([]string, error)

ListWallets mocks base method.

func (*MockWalletStore) LockWallet added in v0.67.0

func (m *MockWalletStore) LockWallet(arg0 context.Context, arg1 string) error

LockWallet mocks base method.

func (*MockWalletStore) RenameWallet added in v0.60.0

func (m *MockWalletStore) RenameWallet(arg0 context.Context, arg1, arg2 string) error

RenameWallet mocks base method.

func (*MockWalletStore) UnlockWallet added in v0.67.0

func (m *MockWalletStore) UnlockWallet(arg0 context.Context, arg1, arg2 string) error

UnlockWallet mocks base method.

func (*MockWalletStore) UpdatePassphrase added in v0.67.0

func (m *MockWalletStore) UpdatePassphrase(arg0 context.Context, arg1, arg2 string) error

UpdatePassphrase mocks base method.

func (*MockWalletStore) UpdateWallet added in v0.67.0

func (m *MockWalletStore) UpdateWallet(arg0 context.Context, arg1 wallet.Wallet) error

UpdateWallet mocks base method.

func (*MockWalletStore) WalletExists

func (m *MockWalletStore) WalletExists(arg0 context.Context, arg1 string) (bool, error)

WalletExists mocks base method.

type MockWalletStoreMockRecorder

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

MockWalletStoreMockRecorder is the mock recorder for MockWalletStore.

func (*MockWalletStoreMockRecorder) CreateWallet added in v0.67.0

func (mr *MockWalletStoreMockRecorder) CreateWallet(arg0, arg1, arg2 interface{}) *gomock.Call

CreateWallet indicates an expected call of CreateWallet.

func (*MockWalletStoreMockRecorder) DeleteWallet added in v0.55.0

func (mr *MockWalletStoreMockRecorder) DeleteWallet(arg0, arg1 interface{}) *gomock.Call

DeleteWallet indicates an expected call of DeleteWallet.

func (*MockWalletStoreMockRecorder) GetWallet

func (mr *MockWalletStoreMockRecorder) GetWallet(arg0, arg1 interface{}) *gomock.Call

GetWallet indicates an expected call of GetWallet.

func (*MockWalletStoreMockRecorder) GetWalletPath added in v0.55.0

func (mr *MockWalletStoreMockRecorder) GetWalletPath(arg0 interface{}) *gomock.Call

GetWalletPath indicates an expected call of GetWalletPath.

func (*MockWalletStoreMockRecorder) IsWalletAlreadyUnlocked added in v0.69.0

func (mr *MockWalletStoreMockRecorder) IsWalletAlreadyUnlocked(arg0, arg1 interface{}) *gomock.Call

IsWalletAlreadyUnlocked indicates an expected call of IsWalletAlreadyUnlocked.

func (*MockWalletStoreMockRecorder) ListWallets

func (mr *MockWalletStoreMockRecorder) ListWallets(arg0 interface{}) *gomock.Call

ListWallets indicates an expected call of ListWallets.

func (*MockWalletStoreMockRecorder) LockWallet added in v0.67.0

func (mr *MockWalletStoreMockRecorder) LockWallet(arg0, arg1 interface{}) *gomock.Call

LockWallet indicates an expected call of LockWallet.

func (*MockWalletStoreMockRecorder) RenameWallet added in v0.60.0

func (mr *MockWalletStoreMockRecorder) RenameWallet(arg0, arg1, arg2 interface{}) *gomock.Call

RenameWallet indicates an expected call of RenameWallet.

func (*MockWalletStoreMockRecorder) UnlockWallet added in v0.67.0

func (mr *MockWalletStoreMockRecorder) UnlockWallet(arg0, arg1, arg2 interface{}) *gomock.Call

UnlockWallet indicates an expected call of UnlockWallet.

func (*MockWalletStoreMockRecorder) UpdatePassphrase added in v0.67.0

func (mr *MockWalletStoreMockRecorder) UpdatePassphrase(arg0, arg1, arg2 interface{}) *gomock.Call

UpdatePassphrase indicates an expected call of UpdatePassphrase.

func (*MockWalletStoreMockRecorder) UpdateWallet added in v0.67.0

func (mr *MockWalletStoreMockRecorder) UpdateWallet(arg0, arg1 interface{}) *gomock.Call

UpdateWallet indicates an expected call of UpdateWallet.

func (*MockWalletStoreMockRecorder) WalletExists

func (mr *MockWalletStoreMockRecorder) WalletExists(arg0, arg1 interface{}) *gomock.Call

WalletExists indicates an expected call of WalletExists.

Jump to

Keyboard shortcuts

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