mocks

package
v0.65.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: MIT Imports: 11 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 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 MockServiceStore added in v0.63.0

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

MockServiceStore is a mock of ServiceStore interface.

func NewMockServiceStore added in v0.63.0

func NewMockServiceStore(ctrl *gomock.Controller) *MockServiceStore

NewMockServiceStore creates a new mock instance.

func (*MockServiceStore) EXPECT added in v0.63.0

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

func (*MockServiceStore) GetRsaKeys added in v0.63.0

func (m *MockServiceStore) GetRsaKeys() (*service.RSAKeys, error)

GetRsaKeys mocks base method.

func (*MockServiceStore) RSAKeysExists added in v0.63.0

func (m *MockServiceStore) RSAKeysExists() (bool, error)

RSAKeysExists mocks base method.

func (*MockServiceStore) SaveRSAKeys added in v0.63.0

func (m *MockServiceStore) SaveRSAKeys(arg0 *service.RSAKeys) error

SaveRSAKeys mocks base method.

type MockServiceStoreMockRecorder added in v0.63.0

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

MockServiceStoreMockRecorder is the mock recorder for MockServiceStore.

func (*MockServiceStoreMockRecorder) GetRsaKeys added in v0.63.0

func (mr *MockServiceStoreMockRecorder) GetRsaKeys() *gomock.Call

GetRsaKeys indicates an expected call of GetRsaKeys.

func (*MockServiceStoreMockRecorder) RSAKeysExists added in v0.63.0

func (mr *MockServiceStoreMockRecorder) RSAKeysExists() *gomock.Call

RSAKeysExists indicates an expected call of RSAKeysExists.

func (*MockServiceStoreMockRecorder) SaveRSAKeys added in v0.63.0

func (mr *MockServiceStoreMockRecorder) SaveRSAKeys(arg0 interface{}) *gomock.Call

SaveRSAKeys indicates an expected call of SaveRSAKeys.

type MockTimeProvider added in v0.63.0

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

MockTimeProvider is a mock of TimeProvider interface.

func NewMockTimeProvider added in v0.63.0

func NewMockTimeProvider(ctrl *gomock.Controller) *MockTimeProvider

NewMockTimeProvider creates a new mock instance.

func (*MockTimeProvider) EXPECT added in v0.63.0

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

func (*MockTimeProvider) Now added in v0.63.0

func (m *MockTimeProvider) Now() time.Time

Now mocks base method.

type MockTimeProviderMockRecorder added in v0.63.0

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

MockTimeProviderMockRecorder is the mock recorder for MockTimeProvider.

func (*MockTimeProviderMockRecorder) Now added in v0.63.0

Now indicates an expected call of Now.

type MockTokenStore added in v0.63.0

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

MockTokenStore is a mock of TokenStore interface.

func NewMockTokenStore added in v0.63.0

func NewMockTokenStore(ctrl *gomock.Controller) *MockTokenStore

NewMockTokenStore creates a new mock instance.

func (*MockTokenStore) DeleteToken added in v0.63.0

func (m *MockTokenStore) DeleteToken(arg0 string) error

DeleteToken mocks base method.

func (*MockTokenStore) EXPECT added in v0.63.0

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

func (*MockTokenStore) GetToken added in v0.63.0

func (m *MockTokenStore) GetToken(arg0 string) (session.Token, error)

GetToken mocks base method.

func (*MockTokenStore) ListTokens added in v0.63.0

func (m *MockTokenStore) ListTokens() ([]session.TokenSummary, error)

ListTokens mocks base method.

func (*MockTokenStore) SaveToken added in v0.63.0

func (m *MockTokenStore) SaveToken(arg0 session.Token) error

SaveToken mocks base method.

func (*MockTokenStore) TokenExists added in v0.63.0

func (m *MockTokenStore) TokenExists(arg0 string) (bool, error)

TokenExists mocks base method.

type MockTokenStoreMockRecorder added in v0.63.0

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

MockTokenStoreMockRecorder is the mock recorder for MockTokenStore.

func (*MockTokenStoreMockRecorder) DeleteToken added in v0.63.0

func (mr *MockTokenStoreMockRecorder) DeleteToken(arg0 interface{}) *gomock.Call

DeleteToken indicates an expected call of DeleteToken.

func (*MockTokenStoreMockRecorder) GetToken added in v0.63.0

func (mr *MockTokenStoreMockRecorder) GetToken(arg0 interface{}) *gomock.Call

GetToken indicates an expected call of GetToken.

func (*MockTokenStoreMockRecorder) ListTokens added in v0.63.0

func (mr *MockTokenStoreMockRecorder) ListTokens() *gomock.Call

ListTokens indicates an expected call of ListTokens.

func (*MockTokenStoreMockRecorder) SaveToken added in v0.63.0

func (mr *MockTokenStoreMockRecorder) SaveToken(arg0 interface{}) *gomock.Call

SaveToken indicates an expected call of SaveToken.

func (*MockTokenStoreMockRecorder) TokenExists added in v0.63.0

func (mr *MockTokenStoreMockRecorder) TokenExists(arg0 interface{}) *gomock.Call

TokenExists indicates an expected call of TokenExists.

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) 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, arg2 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) RenameWallet added in v0.60.0

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

RenameWallet mocks base method.

func (*MockWalletStore) SaveWallet

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

SaveWallet 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) 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, arg2 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) 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) SaveWallet

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

SaveWallet indicates an expected call of SaveWallet.

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