mocks

package
v0.67.2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: MIT Imports: 9 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, arg2, arg3 string, arg4 error, arg5 time.Time)

NotifyFailedTransaction mocks base method.

func (*MockInteractor) NotifyInteractionSessionBegan added in v0.58.0

func (m *MockInteractor) NotifyInteractionSessionBegan(arg0 context.Context, arg1 string) 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, arg2 string)

NotifySuccessfulRequest mocks base method.

func (*MockInteractor) NotifySuccessfulTransaction added in v0.58.0

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

NotifySuccessfulTransaction mocks base method.

func (*MockInteractor) RequestPassphrase added in v0.58.0

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

RequestPassphrase mocks base method.

func (*MockInteractor) RequestPermissionsReview added in v0.58.0

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

RequestPermissionsReview mocks base method.

func (*MockInteractor) RequestTransactionReviewForSending added in v0.58.0

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

RequestTransactionReviewForSending mocks base method.

func (*MockInteractor) RequestTransactionReviewForSigning added in v0.58.0

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

RequestTransactionReviewForSigning mocks base method.

func (*MockInteractor) RequestWalletConnectionReview added in v0.58.0

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

RequestWalletConnectionReview mocks base method.

func (*MockInteractor) RequestWalletSelection added in v0.58.0

func (m *MockInteractor) RequestWalletSelection(arg0 context.Context, arg1, arg2 string, arg3 []string) (api.SelectedWallet, 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 interface{}) *gomock.Call

NotifyFailedTransaction indicates an expected call of NotifyFailedTransaction.

func (*MockInteractorMockRecorder) NotifyInteractionSessionBegan added in v0.58.0

func (mr *MockInteractorMockRecorder) NotifyInteractionSessionBegan(arg0, arg1 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 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 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 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 interface{}) *gomock.Call

RequestPermissionsReview indicates an expected call of RequestPermissionsReview.

func (*MockInteractorMockRecorder) RequestTransactionReviewForSending added in v0.58.0

func (mr *MockInteractorMockRecorder) RequestTransactionReviewForSending(arg0, arg1, arg2, arg3, arg4, arg5, arg6 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 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 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 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) 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) SaveNetwork added in v0.55.0

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

SaveNetwork indicates an expected call of SaveNetwork.

type MockProofOfWork added in v0.65.0

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

MockProofOfWork is a mock of ProofOfWork interface.

func NewMockProofOfWork added in v0.65.0

func NewMockProofOfWork(ctrl *gomock.Controller) *MockProofOfWork

NewMockProofOfWork creates a new mock instance.

func (*MockProofOfWork) EXPECT added in v0.65.0

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

func (*MockProofOfWork) Generate added in v0.65.0

func (m *MockProofOfWork) Generate(arg0 string, arg1 *types.LastBlock) (*v1.ProofOfWork, error)

Generate mocks base method.

type MockProofOfWorkMockRecorder added in v0.65.0

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

MockProofOfWorkMockRecorder is the mock recorder for MockProofOfWork.

func (*MockProofOfWorkMockRecorder) Generate added in v0.65.0

func (mr *MockProofOfWorkMockRecorder) Generate(arg0, arg1 interface{}) *gomock.Call

Generate indicates an expected call of Generate.

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) 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) 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