Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockAfcExecutor
- func (m *MockAfcExecutor) Claim(chainId uint16, sequence uint64, payload []byte) (string, error)
- func (m *MockAfcExecutor) EXPECT() *MockAfcExecutorMockRecorder
- func (m *MockAfcExecutor) GetAddress() types.ValAddress
- func (m *MockAfcExecutor) GetCurrentSequence(chainId uint16) (int64, error)
- func (m *MockAfcExecutor) GetProphecy(chainId uint16, sequence int64) (*msg.Prophecy, error)
- type MockAfcExecutorMockRecorder
- func (mr *MockAfcExecutorMockRecorder) Claim(chainId, sequence, payload interface{}) *gomock.Call
- func (mr *MockAfcExecutorMockRecorder) GetAddress() *gomock.Call
- func (mr *MockAfcExecutorMockRecorder) GetCurrentSequence(chainId interface{}) *gomock.Call
- func (mr *MockAfcExecutorMockRecorder) GetProphecy(chainId, sequence interface{}) *gomock.Call
- type MockAscExecutor
- type MockAscExecutorMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAfcExecutor ¶
type MockAfcExecutor struct {
// contains filtered or unexported fields
}
MockAfcExecutor is a mock of AfcExecutor interface
func NewMockAfcExecutor ¶
func NewMockAfcExecutor(ctrl *gomock.Controller) *MockAfcExecutor
NewMockAfcExecutor creates a new mock instance
func (*MockAfcExecutor) EXPECT ¶
func (m *MockAfcExecutor) EXPECT() *MockAfcExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAfcExecutor) GetAddress ¶
func (m *MockAfcExecutor) GetAddress() types.ValAddress
GetAddress mocks base method
func (*MockAfcExecutor) GetCurrentSequence ¶
func (m *MockAfcExecutor) GetCurrentSequence(chainId uint16) (int64, error)
GetCurrentSequence mocks base method
func (*MockAfcExecutor) GetProphecy ¶
GetProphecy mocks base method
type MockAfcExecutorMockRecorder ¶
type MockAfcExecutorMockRecorder struct {
// contains filtered or unexported fields
}
MockAfcExecutorMockRecorder is the mock recorder for MockAfcExecutor
func (*MockAfcExecutorMockRecorder) Claim ¶
func (mr *MockAfcExecutorMockRecorder) Claim(chainId, sequence, payload interface{}) *gomock.Call
Claim indicates an expected call of Claim
func (*MockAfcExecutorMockRecorder) GetAddress ¶
func (mr *MockAfcExecutorMockRecorder) GetAddress() *gomock.Call
GetAddress indicates an expected call of GetAddress
func (*MockAfcExecutorMockRecorder) GetCurrentSequence ¶
func (mr *MockAfcExecutorMockRecorder) GetCurrentSequence(chainId interface{}) *gomock.Call
GetCurrentSequence indicates an expected call of GetCurrentSequence
func (*MockAfcExecutorMockRecorder) GetProphecy ¶
func (mr *MockAfcExecutorMockRecorder) GetProphecy(chainId, sequence interface{}) *gomock.Call
GetProphecy indicates an expected call of GetProphecy
type MockAscExecutor ¶
type MockAscExecutor struct {
// contains filtered or unexported fields
}
MockAscExecutor is a mock of AscExecutor interface
func NewMockAscExecutor ¶
func NewMockAscExecutor(ctrl *gomock.Controller) *MockAscExecutor
NewMockAscExecutor creates a new mock instance
func (*MockAscExecutor) EXPECT ¶
func (m *MockAscExecutor) EXPECT() *MockAscExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAscExecutor) GetBlockAndPackages ¶
func (m *MockAscExecutor) GetBlockAndPackages(height int64) (*common.BlockAndPackageLogs, error)
GetBlockAndPackages mocks base method
type MockAscExecutorMockRecorder ¶
type MockAscExecutorMockRecorder struct {
// contains filtered or unexported fields
}
MockAscExecutorMockRecorder is the mock recorder for MockAscExecutor
func (*MockAscExecutorMockRecorder) GetBlockAndPackages ¶
func (mr *MockAscExecutorMockRecorder) GetBlockAndPackages(height interface{}) *gomock.Call
GetBlockAndPackages indicates an expected call of GetBlockAndPackages