classifier_mocks

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 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 LocalSearch

type LocalSearch struct {
	mock.Mock
}

LocalSearch is an autogenerated mock type for the LocalSearch type

func NewLocalSearch

func NewLocalSearch(t interface {
	mock.TestingT
	Cleanup(func())
}) *LocalSearch

NewLocalSearch creates a new instance of LocalSearch. 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 (*LocalSearch) ContentById

func (_m *LocalSearch) ContentById(_a0 context.Context, _a1 model.ContentRef) (model.Content, error)

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

func (*LocalSearch) ContentBySearch

func (_m *LocalSearch) ContentBySearch(_a0 context.Context, _a1 model.ContentType, _a2 string, _a3 model.Year) (model.Content, error)

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

func (*LocalSearch) EXPECT

func (_m *LocalSearch) EXPECT() *LocalSearch_Expecter

type LocalSearch_ContentById_Call

type LocalSearch_ContentById_Call struct {
	*mock.Call
}

LocalSearch_ContentById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContentById'

func (*LocalSearch_ContentById_Call) Return

func (*LocalSearch_ContentById_Call) Run

func (*LocalSearch_ContentById_Call) RunAndReturn

type LocalSearch_ContentBySearch_Call

type LocalSearch_ContentBySearch_Call struct {
	*mock.Call
}

LocalSearch_ContentBySearch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContentBySearch'

func (*LocalSearch_ContentBySearch_Call) Return

func (*LocalSearch_ContentBySearch_Call) Run

func (*LocalSearch_ContentBySearch_Call) RunAndReturn

type LocalSearch_Expecter

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

func (*LocalSearch_Expecter) ContentById

func (_e *LocalSearch_Expecter) ContentById(_a0 interface{}, _a1 interface{}) *LocalSearch_ContentById_Call

ContentById is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 model.ContentRef

func (*LocalSearch_Expecter) ContentBySearch

func (_e *LocalSearch_Expecter) ContentBySearch(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 interface{}) *LocalSearch_ContentBySearch_Call

ContentBySearch is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 model.ContentType
  • _a2 string
  • _a3 model.Year

Jump to

Keyboard shortcuts

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