mocks

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter struct {
	mock.Mock
}

Filter is an autogenerated mock type for the Filter type

func NewFilter

func NewFilter(t mockConstructorTestingTNewFilter) *Filter

NewFilter creates a new instance of Filter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Filter) Execute

func (_m *Filter) Execute(_a0 reservations.TZReservation) bool

Execute provides a mock function with given fields: _a0

type OutputWriter

type OutputWriter struct {
	mock.Mock
}

OutputWriter is an autogenerated mock type for the OutputWriter type

func NewOutputWriter

func NewOutputWriter(t mockConstructorTestingTNewOutputWriter) *OutputWriter

NewOutputWriter creates a new instance of OutputWriter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*OutputWriter) Write

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

Write provides a mock function with given fields: p

type Reader

type Reader struct {
	mock.Mock
}

Reader is an autogenerated mock type for the Reader type

func NewReader

func NewReader(t mockConstructorTestingTNewReader) *Reader

NewReader creates a new instance of Reader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Reader) Read

func (_m *Reader) Read(_a0 io.Reader) (reservations.TZReservation, error)

Read provides a mock function with given fields: _a0

func (*Reader) ReadAll

func (_m *Reader) ReadAll(_a0 io.Reader) ([]reservations.TZReservation, error)

ReadAll provides a mock function with given fields: _a0

type Writer

type Writer struct {
	mock.Mock
}

Writer is an autogenerated mock type for the Writer type

func NewWriter

func NewWriter(t mockConstructorTestingTNewWriter) *Writer

NewWriter creates a new instance of Writer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Writer) Write

func (_m *Writer) Write(_a0 io.Writer, _a1 reservations.TZReservation) error

Write provides a mock function with given fields: _a0, _a1

func (*Writer) WriteAll

func (_m *Writer) WriteAll(_a0 io.Writer, _a1 []reservations.TZReservation) error

WriteAll provides a mock function with given fields: _a0, _a1

func (*Writer) WriteFilter

func (_m *Writer) WriteFilter(_a0 io.Writer, _a1 []reservations.TZReservation, _a2 reservations.Filter) error

WriteFilter provides a mock function with given fields: _a0, _a1, _a2

Jump to

Keyboard shortcuts

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