Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: scheduler/expected_interfaces.go
Generated by this command:
mockgen -source scheduler/expected_interfaces.go -destination scheduler/testutils/expected_interfaces.mock.go -package testutils
Package testutils is a generated GoMock package.
Index ¶
- type MockChainClient
- func (m *MockChainClient) AccAddress() string
- func (m *MockChainClient) BroadcastTxCommit(data *types1.TransactionData) (*types.TxResponse, error)
- func (m *MockChainClient) EXPECT() *MockChainClientMockRecorder
- func (m *MockChainClient) HasFeeGrant(granteeAddress, granterAddress string) (bool, error)
- func (m *MockChainClient) HasGrantedMsgGrantAllowanceAuthorization(appAddress string) (bool, error)
- type MockChainClientMockRecorder
- func (mr *MockChainClientMockRecorder) AccAddress() *gomock.Call
- func (mr *MockChainClientMockRecorder) BroadcastTxCommit(data any) *gomock.Call
- func (mr *MockChainClientMockRecorder) HasFeeGrant(granteeAddress, granterAddress any) *gomock.Call
- func (mr *MockChainClientMockRecorder) HasGrantedMsgGrantAllowanceAuthorization(appAddress any) *gomock.Call
- type MockDatabase
- func (m *MockDatabase) EXPECT() *MockDatabaseMockRecorder
- func (m *MockDatabase) GetApp(appID string) (*types0.Application, bool, error)
- func (m *MockDatabase) GetNotGrantedFeeGrantRequests(limit int) ([]types0.FeeGrantRequest, error)
- func (m *MockDatabase) SetFeeGrantRequestsGranted(ids []string) error
- type MockDatabaseMockRecorder
- type MockFirebase
- type MockFirebaseMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockChainClient ¶
type MockChainClient struct {
// contains filtered or unexported fields
}
MockChainClient is a mock of ChainClient interface.
func NewMockChainClient ¶
func NewMockChainClient(ctrl *gomock.Controller) *MockChainClient
NewMockChainClient creates a new mock instance.
func (*MockChainClient) AccAddress ¶
func (m *MockChainClient) AccAddress() string
AccAddress mocks base method.
func (*MockChainClient) BroadcastTxCommit ¶
func (m *MockChainClient) BroadcastTxCommit(data *types1.TransactionData) (*types.TxResponse, error)
BroadcastTxCommit mocks base method.
func (*MockChainClient) EXPECT ¶
func (m *MockChainClient) EXPECT() *MockChainClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockChainClient) HasFeeGrant ¶
func (m *MockChainClient) HasFeeGrant(granteeAddress, granterAddress string) (bool, error)
HasFeeGrant mocks base method.
func (*MockChainClient) HasGrantedMsgGrantAllowanceAuthorization ¶
func (m *MockChainClient) HasGrantedMsgGrantAllowanceAuthorization(appAddress string) (bool, error)
HasGrantedMsgGrantAllowanceAuthorization mocks base method.
type MockChainClientMockRecorder ¶
type MockChainClientMockRecorder struct {
// contains filtered or unexported fields
}
MockChainClientMockRecorder is the mock recorder for MockChainClient.
func (*MockChainClientMockRecorder) AccAddress ¶
func (mr *MockChainClientMockRecorder) AccAddress() *gomock.Call
AccAddress indicates an expected call of AccAddress.
func (*MockChainClientMockRecorder) BroadcastTxCommit ¶
func (mr *MockChainClientMockRecorder) BroadcastTxCommit(data any) *gomock.Call
BroadcastTxCommit indicates an expected call of BroadcastTxCommit.
func (*MockChainClientMockRecorder) HasFeeGrant ¶
func (mr *MockChainClientMockRecorder) HasFeeGrant(granteeAddress, granterAddress any) *gomock.Call
HasFeeGrant indicates an expected call of HasFeeGrant.
func (*MockChainClientMockRecorder) HasGrantedMsgGrantAllowanceAuthorization ¶
func (mr *MockChainClientMockRecorder) HasGrantedMsgGrantAllowanceAuthorization(appAddress any) *gomock.Call
HasGrantedMsgGrantAllowanceAuthorization indicates an expected call of HasGrantedMsgGrantAllowanceAuthorization.
type MockDatabase ¶
type MockDatabase struct {
// contains filtered or unexported fields
}
MockDatabase is a mock of Database interface.
func NewMockDatabase ¶
func NewMockDatabase(ctrl *gomock.Controller) *MockDatabase
NewMockDatabase creates a new mock instance.
func (*MockDatabase) EXPECT ¶
func (m *MockDatabase) EXPECT() *MockDatabaseMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDatabase) GetApp ¶
func (m *MockDatabase) GetApp(appID string) (*types0.Application, bool, error)
GetApp mocks base method.
func (*MockDatabase) GetNotGrantedFeeGrantRequests ¶
func (m *MockDatabase) GetNotGrantedFeeGrantRequests(limit int) ([]types0.FeeGrantRequest, error)
GetNotGrantedFeeGrantRequests mocks base method.
func (*MockDatabase) SetFeeGrantRequestsGranted ¶
func (m *MockDatabase) SetFeeGrantRequestsGranted(ids []string) error
SetFeeGrantRequestsGranted mocks base method.
type MockDatabaseMockRecorder ¶
type MockDatabaseMockRecorder struct {
// contains filtered or unexported fields
}
MockDatabaseMockRecorder is the mock recorder for MockDatabase.
func (*MockDatabaseMockRecorder) GetApp ¶
func (mr *MockDatabaseMockRecorder) GetApp(appID any) *gomock.Call
GetApp indicates an expected call of GetApp.
func (*MockDatabaseMockRecorder) GetNotGrantedFeeGrantRequests ¶
func (mr *MockDatabaseMockRecorder) GetNotGrantedFeeGrantRequests(limit any) *gomock.Call
GetNotGrantedFeeGrantRequests indicates an expected call of GetNotGrantedFeeGrantRequests.
func (*MockDatabaseMockRecorder) SetFeeGrantRequestsGranted ¶
func (mr *MockDatabaseMockRecorder) SetFeeGrantRequestsGranted(ids any) *gomock.Call
SetFeeGrantRequestsGranted indicates an expected call of SetFeeGrantRequestsGranted.
type MockFirebase ¶
type MockFirebase struct {
// contains filtered or unexported fields
}
MockFirebase is a mock of Firebase interface.
func NewMockFirebase ¶
func NewMockFirebase(ctrl *gomock.Controller) *MockFirebase
NewMockFirebase creates a new mock instance.
func (*MockFirebase) EXPECT ¶
func (m *MockFirebase) EXPECT() *MockFirebaseMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFirebase) SendNotificationToApp ¶
func (m *MockFirebase) SendNotificationToApp(appID string, notification types0.Notification) error
SendNotificationToApp mocks base method.
type MockFirebaseMockRecorder ¶
type MockFirebaseMockRecorder struct {
// contains filtered or unexported fields
}
MockFirebaseMockRecorder is the mock recorder for MockFirebase.
func (*MockFirebaseMockRecorder) SendNotificationToApp ¶
func (mr *MockFirebaseMockRecorder) SendNotificationToApp(appID, notification any) *gomock.Call
SendNotificationToApp indicates an expected call of SendNotificationToApp.