Documentation ¶
Overview ¶
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.
Index ¶
- Variables
- type MockIElementsClient
- type MockIElementsClientMockRecorder
- type MockIPlanetmintClient
- type MockIPlanetmintClientMockRecorder
- type MockIR2PClient
- type MockIR2PClientMockRecorder
- type MockIShamirCoordinatorClient
- func (m *MockIShamirCoordinatorClient) EXPECT() *MockIShamirCoordinatorClientMockRecorder
- func (m *MockIShamirCoordinatorClient) GetMnemonics(ctx context.Context) (service.MnemonicsResponse, error)
- func (m *MockIShamirCoordinatorClient) PostMnemonics(ctx context.Context, secret string) error
- func (m *MockIShamirCoordinatorClient) SendTokens(ctx context.Context, recipient, amount string) (service.SendTokensResponse, error)
- type MockIShamirCoordinatorClientMockRecorder
- func (mr *MockIShamirCoordinatorClientMockRecorder) GetMnemonics(ctx interface{}) *gomock.Call
- func (mr *MockIShamirCoordinatorClientMockRecorder) PostMnemonics(ctx, secret interface{}) *gomock.Call
- func (mr *MockIShamirCoordinatorClientMockRecorder) SendTokens(ctx, recipient, amount interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
var TxDetails = []elementstypes.ListReceivedByAddressResult{
{
Amount: 100,
},
}
Functions ¶
This section is empty.
Types ¶
type MockIElementsClient ¶
type MockIElementsClient struct {
// contains filtered or unexported fields
}
MockIElementsClient is a mock of IElementsClient interface.
func NewMockIElementsClient ¶
func NewMockIElementsClient(ctrl *gomock.Controller) *MockIElementsClient
NewMockIElementsClient creates a new mock instance.
func (*MockIElementsClient) EXPECT ¶
func (m *MockIElementsClient) EXPECT() *MockIElementsClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIElementsClient) ListReceivedByAddress ¶
func (m *MockIElementsClient) ListReceivedByAddress(url string, params []string) ([]types.ListReceivedByAddressResult, error)
ListReceivedByAddress mocks base method.
type MockIElementsClientMockRecorder ¶
type MockIElementsClientMockRecorder struct {
// contains filtered or unexported fields
}
MockIElementsClientMockRecorder is the mock recorder for MockIElementsClient.
func (*MockIElementsClientMockRecorder) ListReceivedByAddress ¶
func (mr *MockIElementsClientMockRecorder) ListReceivedByAddress(url, params interface{}) *gomock.Call
ListReceivedByAddress indicates an expected call of ListReceivedByAddress.
type MockIPlanetmintClient ¶
type MockIPlanetmintClient struct {
// contains filtered or unexported fields
}
MockIPlanetmintClient is a mock of IPlanetmintClient interface.
func NewMockIPlanetmintClient ¶
func NewMockIPlanetmintClient(ctrl *gomock.Controller) *MockIPlanetmintClient
NewMockIPlanetmintClient creates a new mock instance.
func (*MockIPlanetmintClient) EXPECT ¶
func (m *MockIPlanetmintClient) EXPECT() *MockIPlanetmintClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIPlanetmintClient) GetValidatorAddresses ¶
func (m *MockIPlanetmintClient) GetValidatorAddresses() ([]string, error)
GetValidatorAddresses mocks base method.
func (*MockIPlanetmintClient) GetValidatorDelegationAddresses ¶
func (m *MockIPlanetmintClient) GetValidatorDelegationAddresses(validatorAddress string) ([]string, error)
GetValidatorDelegationAddresses mocks base method.
type MockIPlanetmintClientMockRecorder ¶
type MockIPlanetmintClientMockRecorder struct {
// contains filtered or unexported fields
}
MockIPlanetmintClientMockRecorder is the mock recorder for MockIPlanetmintClient.
func (*MockIPlanetmintClientMockRecorder) GetValidatorAddresses ¶
func (mr *MockIPlanetmintClientMockRecorder) GetValidatorAddresses() *gomock.Call
GetValidatorAddresses indicates an expected call of GetValidatorAddresses.
func (*MockIPlanetmintClientMockRecorder) GetValidatorDelegationAddresses ¶
func (mr *MockIPlanetmintClientMockRecorder) GetValidatorDelegationAddresses(validatorAddress interface{}) *gomock.Call
GetValidatorDelegationAddresses indicates an expected call of GetValidatorDelegationAddresses.
type MockIR2PClient ¶
type MockIR2PClient struct {
// contains filtered or unexported fields
}
MockIR2PClient is a mock of IR2PClient interface.
func NewMockIR2PClient ¶
func NewMockIR2PClient(ctrl *gomock.Controller) *MockIR2PClient
NewMockIR2PClient creates a new mock instance.
func (*MockIR2PClient) EXPECT ¶
func (m *MockIR2PClient) EXPECT() *MockIR2PClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIR2PClient) GetReceiveAddress ¶
func (m *MockIR2PClient) GetReceiveAddress(ctx context.Context, plmntAddress string) (service.ReceiveAddressResponse, error)
GetReceiveAddress mocks base method.
type MockIR2PClientMockRecorder ¶
type MockIR2PClientMockRecorder struct {
// contains filtered or unexported fields
}
MockIR2PClientMockRecorder is the mock recorder for MockIR2PClient.
func (*MockIR2PClientMockRecorder) GetReceiveAddress ¶
func (mr *MockIR2PClientMockRecorder) GetReceiveAddress(ctx, plmntAddress interface{}) *gomock.Call
GetReceiveAddress indicates an expected call of GetReceiveAddress.
type MockIShamirCoordinatorClient ¶ added in v0.2.0
type MockIShamirCoordinatorClient struct {
// contains filtered or unexported fields
}
MockIShamirCoordinatorClient is a mock of IShamirCoordinatorClient interface.
func NewMockIShamirCoordinatorClient ¶ added in v0.2.0
func NewMockIShamirCoordinatorClient(ctrl *gomock.Controller) *MockIShamirCoordinatorClient
NewMockIShamirCoordinatorClient creates a new mock instance.
func (*MockIShamirCoordinatorClient) EXPECT ¶ added in v0.2.0
func (m *MockIShamirCoordinatorClient) EXPECT() *MockIShamirCoordinatorClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIShamirCoordinatorClient) GetMnemonics ¶ added in v0.2.0
func (m *MockIShamirCoordinatorClient) GetMnemonics(ctx context.Context) (service.MnemonicsResponse, error)
GetMnemonics mocks base method.
func (*MockIShamirCoordinatorClient) PostMnemonics ¶ added in v0.2.0
func (m *MockIShamirCoordinatorClient) PostMnemonics(ctx context.Context, secret string) error
PostMnemonics mocks base method.
func (*MockIShamirCoordinatorClient) SendTokens ¶ added in v0.2.0
func (m *MockIShamirCoordinatorClient) SendTokens(ctx context.Context, recipient, amount string) (service.SendTokensResponse, error)
SendTokens mocks base method.
type MockIShamirCoordinatorClientMockRecorder ¶ added in v0.2.0
type MockIShamirCoordinatorClientMockRecorder struct {
// contains filtered or unexported fields
}
MockIShamirCoordinatorClientMockRecorder is the mock recorder for MockIShamirCoordinatorClient.
func (*MockIShamirCoordinatorClientMockRecorder) GetMnemonics ¶ added in v0.2.0
func (mr *MockIShamirCoordinatorClientMockRecorder) GetMnemonics(ctx interface{}) *gomock.Call
GetMnemonics indicates an expected call of GetMnemonics.
func (*MockIShamirCoordinatorClientMockRecorder) PostMnemonics ¶ added in v0.2.0
func (mr *MockIShamirCoordinatorClientMockRecorder) PostMnemonics(ctx, secret interface{}) *gomock.Call
PostMnemonics indicates an expected call of PostMnemonics.
func (*MockIShamirCoordinatorClientMockRecorder) SendTokens ¶ added in v0.2.0
func (mr *MockIShamirCoordinatorClientMockRecorder) SendTokens(ctx, recipient, amount interface{}) *gomock.Call
SendTokens indicates an expected call of SendTokens.