Documentation ¶
Overview ¶
Package testing is a generated GoMock package.
Index ¶
- type MockRecord
- func (m *MockRecord) AddInfoElement(arg0 *entities.InfoElement, arg1 interface{}) (uint16, error)
- func (m *MockRecord) EXPECT() *MockRecordMockRecorder
- func (m *MockRecord) GetBuffer() *bytes.Buffer
- func (m *MockRecord) GetFieldCount() uint16
- func (m *MockRecord) GetMinDataRecordLen() uint16
- func (m *MockRecord) GetTemplateElements() []*entities.InfoElement
- func (m *MockRecord) GetTemplateID() uint16
- func (m *MockRecord) PrepareRecord() (uint16, error)
- type MockRecordMockRecorder
- func (mr *MockRecordMockRecorder) AddInfoElement(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRecordMockRecorder) GetBuffer() *gomock.Call
- func (mr *MockRecordMockRecorder) GetFieldCount() *gomock.Call
- func (mr *MockRecordMockRecorder) GetMinDataRecordLen() *gomock.Call
- func (mr *MockRecordMockRecorder) GetTemplateElements() *gomock.Call
- func (mr *MockRecordMockRecorder) GetTemplateID() *gomock.Call
- func (mr *MockRecordMockRecorder) PrepareRecord() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRecord ¶
type MockRecord struct {
// contains filtered or unexported fields
}
MockRecord is a mock of Record interface
func NewMockRecord ¶
func NewMockRecord(ctrl *gomock.Controller) *MockRecord
NewMockRecord creates a new mock instance
func (*MockRecord) AddInfoElement ¶
func (m *MockRecord) AddInfoElement(arg0 *entities.InfoElement, arg1 interface{}) (uint16, error)
AddInfoElement mocks base method
func (*MockRecord) EXPECT ¶
func (m *MockRecord) EXPECT() *MockRecordMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRecord) GetBuffer ¶
func (m *MockRecord) GetBuffer() *bytes.Buffer
GetBuffer mocks base method
func (*MockRecord) GetFieldCount ¶
func (m *MockRecord) GetFieldCount() uint16
GetFieldCount mocks base method
func (*MockRecord) GetMinDataRecordLen ¶
func (m *MockRecord) GetMinDataRecordLen() uint16
GetMinDataRecordLen mocks base method
func (*MockRecord) GetTemplateElements ¶
func (m *MockRecord) GetTemplateElements() []*entities.InfoElement
GetTemplateElements mocks base method
func (*MockRecord) GetTemplateID ¶
func (m *MockRecord) GetTemplateID() uint16
GetTemplateID mocks base method
func (*MockRecord) PrepareRecord ¶
func (m *MockRecord) PrepareRecord() (uint16, error)
PrepareRecord mocks base method
type MockRecordMockRecorder ¶
type MockRecordMockRecorder struct {
// contains filtered or unexported fields
}
MockRecordMockRecorder is the mock recorder for MockRecord
func (*MockRecordMockRecorder) AddInfoElement ¶
func (mr *MockRecordMockRecorder) AddInfoElement(arg0, arg1 interface{}) *gomock.Call
AddInfoElement indicates an expected call of AddInfoElement
func (*MockRecordMockRecorder) GetBuffer ¶
func (mr *MockRecordMockRecorder) GetBuffer() *gomock.Call
GetBuffer indicates an expected call of GetBuffer
func (*MockRecordMockRecorder) GetFieldCount ¶
func (mr *MockRecordMockRecorder) GetFieldCount() *gomock.Call
GetFieldCount indicates an expected call of GetFieldCount
func (*MockRecordMockRecorder) GetMinDataRecordLen ¶
func (mr *MockRecordMockRecorder) GetMinDataRecordLen() *gomock.Call
GetMinDataRecordLen indicates an expected call of GetMinDataRecordLen
func (*MockRecordMockRecorder) GetTemplateElements ¶
func (mr *MockRecordMockRecorder) GetTemplateElements() *gomock.Call
GetTemplateElements indicates an expected call of GetTemplateElements
func (*MockRecordMockRecorder) GetTemplateID ¶
func (mr *MockRecordMockRecorder) GetTemplateID() *gomock.Call
GetTemplateID indicates an expected call of GetTemplateID
func (*MockRecordMockRecorder) PrepareRecord ¶
func (mr *MockRecordMockRecorder) PrepareRecord() *gomock.Call
PrepareRecord indicates an expected call of PrepareRecord