Documentation ¶
Overview ¶
Package testing is a generated GoMock package.
Package testing is a generated GoMock package.
Index ¶
- type MockRecord
- func (m *MockRecord) AddInfoElement(arg0 *entities.InfoElementWithValue, arg1 bool) (uint16, error)
- func (m *MockRecord) EXPECT() *MockRecordMockRecorder
- func (m *MockRecord) GetBuffer() *bytes.Buffer
- func (m *MockRecord) GetFieldCount() uint16
- func (m *MockRecord) GetInfoElementWithValue(arg0 string) (*entities.InfoElementWithValue, bool)
- func (m *MockRecord) GetMinDataRecordLen() uint16
- func (m *MockRecord) GetOrderedElementList() []*entities.InfoElementWithValue
- 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) GetInfoElementWithValue(arg0 interface{}) *gomock.Call
- func (mr *MockRecordMockRecorder) GetMinDataRecordLen() *gomock.Call
- func (mr *MockRecordMockRecorder) GetOrderedElementList() *gomock.Call
- func (mr *MockRecordMockRecorder) GetTemplateID() *gomock.Call
- func (mr *MockRecordMockRecorder) PrepareRecord() *gomock.Call
- type MockSet
- func (m *MockSet) AddRecord(arg0 []*entities.InfoElementWithValue, arg1 uint16) error
- func (m *MockSet) EXPECT() *MockSetMockRecorder
- func (m *MockSet) GetBuffLen() int
- func (m *MockSet) GetBuffer() *bytes.Buffer
- func (m *MockSet) GetNumberOfRecords() uint32
- func (m *MockSet) GetRecords() []entities.Record
- func (m *MockSet) GetSetType() entities.ContentType
- func (m *MockSet) UpdateLenInHeader()
- type MockSetMockRecorder
- func (mr *MockSetMockRecorder) AddRecord(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSetMockRecorder) GetBuffLen() *gomock.Call
- func (mr *MockSetMockRecorder) GetBuffer() *gomock.Call
- func (mr *MockSetMockRecorder) GetNumberOfRecords() *gomock.Call
- func (mr *MockSetMockRecorder) GetRecords() *gomock.Call
- func (mr *MockSetMockRecorder) GetSetType() *gomock.Call
- func (mr *MockSetMockRecorder) UpdateLenInHeader() *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.InfoElementWithValue, arg1 bool) (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) GetInfoElementWithValue ¶ added in v0.3.1
func (m *MockRecord) GetInfoElementWithValue(arg0 string) (*entities.InfoElementWithValue, bool)
GetInfoElementWithValue mocks base method
func (*MockRecord) GetMinDataRecordLen ¶
func (m *MockRecord) GetMinDataRecordLen() uint16
GetMinDataRecordLen mocks base method
func (*MockRecord) GetOrderedElementList ¶ added in v0.3.0
func (m *MockRecord) GetOrderedElementList() []*entities.InfoElementWithValue
GetOrderedElementList 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) GetInfoElementWithValue ¶ added in v0.3.1
func (mr *MockRecordMockRecorder) GetInfoElementWithValue(arg0 interface{}) *gomock.Call
GetInfoElementWithValue indicates an expected call of GetInfoElementWithValue
func (*MockRecordMockRecorder) GetMinDataRecordLen ¶
func (mr *MockRecordMockRecorder) GetMinDataRecordLen() *gomock.Call
GetMinDataRecordLen indicates an expected call of GetMinDataRecordLen
func (*MockRecordMockRecorder) GetOrderedElementList ¶ added in v0.3.0
func (mr *MockRecordMockRecorder) GetOrderedElementList() *gomock.Call
GetOrderedElementList indicates an expected call of GetOrderedElementList
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
type MockSet ¶ added in v0.3.0
type MockSet struct {
// contains filtered or unexported fields
}
MockSet is a mock of Set interface
func NewMockSet ¶ added in v0.3.0
func NewMockSet(ctrl *gomock.Controller) *MockSet
NewMockSet creates a new mock instance
func (*MockSet) AddRecord ¶ added in v0.3.0
func (m *MockSet) AddRecord(arg0 []*entities.InfoElementWithValue, arg1 uint16) error
AddRecord mocks base method
func (*MockSet) EXPECT ¶ added in v0.3.0
func (m *MockSet) EXPECT() *MockSetMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSet) GetBuffLen ¶ added in v0.3.0
GetBuffLen mocks base method
func (*MockSet) GetNumberOfRecords ¶ added in v0.3.0
GetNumberOfRecords mocks base method
func (*MockSet) GetRecords ¶ added in v0.3.0
GetRecords mocks base method
func (*MockSet) GetSetType ¶ added in v0.3.0
func (m *MockSet) GetSetType() entities.ContentType
GetSetType mocks base method
func (*MockSet) UpdateLenInHeader ¶ added in v0.4.0
func (m *MockSet) UpdateLenInHeader()
UpdateLenInHeader mocks base method
type MockSetMockRecorder ¶ added in v0.3.0
type MockSetMockRecorder struct {
// contains filtered or unexported fields
}
MockSetMockRecorder is the mock recorder for MockSet
func (*MockSetMockRecorder) AddRecord ¶ added in v0.3.0
func (mr *MockSetMockRecorder) AddRecord(arg0, arg1 interface{}) *gomock.Call
AddRecord indicates an expected call of AddRecord
func (*MockSetMockRecorder) GetBuffLen ¶ added in v0.3.0
func (mr *MockSetMockRecorder) GetBuffLen() *gomock.Call
GetBuffLen indicates an expected call of GetBuffLen
func (*MockSetMockRecorder) GetBuffer ¶ added in v0.3.0
func (mr *MockSetMockRecorder) GetBuffer() *gomock.Call
GetBuffer indicates an expected call of GetBuffer
func (*MockSetMockRecorder) GetNumberOfRecords ¶ added in v0.3.0
func (mr *MockSetMockRecorder) GetNumberOfRecords() *gomock.Call
GetNumberOfRecords indicates an expected call of GetNumberOfRecords
func (*MockSetMockRecorder) GetRecords ¶ added in v0.3.0
func (mr *MockSetMockRecorder) GetRecords() *gomock.Call
GetRecords indicates an expected call of GetRecords
func (*MockSetMockRecorder) GetSetType ¶ added in v0.3.0
func (mr *MockSetMockRecorder) GetSetType() *gomock.Call
GetSetType indicates an expected call of GetSetType
func (*MockSetMockRecorder) UpdateLenInHeader ¶ added in v0.4.0
func (mr *MockSetMockRecorder) UpdateLenInHeader() *gomock.Call
UpdateLenInHeader indicates an expected call of UpdateLenInHeader