mocks

package
v0.0.0-...-88d6d00 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Port

type Port struct {
	mock.Mock
}

Port is an autogenerated mock type for the Port type

func (*Port) Close

func (_m *Port) Close() error

Close provides a mock function with given fields:

func (*Port) GetModemStatusBits

func (_m *Port) GetModemStatusBits() (*go_bug_stserial.ModemStatusBits, error)

GetModemStatusBits provides a mock function with given fields:

func (*Port) Read

func (_m *Port) Read(p []byte) (int, error)

Read provides a mock function with given fields: p

func (*Port) ResetInputBuffer

func (_m *Port) ResetInputBuffer() error

ResetInputBuffer provides a mock function with given fields:

func (*Port) ResetOutputBuffer

func (_m *Port) ResetOutputBuffer() error

ResetOutputBuffer provides a mock function with given fields:

func (*Port) SetDTR

func (_m *Port) SetDTR(dtr bool) error

SetDTR provides a mock function with given fields: dtr

func (*Port) SetMode

func (_m *Port) SetMode(mode *go_bug_stserial.Mode) error

SetMode provides a mock function with given fields: mode

func (*Port) SetRTS

func (_m *Port) SetRTS(rts bool) error

SetRTS provides a mock function with given fields: rts

func (*Port) SetReadTimeout

func (_m *Port) SetReadTimeout(t time.Duration) error

SetReadTimeout provides a mock function with given fields: t

func (*Port) Write

func (_m *Port) Write(p []byte) (int, error)

Write provides a mock function with given fields: p

Jump to

Keyboard shortcuts

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