testing

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2020 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

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.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

Jump to

Keyboard shortcuts

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