Documentation ¶
Overview ¶
Package snowmantest is a generated GoMock package.
Index ¶
- type MockBlock
- func (m *MockBlock) Accept(arg0 context.Context) error
- func (m *MockBlock) Bytes() []byte
- func (m *MockBlock) EXPECT() *MockBlockMockRecorder
- func (m *MockBlock) Height() uint64
- func (m *MockBlock) ID() ids.ID
- func (m *MockBlock) Parent() ids.ID
- func (m *MockBlock) Reject(arg0 context.Context) error
- func (m *MockBlock) Timestamp() time.Time
- func (m *MockBlock) Verify(arg0 context.Context) error
- type MockBlockMockRecorder
- func (mr *MockBlockMockRecorder) Accept(arg0 any) *gomock.Call
- func (mr *MockBlockMockRecorder) Bytes() *gomock.Call
- func (mr *MockBlockMockRecorder) Height() *gomock.Call
- func (mr *MockBlockMockRecorder) ID() *gomock.Call
- func (mr *MockBlockMockRecorder) Parent() *gomock.Call
- func (mr *MockBlockMockRecorder) Reject(arg0 any) *gomock.Call
- func (mr *MockBlockMockRecorder) Timestamp() *gomock.Call
- func (mr *MockBlockMockRecorder) Verify(arg0 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBlock ¶
type MockBlock struct {
// contains filtered or unexported fields
}
MockBlock is a mock of Block interface.
func NewMockBlock ¶
func NewMockBlock(ctrl *gomock.Controller) *MockBlock
NewMockBlock creates a new mock instance.
func (*MockBlock) EXPECT ¶
func (m *MockBlock) EXPECT() *MockBlockMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBlockMockRecorder ¶
type MockBlockMockRecorder struct {
// contains filtered or unexported fields
}
MockBlockMockRecorder is the mock recorder for MockBlock.
func (*MockBlockMockRecorder) Accept ¶
func (mr *MockBlockMockRecorder) Accept(arg0 any) *gomock.Call
Accept indicates an expected call of Accept.
func (*MockBlockMockRecorder) Bytes ¶
func (mr *MockBlockMockRecorder) Bytes() *gomock.Call
Bytes indicates an expected call of Bytes.
func (*MockBlockMockRecorder) Height ¶
func (mr *MockBlockMockRecorder) Height() *gomock.Call
Height indicates an expected call of Height.
func (*MockBlockMockRecorder) ID ¶
func (mr *MockBlockMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.
func (*MockBlockMockRecorder) Parent ¶
func (mr *MockBlockMockRecorder) Parent() *gomock.Call
Parent indicates an expected call of Parent.
func (*MockBlockMockRecorder) Reject ¶
func (mr *MockBlockMockRecorder) Reject(arg0 any) *gomock.Call
Reject indicates an expected call of Reject.
func (*MockBlockMockRecorder) Timestamp ¶
func (mr *MockBlockMockRecorder) Timestamp() *gomock.Call
Timestamp indicates an expected call of Timestamp.
Click to show internal directories.
Click to hide internal directories.