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 ¶ added in v0.5.10
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 ¶ added in v0.3.1
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 ¶ added in v0.3.0
func (m *MockRecord) GetOrderedElementList() []entities.InfoElementWithValue
GetOrderedElementList mocks base method.
func (*MockRecord) GetRecordLength ¶ added in v0.5.4
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 ¶ added in v0.5.10
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 ¶ 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) GetRecordLength ¶ added in v0.5.4
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 ¶ 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) AddRecordWithExtraElements ¶ added in v0.5.7
func (m *MockSet) AddRecordWithExtraElements(arg0 []entities.InfoElementWithValue, arg1 int, arg2 uint16) error
AddRecordWithExtraElements 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) GetHeaderBuffer ¶ added in v0.5.4
GetHeaderBuffer 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) GetSetLength ¶ added in v0.5.4
GetSetLength mocks base method.
func (*MockSet) GetSetType ¶ added in v0.3.0
func (m *MockSet) GetSetType() entities.ContentType
GetSetType mocks base method.
func (*MockSet) PrepareSet ¶ added in v0.4.5
func (m *MockSet) PrepareSet(arg0 entities.ContentType, arg1 uint16) error
PrepareSet 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) AddRecordWithExtraElements ¶ added in v0.5.7
func (mr *MockSetMockRecorder) AddRecordWithExtraElements(arg0, arg1, arg2 interface{}) *gomock.Call
AddRecordWithExtraElements indicates an expected call of AddRecordWithExtraElements.
func (*MockSetMockRecorder) GetHeaderBuffer ¶ added in v0.5.4
func (mr *MockSetMockRecorder) GetHeaderBuffer() *gomock.Call
GetHeaderBuffer indicates an expected call of GetHeaderBuffer.
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) GetSetLength ¶ added in v0.5.4
func (mr *MockSetMockRecorder) GetSetLength() *gomock.Call
GetSetLength indicates an expected call of GetSetLength.
func (*MockSetMockRecorder) GetSetType ¶ added in v0.3.0
func (mr *MockSetMockRecorder) GetSetType() *gomock.Call
GetSetType indicates an expected call of GetSetType.
func (*MockSetMockRecorder) PrepareSet ¶ added in v0.4.5
func (mr *MockSetMockRecorder) PrepareSet(arg0, arg1 interface{}) *gomock.Call
PrepareSet indicates an expected call of PrepareSet.
func (*MockSetMockRecorder) ResetSet ¶ added in v0.4.5
func (mr *MockSetMockRecorder) ResetSet() *gomock.Call
ResetSet indicates an expected call of ResetSet.
func (*MockSetMockRecorder) UpdateLenInHeader ¶ added in v0.4.0
func (mr *MockSetMockRecorder) UpdateLenInHeader() *gomock.Call
UpdateLenInHeader indicates an expected call of UpdateLenInHeader.