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) error
- func (m *MockRecord) EXPECT() *MockRecordMockRecorder
- func (m *MockRecord) GetBuffer() []byte
- func (m *MockRecord) GetElementMap() map[string]interface{}
- func (m *MockRecord) GetFieldCount() uint16
- func (m *MockRecord) GetInfoElementWithValue(arg0 string) (entities.InfoElementWithValue, int, bool)
- func (m *MockRecord) GetMinDataRecordLen() uint16
- func (m *MockRecord) GetOrderedElementList() []entities.InfoElementWithValue
- func (m *MockRecord) GetRecordLength() int
- func (m *MockRecord) GetTemplateID() uint16
- func (m *MockRecord) PrepareRecord() error
- type MockRecordMockRecorder
- func (mr *MockRecordMockRecorder) AddInfoElement(arg0 interface{}) *gomock.Call
- func (mr *MockRecordMockRecorder) GetBuffer() *gomock.Call
- func (mr *MockRecordMockRecorder) GetElementMap() *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) GetRecordLength() *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) AddRecordWithExtraElements(arg0 []entities.InfoElementWithValue, arg1 int, arg2 uint16) error
- func (m *MockSet) EXPECT() *MockSetMockRecorder
- func (m *MockSet) GetHeaderBuffer() []byte
- func (m *MockSet) GetNumberOfRecords() uint32
- func (m *MockSet) GetRecords() []entities.Record
- func (m *MockSet) GetSetLength() int
- func (m *MockSet) GetSetType() entities.ContentType
- func (m *MockSet) PrepareSet(arg0 entities.ContentType, arg1 uint16) error
- func (m *MockSet) ResetSet()
- func (m *MockSet) UpdateLenInHeader()
- type MockSetMockRecorder
- func (mr *MockSetMockRecorder) AddRecord(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSetMockRecorder) AddRecordWithExtraElements(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSetMockRecorder) GetHeaderBuffer() *gomock.Call
- func (mr *MockSetMockRecorder) GetNumberOfRecords() *gomock.Call
- func (mr *MockSetMockRecorder) GetRecords() *gomock.Call
- func (mr *MockSetMockRecorder) GetSetLength() *gomock.Call
- func (mr *MockSetMockRecorder) GetSetType() *gomock.Call
- func (mr *MockSetMockRecorder) PrepareSet(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSetMockRecorder) ResetSet() *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) 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) GetElementMap ¶
func (m *MockRecord) GetElementMap() map[string]interface{}
GetElementMap mocks base method
func (*MockRecord) GetFieldCount ¶
func (m *MockRecord) GetFieldCount() uint16
GetFieldCount mocks base method
func (*MockRecord) GetInfoElementWithValue ¶
func (m *MockRecord) GetInfoElementWithValue(arg0 string) (entities.InfoElementWithValue, int, bool)
GetInfoElementWithValue mocks base method
func (*MockRecord) GetMinDataRecordLen ¶
func (m *MockRecord) GetMinDataRecordLen() uint16
GetMinDataRecordLen mocks base method
func (*MockRecord) GetOrderedElementList ¶
func (m *MockRecord) GetOrderedElementList() []entities.InfoElementWithValue
GetOrderedElementList mocks base method
func (*MockRecord) GetRecordLength ¶
func (m *MockRecord) GetRecordLength() int
GetRecordLength mocks base method
func (*MockRecord) GetTemplateID ¶
func (m *MockRecord) GetTemplateID() uint16
GetTemplateID mocks base method
func (*MockRecord) PrepareRecord ¶
func (m *MockRecord) PrepareRecord() 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 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) GetElementMap ¶
func (mr *MockRecordMockRecorder) GetElementMap() *gomock.Call
GetElementMap indicates an expected call of GetElementMap
func (*MockRecordMockRecorder) GetFieldCount ¶
func (mr *MockRecordMockRecorder) GetFieldCount() *gomock.Call
GetFieldCount indicates an expected call of GetFieldCount
func (*MockRecordMockRecorder) GetInfoElementWithValue ¶
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 ¶
func (mr *MockRecordMockRecorder) GetOrderedElementList() *gomock.Call
GetOrderedElementList indicates an expected call of GetOrderedElementList
func (*MockRecordMockRecorder) GetRecordLength ¶
func (mr *MockRecordMockRecorder) GetRecordLength() *gomock.Call
GetRecordLength indicates an expected call of GetRecordLength
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 ¶
type MockSet struct {
// contains filtered or unexported fields
}
MockSet is a mock of Set interface
func NewMockSet ¶
func NewMockSet(ctrl *gomock.Controller) *MockSet
NewMockSet creates a new mock instance
func (*MockSet) AddRecord ¶
func (m *MockSet) AddRecord(arg0 []entities.InfoElementWithValue, arg1 uint16) error
AddRecord mocks base method
func (*MockSet) AddRecordWithExtraElements ¶
func (m *MockSet) AddRecordWithExtraElements(arg0 []entities.InfoElementWithValue, arg1 int, arg2 uint16) error
AddRecordWithExtraElements mocks base method
func (*MockSet) EXPECT ¶
func (m *MockSet) EXPECT() *MockSetMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSet) GetHeaderBuffer ¶
GetHeaderBuffer mocks base method
func (*MockSet) GetNumberOfRecords ¶
GetNumberOfRecords mocks base method
func (*MockSet) GetRecords ¶
GetRecords mocks base method
func (*MockSet) GetSetType ¶
func (m *MockSet) GetSetType() entities.ContentType
GetSetType mocks base method
func (*MockSet) PrepareSet ¶
func (m *MockSet) PrepareSet(arg0 entities.ContentType, arg1 uint16) error
PrepareSet mocks base method
func (*MockSet) UpdateLenInHeader ¶
func (m *MockSet) UpdateLenInHeader()
UpdateLenInHeader mocks base method
type MockSetMockRecorder ¶
type MockSetMockRecorder struct {
// contains filtered or unexported fields
}
MockSetMockRecorder is the mock recorder for MockSet
func (*MockSetMockRecorder) AddRecord ¶
func (mr *MockSetMockRecorder) AddRecord(arg0, arg1 interface{}) *gomock.Call
AddRecord indicates an expected call of AddRecord
func (*MockSetMockRecorder) AddRecordWithExtraElements ¶
func (mr *MockSetMockRecorder) AddRecordWithExtraElements(arg0, arg1, arg2 interface{}) *gomock.Call
AddRecordWithExtraElements indicates an expected call of AddRecordWithExtraElements
func (*MockSetMockRecorder) GetHeaderBuffer ¶
func (mr *MockSetMockRecorder) GetHeaderBuffer() *gomock.Call
GetHeaderBuffer indicates an expected call of GetHeaderBuffer
func (*MockSetMockRecorder) GetNumberOfRecords ¶
func (mr *MockSetMockRecorder) GetNumberOfRecords() *gomock.Call
GetNumberOfRecords indicates an expected call of GetNumberOfRecords
func (*MockSetMockRecorder) GetRecords ¶
func (mr *MockSetMockRecorder) GetRecords() *gomock.Call
GetRecords indicates an expected call of GetRecords
func (*MockSetMockRecorder) GetSetLength ¶
func (mr *MockSetMockRecorder) GetSetLength() *gomock.Call
GetSetLength indicates an expected call of GetSetLength
func (*MockSetMockRecorder) GetSetType ¶
func (mr *MockSetMockRecorder) GetSetType() *gomock.Call
GetSetType indicates an expected call of GetSetType
func (*MockSetMockRecorder) PrepareSet ¶
func (mr *MockSetMockRecorder) PrepareSet(arg0, arg1 interface{}) *gomock.Call
PrepareSet indicates an expected call of PrepareSet
func (*MockSetMockRecorder) ResetSet ¶
func (mr *MockSetMockRecorder) ResetSet() *gomock.Call
ResetSet indicates an expected call of ResetSet
func (*MockSetMockRecorder) UpdateLenInHeader ¶
func (mr *MockSetMockRecorder) UpdateLenInHeader() *gomock.Call
UpdateLenInHeader indicates an expected call of UpdateLenInHeader