Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockApplicationService
- func (m *MockApplicationService) Commit(arg0 context.Context, arg1 *types.RequestCommit) (*types.ResponseCommit, error)
- func (m *MockApplicationService) EXPECT() *MockApplicationServiceMockRecorder
- func (m *MockApplicationService) FinalizeBlock(arg0 context.Context, arg1 *types.RequestFinalizeBlock) (*types.ResponseFinalizeBlock, error)
- func (m *MockApplicationService) Info(arg0 context.Context, arg1 *types.RequestInfo) (*types.ResponseInfo, error)
- func (m *MockApplicationService) InitChain(arg0 context.Context, arg1 *types.RequestInitChain) (*types.ResponseInitChain, error)
- func (m *MockApplicationService) PrepareProposal(arg0 context.Context, arg1 *types.RequestPrepareProposal) (*types.ResponsePrepareProposal, error)
- type MockApplicationServiceMockRecorder
- func (mr *MockApplicationServiceMockRecorder) Commit(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplicationServiceMockRecorder) FinalizeBlock(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplicationServiceMockRecorder) Info(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplicationServiceMockRecorder) InitChain(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplicationServiceMockRecorder) PrepareProposal(arg0, arg1 interface{}) *gomock.Call
- type MockTimeService
- type MockTimeServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockApplicationService ¶
type MockApplicationService struct {
// contains filtered or unexported fields
}
MockApplicationService is a mock of ApplicationService interface.
func NewMockApplicationService ¶
func NewMockApplicationService(ctrl *gomock.Controller) *MockApplicationService
NewMockApplicationService creates a new mock instance.
func (*MockApplicationService) Commit ¶
func (m *MockApplicationService) Commit(arg0 context.Context, arg1 *types.RequestCommit) (*types.ResponseCommit, error)
Commit mocks base method.
func (*MockApplicationService) EXPECT ¶
func (m *MockApplicationService) EXPECT() *MockApplicationServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockApplicationService) FinalizeBlock ¶ added in v0.74.0
func (m *MockApplicationService) FinalizeBlock(arg0 context.Context, arg1 *types.RequestFinalizeBlock) (*types.ResponseFinalizeBlock, error)
FinalizeBlock mocks base method.
func (*MockApplicationService) Info ¶ added in v0.55.0
func (m *MockApplicationService) Info(arg0 context.Context, arg1 *types.RequestInfo) (*types.ResponseInfo, error)
Info mocks base method.
func (*MockApplicationService) InitChain ¶
func (m *MockApplicationService) InitChain(arg0 context.Context, arg1 *types.RequestInitChain) (*types.ResponseInitChain, error)
InitChain mocks base method.
func (*MockApplicationService) PrepareProposal ¶ added in v0.77.0
func (m *MockApplicationService) PrepareProposal(arg0 context.Context, arg1 *types.RequestPrepareProposal) (*types.ResponsePrepareProposal, error)
PrepareProposal mocks base method.
type MockApplicationServiceMockRecorder ¶
type MockApplicationServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockApplicationServiceMockRecorder is the mock recorder for MockApplicationService.
func (*MockApplicationServiceMockRecorder) Commit ¶
func (mr *MockApplicationServiceMockRecorder) Commit(arg0, arg1 interface{}) *gomock.Call
Commit indicates an expected call of Commit.
func (*MockApplicationServiceMockRecorder) FinalizeBlock ¶ added in v0.74.0
func (mr *MockApplicationServiceMockRecorder) FinalizeBlock(arg0, arg1 interface{}) *gomock.Call
FinalizeBlock indicates an expected call of FinalizeBlock.
func (*MockApplicationServiceMockRecorder) Info ¶ added in v0.55.0
func (mr *MockApplicationServiceMockRecorder) Info(arg0, arg1 interface{}) *gomock.Call
Info indicates an expected call of Info.
func (*MockApplicationServiceMockRecorder) InitChain ¶
func (mr *MockApplicationServiceMockRecorder) InitChain(arg0, arg1 interface{}) *gomock.Call
InitChain indicates an expected call of InitChain.
func (*MockApplicationServiceMockRecorder) PrepareProposal ¶ added in v0.77.0
func (mr *MockApplicationServiceMockRecorder) PrepareProposal(arg0, arg1 interface{}) *gomock.Call
PrepareProposal indicates an expected call of PrepareProposal.
type MockTimeService ¶ added in v0.62.0
type MockTimeService struct {
// contains filtered or unexported fields
}
MockTimeService is a mock of TimeService interface.
func NewMockTimeService ¶ added in v0.62.0
func NewMockTimeService(ctrl *gomock.Controller) *MockTimeService
NewMockTimeService creates a new mock instance.
func (*MockTimeService) EXPECT ¶ added in v0.62.0
func (m *MockTimeService) EXPECT() *MockTimeServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTimeService) GetTimeNow ¶ added in v0.62.0
func (m *MockTimeService) GetTimeNow() time.Time
GetTimeNow mocks base method.
type MockTimeServiceMockRecorder ¶ added in v0.62.0
type MockTimeServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockTimeServiceMockRecorder is the mock recorder for MockTimeService.
func (*MockTimeServiceMockRecorder) GetTimeNow ¶ added in v0.62.0
func (mr *MockTimeServiceMockRecorder) GetTimeNow() *gomock.Call
GetTimeNow indicates an expected call of GetTimeNow.