mocks

package
v0.1.29 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 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 FilterOptions added in v0.1.24

type FilterOptions struct {
	mock.Mock
}

FilterOptions is an autogenerated mock type for the FilterOptions type

func NewFilterOptions added in v0.1.24

func NewFilterOptions(t interface {
	mock.TestingT
	Cleanup(func())
}) *FilterOptions

NewFilterOptions creates a new instance of FilterOptions. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*FilterOptions) Execute added in v0.1.24

func (_m *FilterOptions) Execute(_a0 *solutions.Filter)

Execute provides a mock function with given fields: _a0

type SolutionServiceClient added in v0.1.26

type SolutionServiceClient struct {
	mock.Mock
}

SolutionServiceClient is an autogenerated mock type for the SolutionServiceClient type

func NewSolutionServiceClient added in v0.1.26

func NewSolutionServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *SolutionServiceClient

NewSolutionServiceClient creates a new instance of SolutionServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SolutionServiceClient) Get added in v0.1.26

Get provides a mock function with given fields: id

func (*SolutionServiceClient) GetAll added in v0.1.26

GetAll provides a mock function with given fields: f

type SolutionWriter added in v0.1.26

type SolutionWriter struct {
	mock.Mock
}

SolutionWriter is an autogenerated mock type for the SolutionWriter type

func NewSolutionWriter added in v0.1.26

func NewSolutionWriter(t interface {
	mock.TestingT
	Cleanup(func())
}) *SolutionWriter

NewSolutionWriter creates a new instance of SolutionWriter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SolutionWriter) Write added in v0.1.26

func (_m *SolutionWriter) Write(w io.Writer, s *solutions.Solution) error

Write provides a mock function with given fields: w, s

func (*SolutionWriter) WriteMany added in v0.1.26

func (_m *SolutionWriter) WriteMany(w io.Writer, ss []solutions.Solution) error

WriteMany provides a mock function with given fields: w, ss

Jump to

Keyboard shortcuts

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