testing

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2021 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

Package testing is a generated GoMock package.

Package testing is a generated GoMock package.

Index

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) GetBuffer added in v0.3.0

func (m *MockSet) GetBuffer() *bytes.Buffer

GetBuffer mocks base method

func (*MockSet) GetNumberOfRecords added in v0.3.0

func (m *MockSet) GetNumberOfRecords() uint32

GetNumberOfRecords mocks base method

func (*MockSet) GetRecords added in v0.3.0

func (m *MockSet) GetRecords() []entities.Record

GetRecords 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) ResetSet added in v0.4.5

func (m *MockSet) ResetSet()

ResetSet 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) 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) 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL