mocks

package
v1.0.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 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 LimePipesPlugin

type LimePipesPlugin struct {
	mock.Mock
}

LimePipesPlugin is an autogenerated mock type for the LimePipesPlugin type

func NewLimePipesPlugin

func NewLimePipesPlugin(t interface {
	mock.TestingT
	Cleanup(func())
}) *LimePipesPlugin

NewLimePipesPlugin creates a new instance of LimePipesPlugin. 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 (*LimePipesPlugin) EXPECT

func (*LimePipesPlugin) Export

func (_m *LimePipesPlugin) Export(tunes []*tune.Tune) ([]byte, error)

Export provides a mock function with given fields: tunes

func (*LimePipesPlugin) ExportToFile

func (_m *LimePipesPlugin) ExportToFile(tunes []*tune.Tune, filepath string) error

ExportToFile provides a mock function with given fields: tunes, filepath

func (*LimePipesPlugin) Parse

func (_m *LimePipesPlugin) Parse(data []byte) ([]*messages.ParsedTune, error)

Parse provides a mock function with given fields: data

func (*LimePipesPlugin) ParseFromFile

func (_m *LimePipesPlugin) ParseFromFile(filePath string) ([]*messages.ParsedTune, error)

ParseFromFile provides a mock function with given fields: filePath

func (*LimePipesPlugin) PluginInfo

func (_m *LimePipesPlugin) PluginInfo() (*messages.PluginInfoResponse, error)

PluginInfo provides a mock function with given fields:

type LimePipesPlugin_Expecter

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

func (*LimePipesPlugin_Expecter) Export

func (_e *LimePipesPlugin_Expecter) Export(tunes interface{}) *LimePipesPlugin_Export_Call

Export is a helper method to define mock.On call

  • tunes []*tune.Tune

func (*LimePipesPlugin_Expecter) ExportToFile

func (_e *LimePipesPlugin_Expecter) ExportToFile(tunes interface{}, filepath interface{}) *LimePipesPlugin_ExportToFile_Call

ExportToFile is a helper method to define mock.On call

  • tunes []*tune.Tune
  • filepath string

func (*LimePipesPlugin_Expecter) Parse

func (_e *LimePipesPlugin_Expecter) Parse(data interface{}) *LimePipesPlugin_Parse_Call

Parse is a helper method to define mock.On call

  • data []byte

func (*LimePipesPlugin_Expecter) ParseFromFile

func (_e *LimePipesPlugin_Expecter) ParseFromFile(filePath interface{}) *LimePipesPlugin_ParseFromFile_Call

ParseFromFile is a helper method to define mock.On call

  • filePath string

func (*LimePipesPlugin_Expecter) PluginInfo

PluginInfo is a helper method to define mock.On call

type LimePipesPlugin_ExportToFile_Call

type LimePipesPlugin_ExportToFile_Call struct {
	*mock.Call
}

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

func (*LimePipesPlugin_ExportToFile_Call) Return

func (*LimePipesPlugin_ExportToFile_Call) Run

func (*LimePipesPlugin_ExportToFile_Call) RunAndReturn

type LimePipesPlugin_Export_Call

type LimePipesPlugin_Export_Call struct {
	*mock.Call
}

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

func (*LimePipesPlugin_Export_Call) Return

func (*LimePipesPlugin_Export_Call) Run

func (*LimePipesPlugin_Export_Call) RunAndReturn

func (_c *LimePipesPlugin_Export_Call) RunAndReturn(run func([]*tune.Tune) ([]byte, error)) *LimePipesPlugin_Export_Call

type LimePipesPlugin_ParseFromFile_Call

type LimePipesPlugin_ParseFromFile_Call struct {
	*mock.Call
}

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

func (*LimePipesPlugin_ParseFromFile_Call) Return

func (*LimePipesPlugin_ParseFromFile_Call) Run

func (*LimePipesPlugin_ParseFromFile_Call) RunAndReturn

type LimePipesPlugin_Parse_Call

type LimePipesPlugin_Parse_Call struct {
	*mock.Call
}

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

func (*LimePipesPlugin_Parse_Call) Return

func (*LimePipesPlugin_Parse_Call) Run

func (_c *LimePipesPlugin_Parse_Call) Run(run func(data []byte)) *LimePipesPlugin_Parse_Call

func (*LimePipesPlugin_Parse_Call) RunAndReturn

type LimePipesPlugin_PluginInfo_Call

type LimePipesPlugin_PluginInfo_Call struct {
	*mock.Call
}

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

func (*LimePipesPlugin_PluginInfo_Call) Return

func (*LimePipesPlugin_PluginInfo_Call) Run

func (*LimePipesPlugin_PluginInfo_Call) RunAndReturn

Jump to

Keyboard shortcuts

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