mockeyebert

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mockeyebert is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBERTDriver

type MockBERTDriver struct {
	// contains filtered or unexported fields
}

MockBERTDriver is a mock of BERTDriver interface.

func NewMockBERTDriver

func NewMockBERTDriver(ctrl *gomock.Controller) *MockBERTDriver

NewMockBERTDriver creates a new mock instance.

func (*MockBERTDriver) Close

func (m *MockBERTDriver) Close() error

Close mocks base method.

func (*MockBERTDriver) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBERTDriver) GetSFPinfo

func (m *MockBERTDriver) GetSFPinfo() (eyebert.SFPData, error)

GetSFPinfo mocks base method.

func (*MockBERTDriver) GetStats

func (m *MockBERTDriver) GetStats() (eyebert.BERStats, error)

GetStats mocks base method.

func (*MockBERTDriver) GetTesterInfo

func (m *MockBERTDriver) GetTesterInfo() (eyebert.BERTester, error)

GetTesterInfo mocks base method.

func (*MockBERTDriver) ResetStats

func (m *MockBERTDriver) ResetStats() error

ResetStats mocks base method.

func (*MockBERTDriver) SetDataRate

func (m *MockBERTDriver) SetDataRate(arg0 float32) error

SetDataRate mocks base method.

func (*MockBERTDriver) SetPattern

func (m *MockBERTDriver) SetPattern(arg0 eyebert.Pattern) error

SetPattern mocks base method.

func (*MockBERTDriver) SetSFPtxEnable

func (m *MockBERTDriver) SetSFPtxEnable(arg0 bool) error

SetSFPtxEnable mocks base method.

func (*MockBERTDriver) SetWaveLength

func (m *MockBERTDriver) SetWaveLength(arg0 float32) error

SetWaveLength mocks base method.

func (*MockBERTDriver) StartTest

func (m *MockBERTDriver) StartTest() error

StartTest mocks base method.

func (*MockBERTDriver) StopTest

func (m *MockBERTDriver) StopTest() error

StopTest mocks base method.

type MockBERTDriverMockRecorder

type MockBERTDriverMockRecorder struct {
	// contains filtered or unexported fields
}

MockBERTDriverMockRecorder is the mock recorder for MockBERTDriver.

func (*MockBERTDriverMockRecorder) Close

func (mr *MockBERTDriverMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockBERTDriverMockRecorder) GetSFPinfo

func (mr *MockBERTDriverMockRecorder) GetSFPinfo() *gomock.Call

GetSFPinfo indicates an expected call of GetSFPinfo.

func (*MockBERTDriverMockRecorder) GetStats

func (mr *MockBERTDriverMockRecorder) GetStats() *gomock.Call

GetStats indicates an expected call of GetStats.

func (*MockBERTDriverMockRecorder) GetTesterInfo

func (mr *MockBERTDriverMockRecorder) GetTesterInfo() *gomock.Call

GetTesterInfo indicates an expected call of GetTesterInfo.

func (*MockBERTDriverMockRecorder) ResetStats

func (mr *MockBERTDriverMockRecorder) ResetStats() *gomock.Call

ResetStats indicates an expected call of ResetStats.

func (*MockBERTDriverMockRecorder) SetDataRate

func (mr *MockBERTDriverMockRecorder) SetDataRate(arg0 interface{}) *gomock.Call

SetDataRate indicates an expected call of SetDataRate.

func (*MockBERTDriverMockRecorder) SetPattern

func (mr *MockBERTDriverMockRecorder) SetPattern(arg0 interface{}) *gomock.Call

SetPattern indicates an expected call of SetPattern.

func (*MockBERTDriverMockRecorder) SetSFPtxEnable

func (mr *MockBERTDriverMockRecorder) SetSFPtxEnable(arg0 interface{}) *gomock.Call

SetSFPtxEnable indicates an expected call of SetSFPtxEnable.

func (*MockBERTDriverMockRecorder) SetWaveLength

func (mr *MockBERTDriverMockRecorder) SetWaveLength(arg0 interface{}) *gomock.Call

SetWaveLength indicates an expected call of SetWaveLength.

func (*MockBERTDriverMockRecorder) StartTest

func (mr *MockBERTDriverMockRecorder) StartTest() *gomock.Call

StartTest indicates an expected call of StartTest.

func (*MockBERTDriverMockRecorder) StopTest

func (mr *MockBERTDriverMockRecorder) StopTest() *gomock.Call

StopTest indicates an expected call of StopTest.

type MockSerial

type MockSerial struct {
	// contains filtered or unexported fields
}

MockSerial is a mock of Serial interface.

func NewMockSerial

func NewMockSerial(ctrl *gomock.Controller) *MockSerial

NewMockSerial creates a new mock instance.

func (*MockSerial) Close

func (m *MockSerial) Close() error

Close mocks base method.

func (*MockSerial) EXPECT

func (m *MockSerial) EXPECT() *MockSerialMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSerial) Flush

func (m *MockSerial) Flush() error

Flush mocks base method.

func (*MockSerial) Read

func (m *MockSerial) Read(arg0 []byte) (int, error)

Read mocks base method.

func (*MockSerial) Write

func (m *MockSerial) Write(arg0 []byte) (int, error)

Write mocks base method.

type MockSerialMockRecorder

type MockSerialMockRecorder struct {
	// contains filtered or unexported fields
}

MockSerialMockRecorder is the mock recorder for MockSerial.

func (*MockSerialMockRecorder) Close

func (mr *MockSerialMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockSerialMockRecorder) Flush

func (mr *MockSerialMockRecorder) Flush() *gomock.Call

Flush indicates an expected call of Flush.

func (*MockSerialMockRecorder) Read

func (mr *MockSerialMockRecorder) Read(arg0 interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockSerialMockRecorder) Write

func (mr *MockSerialMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write.

Jump to

Keyboard shortcuts

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